Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Adding LFS to GRUB
I have made an LFS system on hda4 which I have booted and used one or two times. But later I intalled Fedora Core 4 on hda2 and now I can't get GRUB to boot the LFS system. Do anyone know how to add an entry in grub.conf which will work???
# grub.conf generated by anaconda
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,1)
# kernel /boot/vmlinuz-version ro root=/dev/hda2
# initrd /boot/initrd-version.img
title Fedora Core (2.6.11-1.1369_FC4)
kernel /boot/vmlinuz-2.6.11-1.1369_FC4 ro root=LABEL=/1 rhgb quiet
title Windows XP
Do you need more information? Just ask!
Thanks a lot!
The correct entry should be:
Change the initrd file name if it is not correct. I haven't ever used LFS but I think that this should be correct.
The trick is the path. When you mount the lfs partition under /media/lfs , what you see in there is in fact the / tree in lfs