As far as I can tell it is looking at the correct partition - update-grub
does this and a manual check suggests that it is OK. /boot/boot.cfg looks
like this:
# Begin /boot/grub/grub.cfg
set default=0
set timeout=5
insmod ext2
set root=(hd0,2)
menuentry "GNU/Linux, Linux 3.16.2-lfs-7.6" {
linux /boot/vmlinuz-3.16.2-lfs-7.6 root=/dev/sda2 ro
}
As seen from the host system, LFS is on /dev/sda8 which is the second
partition inside the extended partition sda2
Selecting this form the grub boot menu causes the system to start to boot
before failing with the message that I have noted.
The first compile of the kernel used default values and I have added a
couple of things that don't appear to have made any difference.
I really am stuck with this now!
Anthony.
On 2 November 2014 19:31, Richard Melville <
[email protected]> wrote:
> On 2 November 2014 18:00, Anthony Price <[email protected]> wrote:
>
>> I have just finished building LFS 7.6 but when I boot, it fails with
>> '.... unable to mount root fs on unknown block 8,2'
>>
>> I compiled the Kernel with support for SATA and ext4 in the kernel (i.e.
>> not modules) and carried out the copy operations as given in the book.
>>
>> Then, from the host system (XUbuntu 14.10 64 bit), ran update-grub.
>>
>> The grub boot screen shows the LFS installation as an option but it fails
>> with the kernel panic message.
>>
>> Any ideas would be welcome.
>>
>
> If the kernel's been configured properly, as you say, then the reason is
> usually that grub is looking for root fs on the incorrect partition.
>
> 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
>
>
--
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