On Tue, 16 Aug 2011 12:46:46 -0500 Mike McCarty <mike.mcca...@sbcglobal.net> wrote: > Andrew Benton wrote: > > You don't need to reinstall grub. If it's working Ok and you can boot > > into LFS then just edit grub.cfg to make an entry for windows, > > something like this: > > > > menuentry "Windows" { > > set root=(hd0,1) > > chainloader +1 > > } > > Back when I was making a dual boot system, this didn't work > for me. I had a machine which "wanted" the Windows Boot Manager > to be in control of boot. Fortunately, the Windows Boot Manager > is actually a reasonable piece of software, and I was able to > configure it to load GRUB for me. > > What you suggest may work in most circumstances, and it's the > solution I usually see, but it is not a universal solution.
I didn't suggest it was a universal solution. Windows XP likes to be on the first partition of the first disk. On this computer I've set the BIOS with my linux disk as the first disk and Windows XP on the second disk. So to make windows think it's on the first disk I have to make grub lie to it ans tell windows that it's on the first disk so the windows entry in my grub.cfg looks like this: menuentry "Windows XP" { set root=(hd1,1) drivemap -s (hd0) ${root} chainloader +1 } However the original poster said he was using windows 7 which can be installed on any partition which is why I didn't put this in my original reply. Andy -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page