> Peter B. Steiger <[EMAIL PROTECTED]> wrote: > > I bought new hardware and I'm using the new hard drive as the target > for a > new LFS. Until the new system is bootable, the drives are configured > like > this: > > hda1 /boot > hda2 /fat32 (Win98 install) > hda5 swap > hda6 / > hda7 /var > > hdb1 /boot (currently mounted as /lfs/boot) > hdb2 /fat32 (Win98SE install) > hdb3 swap > hdb5 / (currently mounted as /lfs) > hdb6 /var (currently mounted as /lfs/var) > > I created a menu.1st file that looks like this:
As already mentioned :lowercase L > default 0 > timeout 30 > color green/black light-green/black > > title LFS > root (hd0,0) -- because /boot is on hda1 > kernel /boot/lfskernel-2.6.11 root=/dev/hda1 kernel /lfskernel-2.6.11 root=/dev/hda5 Grub won't see the /boot mount point so the kernel should be in the 'root' of hda1 (unless the kernel is in /boot/boot). The root parameter for the kernel is your LFS root, not the Grub root. I'm assuming you've still got hda1 unplugged. > > title Winduhs > rootnoverify (hd0,1) > chainloader +1 > > When hdb is bootable, it will become hda. So I created a grub boot > diskette and unplugged hda so hdb became the new hda (primary master). > > Booted up grub from diskette, and issued the following commands: > > root (hd0,0) -- because /boot is on hda1 > setup (hd0) -- because the mbr is on hda > quit > > Removed the diskette, rebooted... and the Windows partition came right > up > with no grub menu. Did I miss a step? Maybe I am not understanding > the > difference between Linux drive numbering and the numbering used by > grub? Where is menu.lst? If you're using a patched Grub (as used in many distros to show splashscreens) I've found that it doesn't behave as described in the documents in terms of where it searches for menu.lst. Also, it sounds like your setup(hd0) failed somehow, as you should at least see grub loading message at boot. Good luck Greg |;^) -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page