You are not logged in.

#1 2025-06-30 08:55:21

Abhinav
Member
Registered: 2025-03-18
Posts: 23

Kernel panic after boot [Solved]

Kernel panic dump

I did update to the newer a linux firmware a day ago where it said to

# pacman -Rdd linux-firmware # pacman -Syu linux-firmware

But that shouldn't cause the filesystem to fail.
The main problem seems to be

0.554945] clk: Disabling unused clocks
[    0.554948] PM: genpd: Disabling unused power domains
[    0.555079] /dev/root: Can't open blockdev
[    0.555089] VFS: Cannot open root device "UUID=17146e51-599a-4e3a-aae4-47a02bfb3bb4" or unknown-block(0,0): error -6
[    0.555090] Please append a correct "root=" boot option; here are the available partitions:
[    0.555092] List of all bdev filesystems:
[    0.555092]  ext3
[    0.555093]  ext2
[    0.555094]  ext4
[    0.555094]  fuseblk
[    0.555095]  btrfs
[    0.555096] 
[    0.555097] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[    0.555101] fbcon: Taking over console
[    0.555106] CPU: 1 UID: 0 PID: 1 Comm: swapper/0 Not tainted 6.15.4-arch2-1 #1 PREEMPT(full)  bf56011d6043294f437da1888a30a6d02e6dd116
[    0.555112] Hardware name: ASUSTeK COMPUTER INC. ROG Zephyrus G14 GA402XV_GA402XV/GA402XV, BIOS GA402XV.318 04/22/2024
[    0.555116] Call Trace:
[    0.555120]  <TASK>
[    0.555122]  dump_stack_lvl+0x5d/0x80
[    0.555128]  panic+0x117/0x2da
[    0.555133]  mount_root_generic+0x1cf/0x270
[    0.555140]  prepare_namespace+0x1dc/0x230
[    0.555143]  kernel_init_freeable+0x26a/0x2a0
[    0.555148]  ? __pfx_kernel_init+0x10/0x10
[    0.555151]  kernel_init+0x1a/0x140
[    0.555154]  ret_from_fork+0x31/0x50
[    0.555157]  ? __pfx_kernel_init+0x10/0x10
[    0.555160]  ret_from_fork_asm+0x1a/0x30
[    0.555166]  </TASK>
[    0.555556] Kernel Offset: 0xc00000 from 0xffffffff81000000 (relocation...

Last edited by Abhinav (2025-06-30 10:15:01)

Offline

#2 2025-06-30 09:54:55

Nikolai5
Member
From: North West, England, UK
Registered: 2024-01-27
Posts: 271

Re: Kernel panic after boot [Solved]

Please try booting into the arch live environment from USB/spinny disc thingy, mount your partitions, arch-chroot in as you did during installation, and try building the kernel images again with

mkinitcpio -P

What bootloader are you using? Try checking that /etc/default/grub looks OK if you're using grub and then regenerate that as well with grub-mkconfig.
If systemd-boot then check that.

While arch-chrooted into your system, what is the output of

blkid

and what is in the file: /etc/mkinitcpio.conf


Ryzen 7 9850X3D | AMD 7800XT | KDE Plasma

Offline

#3 2025-06-30 10:14:14

Abhinav
Member
Registered: 2025-03-18
Posts: 23

Re: Kernel panic after boot [Solved]

Their is no /etc/default/grub

Doing grub install and grub mkconfig with the fixed the problem.

Offline

Board footer

Powered by FluxBB