You are not logged in.

#1 Yesterday 03:21:11

Whaleudder
Member
Registered: Yesterday
Posts: 3

[SOLVED] fsconfig failed can't lookup blockdev

I am switching from GRUB to systemd boot. I have triple checked for typos in the UUID (I even had my partner check). I have booted with my boot USB and rebuilt my fstab, I have double checked my arch.conf and loader.conf, my initramfs-linux.img and vmlinuz-linux.

The full message I am getting is:

ERROR: device 'UUID=261c8a18-92dd-4a40-83af-d471f289f2f2' not found. skipping fsck.
:: mounting 'UUID=261c8a18-92dd-4a40-83af-d471f289f2f2' on real root
mount: /new_root: fsconfig() failed: UUID=261c8a18-92dd-4a40-83af-d471f289f2f2: can't lookup blockdev.
ERROR: failed to mount UUID=261c8a18-92dd-4a40-83af-d471f289f2f2 on real root
You are now being dropped into an emergency shell.
sh: can't access tty; job control turned off


Steps I have taken,

deleted fstab, mounted drives and

 genfstab -U /mnt >> /mnt/etc/fstab 

and checked the output with nano

reinstalled bootctl with

 bootctl install 

updated my kernal with

 pacman -S linux 

changed default arch.conf and loader.conf to really basic configs.

arch.conf

title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=UUID=261c8a18-92dd-4a40-83af-d471f289f2f2

loader.conf

default arch.conf
timeout 4
console-mode max
editor no

I am at a bit of a loss. Any help would be greatly appreciated.

I have already checked a long list of posts on these forums and Reddit to try and find a fix for my issue.

File system is ext4 for my / drive.

Partition table looks something like this:

nvme1n1p1 /mnt/boot
nvme1n1p2 /swap
nvme1n1p3 /mnt/
nvme0n1p1 /mnt/home

Last edited by Whaleudder (Yesterday 05:26:32)

Offline

#2 Yesterday 04:19:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,082

Re: [SOLVED] fsconfig failed can't lookup blockdev

Forget fstab, it has no bearing here. This all happens before fstab is available.

Let's start with the basics, post the output of `blkid`

Online

#3 Yesterday 04:43:50

Whaleudder
Member
Registered: Yesterday
Posts: 3

Re: [SOLVED] fsconfig failed can't lookup blockdev

I have uploaded a photo of the putout to https://imgur.com/a/8lnJhyW

Sorry I can only post a photo, my computer is out of action and this is the best I can do with my phone.

Offline

#4 Yesterday 05:25:23

Whaleudder
Member
Registered: Yesterday
Posts: 3

Re: [SOLVED] fsconfig failed can't lookup blockdev

Solved.

I ended up sending the output for my partition UUID directly into arch.conf then redoing the file adding the boot file system ext4 flag.

Offline

#5 Yesterday 11:13:43

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,082

Re: [SOLVED] fsconfig failed can't lookup blockdev

Online

Board footer

Powered by FluxBB