I'm using Lubuntu with WinXP in dual boot for several weeks. Today I've ran update and GRUB now does not show WinXP menu entry in GRUB.
sudo update-grub didn't found Windows.
/boot/grub/menu.lst - no such file.
I'm using Lubuntu with WinXP in dual boot for several weeks. Today I've ran update and GRUB now does not show WinXP menu entry in GRUB.
sudo update-grub didn't found Windows.
/boot/grub/menu.lst - no such file.
This site should give you everything you need.
Btw, if you are on Ubuntu 10.04 or 10.10 you won't see a /boot/grub/menu.lst, because that's not what grub uses anymore.
For Lubuntu 10.10, you need to install os-prober with
sudo apt-get install os-prober
and then update grub again with
sudo update-grub
Try to add
menuentry "Windows XP " { set root='(hdX,X)' chainloader +1 }
in boot/grub/grub.cfg to section
(hdX,X) - drive with windows xp
SAMPLE:
`### BEGIN /etc/grub.d/40_custom ###
menuentry "Windows XP " {
set root='(hdX,X)'
chainloader +1
}
Maybe help to You :) Look for 13 post
UPD1: Full Illustrated Guide for grub2
UPD2:
grub.cfg
will only work until the next kernel update (or update of anything else that causes update-grub
to be run), because update-grub
will overwrite that file based on its configuration files & scripts. One of these scripts runs os-prober
and should find WinXP, if not StalkerNOVA needs to find out why (see João's question).