#kernel panic device not shown

31 messages · Page 1 of 1 (latest)

versed moon
#

I am dropped into an emergency shell saying the root device was not found. I checked the PartUUID of the root partition and made sure it matches in the loader configuration (systemd-boot).

Strangely, blkid is unable to find the boot device on recovery shell. I'm not sure what the problem is. I've tried specifying it with LABEL, UUID and PARTLABEL to no avail.

The install medium is a dd clone of another device with a functioning arch/windows dual install.

velvet sorrel
#

eg /dev/sda2

versed moon
#

I've tried that too. same result

velvet sorrel
versed moon
#

So, in the emergency shell, I can't even see the device. lsblk or blkid don't list the device/partition I'm looking for.

#

But, I can see and mount it from a live boot.

velvet sorrel
#

but does /dev/sda1 or whatever it'd be exist

versed moon
#

It doesn't show up in the emergency shell. So, I can't mount it.

#

I tried changing the PARTUUID of the partitions and updated in the loader entry config. Also, reinstalled systemd-boot with no luck.

velvet sorrel
#

huh

#

are you going to dual boot there

versed moon
#

It is a clone of dual boot setup on another drive. I can boot into Windows just fine on the new device too.

#

But arch isn't playing nicely

velvet sorrel
#

oh

#

can you try efistub

versed moon
#

Okay, I'll try and update in a moment.

velvet sorrel
#

k

versed moon
#

added a efistub entry following the wiki. It gives me the exact same result.

uneven whale
#

from chroot

versed moon
#

It does.

#

if the root partition itself is not found, does it make a difference what's in the fstab. I guess I don't understand fully the boot procedure, but it doesn't make sense why we'd put mount instruction for root in the fstab, which in a file in the root partition.

versed moon
#

Sure, but I suspect its gonna give me the same result.

#

yep. Just tried grub. dropped to emergency shell again.

uneven whale
#

probably corrupted, you can try to flash that partition again with dd

#

might be better to use rsync though

#

would reformat it before using either if it were me

velvet sorrel
#

yea true

#

run sync after running dd though