У меня есть ноутбук с Debian 7 , Windows 7 и Ubuntu 13.04 . Я решил обновить до Ubuntu 13.10 и заново установить раздел Ubuntu .
После переустановки Windows 7 исчезла из меню grub. Я загрузил машину с live cd и начал boot-repair .
Восстановление загрузки , похоже, идентифицировало скважину установленной ОС , включая раздел Windows :
...
sda5: __________________________________________________________________________
File system: ext4
Boot sector type: Grub2 (v1.99-2.00)
Boot sector info: Grub2 (v1.99-2.00) is installed in the boot sector of
sda5 and looks at sector 817082808 of the same hard
drive for core.img, but core.img can not be found at
this location.
Operating System: Ubuntu 13.10
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/grub/i386-pc/core.img
...
И установка прошла хорошо без ошибки:
grub-install (GRUB) 2.00-19ubuntu2.1,grub-install (GRUB) 2.
Reinstall the GRUB of sda5 into the MBR of sda
Installation finished. No error reported.
grub-install /dev/sda: exit code of grub-install /dev/sda:0
chroot /mnt/boot-sav/sda5 update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.11.0-15-generic
Found initrd image: /boot/initrd.img-3.11.0-15-generic
Found linux image: /boot/vmlinuz-3.11.0-12-generic
Found initrd image: /boot/initrd.img-3.11.0-12-generic
Found Debian GNU/Linux (7.0) on /dev/sda6
Unhide GRUB boot menu in sda5/boot/grub/grub.cfg
Boot successfully repaired.
You can now reboot your computer.
Полный отчет доступен здесь .
Тем не менее, после перезагрузки я вижу только записи Ubuntu и Debian в grub, без раздела Windows 7 :
]
Есть идеи, что случилось с попыткой исправить загрузку?
Как ни странно, update-grub
добились цели:
$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.11.0-15-generic
Found initrd image: /boot/initrd.img-3.11.0-15-generic
Found linux image: /boot/vmlinuz-3.11.0-12-generic
Found initrd image: /boot/initrd.img-3.11.0-12-generic
Found Windows 8 (loader) on /dev/sda1
Found Windows 8 (loader) on /dev/sda2
Found Windows Recovery Environment (loader) on /dev/sda4
Found Debian GNU/Linux (7.0) on /dev/sda6
done
Вы можете попробовать использовать диск SuperGRUB2 для вашей проблемы.