I had one drive with Windows 8.1
, Ubuntu 15.10
and Ubuntu 14.04
. The windows was installed on different partition.
Then, I connect в SSD
drive and install Windows 10
and format the Windows 8.1
partition. I have в USB
with Ubuntu
installation.
Could anyone tell what should I do in order to get the grub меню back and be able to choose which operating system to start?
Основная процедура, которую я лично использовал бы
1 Начальная загрузка Ubuntu Живой CD.
2 Ctrl-Alt-F1
3 sudo mount /dev/sda1 /mnt
4 sudo mount --bind /dev /mnt/dev
5 sudo mount --bind /proc /mnt/proc
6 sudo mount --bind /sys /mnt/sys
7 sudo chroot /mnt
8 sudo grub-install /dev/sda1
Нажмите Ctrl-Alt-F1 затем, необходимо войти в систему как корень. Введите нано fix.sh и войдите
sudo mount /dev/sda1 /mnt1
sudo mount --bind /dev /mnt1/dev
sudo mount --bind /proc /mnt1/proc
sudo mount --bind /sys /mnt1/sys
sudo chroot /mnt1
sudo grub-install /dev/sda1
, Затем сохраняют его и тип sh fix.sh