You are not logged in.

#1 2023-06-15 22:01:56

scragnoth
Member
Registered: 2023-04-10
Posts: 17

[solved] no boot: ERROR device UUID not found Skipping fsck after upgr

Today I ran

pacman -Syu

and rebooted my Lenovo Yoga Tablet 2-851F, my currently installed kernel should have been version 6.2.13, at least that kernel came with the archlinux-2023.05.03-x86_64.iso I used for my installation.

Now, GRUB still shows up as before, but my installed system won't boot anymore. It throws me into that emergency shell, I can't type anything since the keyboard won't work (which it did before, I always hit return on the GRUB menu to speed up the boot process). It reads

ERROR: device 'UUID=6e357e5f-7dab-4ab2-9bf8-799d0d5c4f23' not found. Skipping fsck.
mount: /new_root: can't find UUID=6e357e5f-7dab-4ab2-9bf8-799d0d5c4f23.
You are now being dropped into an emergency shell.
sh: can't access tty: job control turned off

That's the actual UUID which it says on my machine.

What I tried so far by reading older threads regarding this issue:

Downloaded the current archlinux-2023.06.01-x86_64.iso, put it onto a USB stick, booted it, connected to the internet, then

mount --mkdir /dev/mmcblk1p1 /mnt/boot #my EFI partition
mount /dev/mmcblk1p2 /mnt #my root partition, EXT4
arch-chroot /mnt
pacman -Sy
pacman -S linux
mkinitcpio -p linux

I reinstalled linux because I before just ran "mkinitcpio -p linux" and got an error:

ERROR: specified kernel image does not exist: `/boot/vmlinuz-linux'

After that, it still won't boot ...

Last edited by scragnoth (2023-06-27 16:26:32)

Offline

#2 2023-06-15 22:23:41

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

Re: [solved] no boot: ERROR device UUID not found Skipping fsck after upgr

You can't mount your boot partition before your root partition. It'll completely mask the contents of the boot partition

Offline

#3 2023-06-16 14:28:55

fredbezies
Member
Registered: 2011-07-28
Posts: 372

Re: [solved] no boot: ERROR device UUID not found Skipping fsck after upgr

This bug was introduced with linux 6.3.8. UUIDs are no longer handled from /etc/fstab.

I had to set real path in my /etc/fstab to be able to boot with linux 6.3.8.

Something broke UUID handling.

Offline

#4 2023-06-16 14:51:30

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

Re: [solved] no boot: ERROR device UUID not found Skipping fsck after upgr

fredbezies wrote:

This bug was introduced with linux 6.3.8. UUIDs are no longer handled from /etc/fstab.

I had to set real path in my /etc/fstab to be able to boot with linux 6.3.8.

Something broke UUID handling.

This is not true at all, and the error here is in the initramfs, far before fstab comes into play.

Offline

#5 2023-06-16 15:14:16

fredbezies
Member
Registered: 2011-07-28
Posts: 372

Re: [solved] no boot: ERROR device UUID not found Skipping fsck after upgr

Sorry, I had a related problem looking like this one.

Once again, sorry!

Offline

#6 2023-06-16 16:49:38

scragnoth
Member
Registered: 2023-04-10
Posts: 17

Re: [solved] no boot: ERROR device UUID not found Skipping fsck after upgr

Scimmia wrote:

You can't mount your boot partition before your root partition. It'll completely mask the contents of the boot partition

I didn't know that, I'll try it again with the commands swapped.

[Edit] It worked now. I ran the commands again but made sure to mount the root partition first, then the boot partition.

Last edited by scragnoth (2023-06-16 18:40:09)

Offline

#7 2023-06-16 16:55:44

VoDo
Member
From: Europe
Registered: 2020-06-04
Posts: 122

Re: [solved] no boot: ERROR device UUID not found Skipping fsck after upgr

Same problem here on one machine with LUKS not found


Archi3

Offline

#8 2023-06-16 19:13:50

loqs
Member
Registered: 2014-03-06
Posts: 18,884

Re: [solved] no boot: ERROR device UUID not found Skipping fsck after upgr

VoDo wrote:

Same problem here on one machine with LUKS not found

https://bbs.archlinux.org/viewtopic.php?id=286293 ?

Offline

#9 2023-06-17 10:31:11

VoDo
Member
From: Europe
Registered: 2020-06-04
Posts: 122

Re: [solved] no boot: ERROR device UUID not found Skipping fsck after upgr

loqs wrote:
VoDo wrote:

Same problem here on one machine with LUKS not found

https://bbs.archlinux.org/viewtopic.php?id=286293 ?

I do not understand what is going on I just added encrypt to HOOKS and it works but I am sure it was there a week ago... or after installation 18 months ago.


Archi3

Offline

#10 2023-06-17 12:31:37

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

Re: [solved] no boot: ERROR device UUID not found Skipping fsck after upgr

VoDo wrote:
loqs wrote:
VoDo wrote:

Same problem here on one machine with LUKS not found

https://bbs.archlinux.org/viewtopic.php?id=286293 ?

I do not understand what is going on I just added encrypt to HOOKS and it works but I am sure it was there a week ago... or after installation 18 months ago.

That sounds like a .pacnew merging issue.

Offline

#11 2023-06-17 13:03:16

VoDo
Member
From: Europe
Registered: 2020-06-04
Posts: 122

Re: [solved] no boot: ERROR device UUID not found Skipping fsck after upgr

Thank you it would be it.


Archi3

Offline

#12 2023-06-25 22:42:31

scragnoth
Member
Registered: 2023-04-10
Posts: 17

Re: [solved] no boot: ERROR device UUID not found Skipping fsck after upgr

VoDo wrote:

Thank you it would be it.

Did it work? I'd mark the thread as solved if so.

Offline

#13 2023-06-27 08:00:47

VoDo
Member
From: Europe
Registered: 2020-06-04
Posts: 122

Re: [solved] no boot: ERROR device UUID not found Skipping fsck after upgr

Yeah


Archi3

Offline

Board footer

Powered by FluxBB