I duel boot Ubuntu 14.04 and Windows 7 (Windows being installed first) and a couple days ago I jumped on to Ubuntu to check for updates and after it updated, I found that the Windows option had disappeared from the Grub menu.
I have been searching around for way to fix this problem, but none of them seem to work.
I have tried
sudo update-grub
and get this
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.13.0-37-generic
Found initrd image: /boot/initrd.img-3.13.0-37-generic
Found linux image: /boot/vmlinuz-3.13.0-35-generic
Found initrd image: /boot/initrd.img-3.13.0-35-generic
Found linux image: /boot/vmlinuz-3.11.0-26-generic
Found initrd image: /boot/initrd.img-3.11.0-26-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
done
It doesn't have windows in the line up, but when I do
fgrep menuentry /boot/grub/grub.cfg
I get
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
menuentry_id_option=""
export menuentry_id_option
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os
$menuentry_id_option 'gnulinux-simple-6094ed1b-2cb2-4c43-b57c-2809c008ed9c' {
submenu 'Advanced options for Ubuntu' $menuentry_id_option 'gnulinux-advanced-6094ed1b-2cb2-4c43-b57c-2809c008ed9c' {
menuentry 'Ubuntu, with Linux 3.13.0-37-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-37-generic-advanced-6094ed1b-2cb2-4c43-b57c-2809c008ed9c' {
menuentry 'Ubuntu, with Linux 3.13.0-37-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-37-generic-recovery-6094ed1b-2cb2-4c43-b57c-2809c008ed9c' {
menuentry 'Ubuntu, with Linux 3.13.0-35-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-35-generic-advanced-6094ed1b-2cb2-4c43-b57c-2809c008ed9c' {
menuentry 'Ubuntu, with Linux 3.13.0-35-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.13.0-35-generic-recovery-6094ed1b-2cb2-4c43-b57c-2809c008ed9c' {
menuentry 'Ubuntu, with Linux 3.11.0-26-generic' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-26-generic-advanced-6094ed1b-2cb2-4c43-b57c-2809c008ed9c' {
menuentry 'Ubuntu, with Linux 3.11.0-26-generic (recovery mode)' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.11.0-26-generic-recovery-6094ed1b-2cb2-4c43-b57c-2809c008ed9c' {
menuentry 'Memory test (memtest86+)' {
menuentry 'Memory test (memtest86+, serial console 115200)' {
menuentry 'Windows 7' {
I see that Windows 7 is there, but it seems like there should be more after it's name, like a location.
I've even tried Boot-repair, but when I run it, it only has one button that saves a log of my boot stuff to a link (http://paste.ubuntu.com/8580395/)
I moved the Windows 7 boot to the top of the Grub menu with "Grub Customizer" and when I went to my Grub menu Windows 7 was there, but when I clicked it is read "Error: No Such Partition"
I'm not that versed in really technical computer stuff, but I know enough to follow your directions. I hope someone can provide a answer that fixes my issue, and that I have provided enough information.
/dev/sda2
if so running the commandsudo os-prober
should result in output like /dev/sda2:Windows 7 (loader):Windows:chain – Elder Geek Oct 17 '14 at 21:01It didn't show anything.
$
– Krowzer Oct 17 '14 at 21:10sudo update-grub
... back later – Elder Geek Oct 17 '14 at 21:22