On Sat, Jan 17, 2015 at 07:04:40PM -0500, [email protected] wrote:
> First I want to say that LFS is a masterful piece of work. I remain in awe
> of the effort as I complete each chapter.
>
> Unfortunately, when I got to Chapter 9.3 "shutdown -r now" LFS didn't boot.
> Instead I get a grub rescue> prompt.
>
[...]
>
> - Boot files currently in host OS sda1 (not dedicated /boot
> partition)
>
> - Lubuntu on sda1. Swap sda5.
>
That shows that the following line in grub.cfg is your problem.
>
> set root='hd0,msdos3'
Note that this is not the same thing as the root= arguments
appended to the 'linux' lines : those tell the kernel specified in
that line where it should find it's '/'. This one is to tell grub
where to look for kernels. Try setting it back to hd0,msdos1.
>
> menuentry "GNU/Linux, , Linux 3.16.2-lfs-7.6" {
>
> linux /boot/vmlinuz-3.16.2-lfs-7.6 root=/dev/sda3 ro
>
And just to be clear, if grub's root is hd0,msdos1 then all of your
kernels need to be in the *lubuntu* /boot directory. Before you
fixed up grub.cfg again, it could not find any kernel - that suggests
you had correctly moved the lfs kernel to lubuntu's /boot, or at
least not put it in LFS's /boot, so adding that stanza for LFS will
hopefully be enough for grub to find it.
Then, you will get to find out if your kernel's .config is adequate
for *your* hardware.
ĸen
--
Nanny Ogg usually went to bed early. After all, she was an old lady.
Sometimes she went to bed as early as 6 a.m.
--
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