You are not logged in.

#1 2024-06-08 07:54:54

incarrnati0n
Member
Registered: 2024-06-08
Posts: 2

[SOLVED] Random failed mounting

Hello I installed Arch yesterday following the wiki and a guide.

The installation worked fine, however on my second boot I received this error message and was put into emergency mode.

`mount: /boot/efi: wrong fs type, bad option, bad superblock on /dev/nvme1n1p1, missing codepage or helper program or other error.`

Output of /etc/fstab

`# UUID=aa872b61-0108-44c8-9e99-3eff1fd68adb
/dev/nvme1n1p3          /             ext4          rw,relatime    0 1

# UUID=9647-5592
/dev/nvme1n1p1          /boot/efi     vfat          rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro    0 2

# UUID=d7e3b746-7658-4777-af25-7b0e5b26b60b
/dev/nvme1n1p2          none          swap          defaults      0 0`

My main problem that it happens randomly and I can't reproduce this error consistently. Any help is much appreciated

Last edited by incarrnati0n (2024-06-08 09:32:28)

Offline

#2 2024-06-08 08:28:04

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,979

Re: [SOLVED] Random failed mounting

nvme1n1 suggests there's probbly a nvme0n1 or nvme1n0 and the order isn't determistic.
Always refer to partitions using the UUID, never the device name.

Offline

#3 2024-06-08 08:38:49

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,223

Re: [SOLVED] Random failed mounting

Use the UUIDs to refer to the partitions, not the /dev/nvme paths, the fact you have an nvme1 here means you also have an nvme0, the order of which device gets assigned which of these two numbers is effectively random due to multi-core race conditions.

https://wiki.archlinux.org/title/Persis … ice_naming

F...5

Last edited by V1del (2024-06-08 08:40:04)

Offline

#4 2024-06-08 08:52:33

cryptearth
Member
Registered: 2024-02-03
Posts: 2,186

Re: [SOLVED] Random failed mounting

seth wrote:

nvme1n0

according to multiple sources refering to the nvme specifications: namespaces is defined to be greater than 0; the namespace 0 itself is invalid and can be used as a terminator in namespace lists ... just fyi

Offline

#5 2024-06-08 09:30:33

incarrnati0n
Member
Registered: 2024-06-08
Posts: 2

Re: [SOLVED] Random failed mounting

Thank you I changed my fstab file and it worked! I forgot to add -U to genfstab

Offline

Board footer

Powered by FluxBB