## (1) Windows XP in /dev/sda1
menuentry "Windows XP" {
set root=(hd0,1)
chainloader +1
}
Here are few tips how to set root in the grub.cfg
# DEVICE NAME CONVERSIONS
#
# Linux Grub
# -------------------------
# /dev/fd0 (fd0)
# /dev/sda (hd0)
# /dev/sdb2 (hd1,2)
# /dev/sda3 (hd0,3)
#
2 comments:
thanks man it helps!!..
really appreciate
RL
I believe the name conversions depend on exactly which version of Grub you use. For instance, my system (Grub 1.98 on Squeeze) uses (hd0,msdos1) as the first partition on my single hard drive. Also, consider placing your code in the /etc/grub.d/40_custom file.
Keith Ostertag
Post a Comment