Kernel panic, Unable to mount root fs
"Willem Oldeman" ([email protected] via lfs-support Mailing List) <[email protected]> Sun, 15 Mar 2026 19:34:53 +0100
| Newsgroups | gmane.linux.lfs.support |
|---|---|
| Message-ID | <CAEe8HHvcRurDYLhN7Lb3dYFdhuGmUQBZXvXv5XvNWyNx-KLmig@mail.gmail.com> |
This is a multi-part message in MIME format...
------------=_1773599715-1253-16224
Content-Type: multipart/alternative; boundary="0000000000005d032d064d145cba"
--0000000000005d032d064d145cba
Content-Type: text/plain; charset="UTF-8"
Dear LFS community,
I am building an LFS 13.0 system, but I run into an issue booting
it. Version 13.0-systemd.
I followed the steps in
https://www.linuxfromscratch.org/lfs/view/stable-systemd/index.html
but my system doesn't want to boot into LFS yet.
When booting LFS, I get an error: Kernel Panic "Please reboot your
computer. VFS: Unable to mount root fs on unknown-block(0,0)".
Current setup:
- Ubuntu 24.04 on an Asus laptop, using an nvme drive. Ubuntu loads fine.
- For now, I want to keep Ubuntu in place as the "mother", since it works.
- I do not follow
https://www.linuxfromscratch.org/lfs/view/stable-systemd/chapter10/grub.html,
because I do not want to break the mother.
- The nvme drive has been repartitioned, nvme0p1 through nvme0p3 are for
Ubuntu, new partitions nvme0n1p4 (root) and nvme0n1p5 (home) were added for
LFS.
- I have added the entry /etc/grub.d/42_lfs (on mother system) with
contents:
#!/bin/sh
exec tail -n +3 $0
menuentry "Linux From Scratch 13.0 (console safe mode)" {
insmod part_gpt
insmod ext2
set gfxpayload=1024x768x32
search --no-floppy --fs-uuid --set=root 85dd9c2b-a614-4f09-xxxx
linux /boot/vmlinuz-6.18.10-lfs-13.0-systemd \
root=uuid=85dd9c2b-a614-4f09-9069-xxxx \
ro \
nomodeset \
nouveau.modeset=0 \
modprobe.blacklist=nouveau,nvidia,nvidia_drm,nvidia_modeset,nvidia_uvm
}
Where do I go wrong?
Any hints are welcome :-)
-Willem
--0000000000005d032d064d145cba
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div>Dear LFS community,</div><div><br></div><div>I am bui=
lding an LFS 13.0 system, but I=C2=A0run into an issue booting it.=C2=A0Ver=
sion 13.0-systemd.</div><div><br></div><div>I followed the steps in=C2=A0</=
div><div><a href=3D"https://www.linuxfromscratch.org/lfs/view/stable-system=
d/index.html">https://www.linuxfromscratch.org/lfs/view/stable-systemd/inde=
x.html</a></div><div></div><div>but my system doesn't want to boot into=
LFS yet.</div><div>When booting LFS, I get an error: Kernel Panic "Pl=
ease reboot your computer. VFS: Unable to mount root fs on unknown-block(0,=
0)".</div><div><br></div><div>Current setup:</div><div>- Ubuntu 24.04 =
on an Asus laptop, using an nvme drive. Ubuntu loads fine.</div><div>- For =
now, I want to keep Ubuntu in place as the "mother", since it wor=
ks.</div><div>- I do not follow=C2=A0<a href=3D"https://www.linuxfromscratc=
h.org/lfs/view/stable-systemd/chapter10/grub.html">https://www.linuxfromscr=
atch.org/lfs/view/stable-systemd/chapter10/grub.html</a>, because I do not =
want to break the mother.</div><div>- The nvme drive has been repartitioned=
, nvme0p1 through nvme0p3 are for Ubuntu, new partitions=C2=A0nvme0n1p4 (ro=
ot) and=C2=A0nvme0n1p5 (home) were added for LFS.</div><div>- I have added =
the entry /etc/grub.d/42_lfs (on mother system) with contents:</div><div><b=
r></div><div>#!/bin/sh</div><div>exec tail -n +3 $0<br>menuentry "Linu=
x From Scratch 13.0 (console safe mode)" {<br>=C2=A0 =C2=A0 insmod par=
t_gpt<br>=C2=A0 =C2=A0 insmod ext2<br>=C2=A0 =C2=A0 set gfxpayload=3D1024x7=
68x32<br>=C2=A0 =C2=A0 search --no-floppy --fs-uuid --set=3Droot 85dd9c2b-a=
614-4f09-xxxx<br>=C2=A0 =C2=A0 linux /boot/vmlinuz-6.18.10-lfs-13.0-systemd=
\<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 root=3Duuid=3D85dd9c2b-a614-4f09-9069-xxx=
x \<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 ro \<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 nomo=
deset \<br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 nouveau.modeset=3D0 \<br>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 modprobe.blacklist=3Dnouveau,nvidia,nvidia_drm,nvidia_mod=
eset,nvidia_uvm<br>}<br><br></div><div>Where do I go wrong?</div><div>Any h=
ints are welcome :-)</div><div><br></div><div>-Willem</div></div>
--0000000000005d032d064d145cba--
------------=_1773599715-1253-16224
Content-Type: text/plain; charset="UTF-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
--
http://lists.linuxfromscratch.org/sympa/info/lfs-support
Unsubscribe: See the above information page
------------=_1773599715-1253-16224--