On 12/14/20 12:54 PM, James Read wrote:
On Mon, Dec 14, 2020 at 6:34 PM Bruce Dubbs <bruce.du...@gmail.com
<mailto:bruce.du...@gmail.com>> wrote:
On 12/14/20 12:14 PM, James Read wrote:
> Hi,
>
> I am having difficulty with booting my LFS system. I modified my
> existing grub.cfg to include the following:
>
> menuentry "GNU/Linux, Linux 5.8.3-lfs-10.0" {
> linux /boot/vmlinuz-5.8.3-lfs-10.0 root=/dev/sda1 ro
> }
>
> The menu entry is included in the GRUB screen when I reboot but
when I
> select LFS to boot it cannot find the image. What have I missed?
Is /boot a separate partition? If so, then remove /boot from the linux
line. Otherwise run 'ls -lh /boot' to ensure vmlinuz-5.8.3-lfs-10.0
exists and looks like it is about the right size (probably inthe
5-10 MB
range).
I copied the image to /boot on the host system and I was able to boot.
Partially. Now the boot process gets stuck with this message:
[ 1.148228] ---[ end Kernel panic - not syncing: VFS: Unable to
mount root fs on unknown-block(0,0) ]---
Note that /dev/sda1 is probably not correct if you also have another
distro on the first drive.
What is the output of 'fdisk /dev/sda' ? Which is your LFS partition?
-- Bruce
--
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