You managed to get lubuntu booting by using the rescue disk, so I suggest
you get back to that situation, boot lubuntu, then _copy_ the LFS kernel
(only) to your lubuntu system and add the menu entry to lubuntu's grub.cfg.
Then, try booting LFS again.  Getting a grub rescue prompt is not common,
perhaps the LFS and lubuntu grub files conflicted with each other.

*************
As described above, I copied vmlinuz-3.16.2-lfs-7.6 to lubuntu's sda1 /boot
dir.  Then modified lubuntu's grub.cfg (section 40_custom) as shown below:

menuentry "GNU/Linux, Linux 3.16.2-lfs-7.6" {
insmod part_msdos
insmod ext2
set root=(hd0,1)

        linux   /boot/vmlinuz-3.16.2-lfs-7.6 root=/dev/sda3 ro
}

When powering up grub allows me to select which kernel to load.  However,
when I select the LFS option the kernel appears to start but then delivers a
kernel panic and recommends adding an init file.  I then copied the
System.map-3.16.2 file to lubuntu's /boot dir also but that made no
difference.   My understanding is that even if the initramfs source is ""
(empty) like below, the kernel will still produce one.  Just don't seem to
be able to get it working. 

kernel .config contains these settings:
Generic Driver Settings:
#CONFIG_UEVENT_HELPER is not set
CONFIG_DEVTMPFS=y

Also....

CONFIG_BLK_DEV_INITRD=y
CONFIG_INITRAMFS_SOURCE=""
CONFIG_DEVTMPFS_MOUNT=y

Richard

*************

-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to