StalkerNOVA Asked: 2010-11-08 05:02:10 +0800 CST2010-11-08 05:02:10 +0800 CST 2010-11-08 05:02:10 +0800 CST How to restore Windows XP menu entry in GRUB? 772 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. grub2 dual-boot 3 Answers Voted RolandiXor 2010-11-08T05:10:18+08:002010-11-08T05:10:18+08:00 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. Best Answer Virasak 2010-11-09T08:25:46+08:002010-11-09T08:25:46+08:00 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 litvin05 2010-11-08T11:47:31+08:002010-11-08T11:47:31+08:00 Try to add menuentry "Windows XP " { set root='(hdX,X)' chainloader +1 } in boot/grub/grub.cfg to section BEGIN /etc/grub.d/40_custom END /etc/grub.d/40_custom (hdX,X) - drive with windows xp SAMPLE: `### BEGIN /etc/grub.d/40_custom ### menuentry "Windows XP " { set root='(hdX,X)' chainloader +1 } END /etc/grub.d/40_custom ###` Maybe help to You :) Look for 13 post UPD1: Full Illustrated Guide for grub2 UPD2: UPD3: Some configs for grub.cfg
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
and then update grub again with
Try to add
menuentry "Windows XP " { set root='(hdX,X)' chainloader +1 }
in boot/grub/grub.cfg to section
BEGIN /etc/grub.d/40_custom
END /etc/grub.d/40_custom
(hdX,X) - drive with windows xp
SAMPLE:
`### BEGIN /etc/grub.d/40_custom ###
menuentry "Windows XP " {
set root='(hdX,X)'
chainloader +1
}
END /etc/grub.d/40_custom ###`
Maybe help to You :) Look for 13 post
UPD1: Full Illustrated Guide for grub2
UPD2:
UPD3: Some configs for grub.cfg