Issue on Pi4: /boot/cmdline.txt
and /etc/fstab
contained: LABEL=ROOT_MNJRO
and LABEL=BOOT_MNJRO
entries which seemed to prevent the kernel mounts of at least the root partition.
Kernel panic: unable to mount root fs on unknown-block(0,0)
Resolution:
-
May be optional: Recover previous kernel using installed USB boot - mount SD card
root=/ on /mnt
andboot=/boot on /mnt/boot
then installmanjaro-tools-base
and then:manjaro-chroot /mnt
… then to avoid pacman errors:
mv /boot/overlays /boot/overlays.old
and
mkdir /boot/overlays
then
cd /var/cache/pacman/pkg
run
pacman -U linux-rpi4-mainline-6.5.5-1-aarch64.pkg.tar.zst linux-rpi4-mainline-headers-6.5.5-1-aarch64.pkg.tar.zst
and reboot to SD card
-
Required to upgrade kernel to 6.5.7-1-MANJARO-RPI4:
Use command “blkid” to find your SD (boot) device PARTUUIDs (2 partitions - root and boot)
Change LABEL to PARTUUID references for root and boot partitions:- /boot/cmdline.txt to (example):
root=PARTUUID=example-your-PARTUUID-02
… (remaining boot arguments) … - /etc/fstab to (example):
PARTUUID=example-your-PARTUUID-01 /boot vfat defaults,noexec,nodev,showexec 0 0 PARTUUID=example-your-PARTUUID-02 / ext4 defaults,noatime 0 1
… (remaining entries) …
… reboot and update if required … remove /boot/overlays.old if required …
- /boot/cmdline.txt to (example):
Moderator edit: Added proper formatting