Debian grub2 update removed Windows boot option.

Posted by Wrikken on Super User See other posts from Super User or by Wrikken
Published on 2010-09-28T14:10:32Z Indexed on 2011/01/03 4:55 UTC
Read the original article Hit count: 229

Filed under:
|
|
|

Since I updated grub to grub 2 I no longer get the option to boot to Windows (which is unfortunately sometimes necessary for proprietary MSIE browser plugins I need to use for work).

Relevant /boot/grub/menu.lst portion:

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title           Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title           Windows NT/2000/XP
root            (hd0,0)
savedefault
makeactive
chainloader     +1

This however does not appear anymore. I do have some entries in /boot/grub/grub.cfg with entries like these:

menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64' --class debian --class gnu-linux --class gnu --class os {
        insmod part_msdos
        insmod ext2
        set root='(hd1,msdos1)'
        search --no-floppy --fs-uuid --set e638c434-4884-412f-a141-2c194f881fae
        echo    'Loading Linux 2.6.32-5-amd64 ...'
        linux   /boot/vmlinuz-2.6.32-5-amd64 root=UUID=e638c434-4884-412f-a141-2c194f881fae ro  quiet
        echo    'Loading initial ramdisk ...'
        initrd  /boot/initrd.img-2.6.32-5-amd64
}

Do I have to alter that file? If so, what is the correct syntax for a Windows boot? If not, what could be the problem?

© Super User or respective owner

Related posts about windows-xp

Related posts about debian