4
1
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?
update-grub2
indeed creates a new configutaion file,/etc/grub.d/30_os-orober
is there, but elas, no Windows entry as of yet, so it seems it cannot detect it for some reason. Could it be a hd is blacklisted somewhere? (/grasping at straws). – Wrikken – 2010-09-28T15:23:13.463I don't know if there cold be a blacklisted hd. I'm still not really experienced with grub2. What output do you get from "sudo os-prober"? – None – 2010-09-28T16:04:02.113
Aha, that was it, although I had a
/etc/grub.d/30_os-prober
, it depended on the (quite obviously named)os-prober
executable which wasn't on the system (and for some reason grub fails to provide even a simple error report about that). A simple install of that package and rerunningupdate-grub2
did the trick, it's ingrub.cfg
now, my thanks! – Wrikken – 2010-09-28T16:55:13.720