You are not logged in.

#1 2022-09-23 15:14:40

giacombum
Member
Registered: 2011-08-03
Posts: 94

Cannot mount root at boot on fresh installation

Hello,

After a fresh installation using archinstall, I cannot mount root filesystem:

performing fsck on '/dev/nvme0n1p5'
mounting /dev/nvme0n1p5 on real root
mount: /new_root: mount(2) system call failed: No such file or directory

My fstab, generated during installation is:

# Static information about the filesystems.
# See fstab(5) for details.

# <file system> <dir> <type> <options> <dump> <pass>
# /dev/nvme0n1p5
UUID=417964d3-bdea-4c82-baae-e61d2ee9f816       /               btrfs           rw,relatime,ssd,space_cache=v2,subvolid=5,subvol=/      0 0

# /dev/nvme0n1p2
UUID=9446-E670          /boot           vfat            rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro   0 2

# /dev/nvme0n1p6
UUID=884b2473-0655-45a9-ba47-14decfd0b901       /home           btrfs           rw,relatime,ssd,space_cache=v2,subvolid=5,subvol=/      0 0

# /dev/nvme0n1p7
UUID=c35c3a77-2de5-4c32-a888-dc5ed38a361c       /var            btrfs           rw,relatime,ssd,space_cache=v2,subvolid=5,subvol=/      0 0

while the output of blkid command is the following:

/dev/nvme0n1p7: UUID="c35c3a77-2de5-4c32-a888-dc5ed38a361c" UUID_SUB="c7987ae7-1071-4290-8ce2-585c576dab6a" BLOCK_SIZE="4096" TYPE="btrfs" PARTUUID="a895990a-68a8-404f-b3bb-3d45a02d7beb"
/dev/nvme0n1p5: UUID="417964d3-bdea-4c82-baae-e61d2ee9f816" UUID_SUB="34ba0223-7802-429e-a290-d58f3da18949" BLOCK_SIZE="4096" TYPE="btrfs" PARTUUID="13254eb4-a6e8-434f-88aa-aed67e8a6628"
/dev/nvme0n1p3: BLOCK_SIZE="512" UUID="00EE49D4EE49C2A0" TYPE="ntfs" PARTUUID="4279ff15-241c-4183-8173-1c39043cbe0d"
/dev/nvme0n1p1: LABEL="Ripristino" BLOCK_SIZE="512" UUID="0E2E46392E4619DB" TYPE="ntfs" PARTLABEL="Basi" PARTUUID="daf62207-eee1-478e-b4e0-fbf60718f2fb"
/dev/nvme0n1p6: UUID="884b2473-0655-45a9-ba47-14decfd0b901" UUID_SUB="5d15692b-eb23-42fb-a57b-0dcd8141bbe3" BLOCK_SIZE="4096" TYPE="btrfs" PARTUUID="3f5c5fef-e1e4-46b6-aff8-3f11a4223aca"
/dev/nvme0n1p4: BLOCK_SIZE="512" UUID="723A6C353A6BF48F" TYPE="ntfs" PARTUUID="c66cde92-4bd0-418a-b13f-935fa7ce1750"
/dev/nvme0n1p2: UUID="9446-E670" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="75b21c3f-aa22-46a8-bcbc-45116136f14b"

I had an error at boot from dmesg concerning extra spaces in fstab, I removed them and I cannot see that error anymore, but I still can't mount the root at boot.

This is my mkinitcpio.conf:

MODULES=(btrfs)
BINARIES=(btrfs)
FILES=()
HOOKS=(base udev autodetect keyboard keymap modconf block filesystems fsck)

Offline

#2 2022-09-23 17:53:09

tpsapp
Member
From: Phoenix, AZ
Registered: 2022-09-15
Posts: 1
Website

Re: Cannot mount root at boot on fresh installation

I had a similar situation and i fixed it by modifying the boot entry for systemd-boot.  I had to add option root=UUID=417964d3-bdea-4c82-baae-e61d2ee9f816 to the /boot/loader/entries/arch.conf file.  (I used the UUID from your post so you could possibly copy/paste if this is what you need to do smile )

Last edited by tpsapp (2022-09-23 17:54:19)

Offline

#3 2022-09-23 18:42:43

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,399
Website

Re: Cannot mount root at boot on fresh installation

Mod note: Moving to guided installer subforum.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2022-09-23 20:29:00

giacombum
Member
Registered: 2011-08-03
Posts: 94

Re: Cannot mount root at boot on fresh installation

tpsapp wrote:

I had a similar situation and i fixed it by modifying the boot entry for systemd-boot.  I had to add option root=UUID=417964d3-bdea-4c82-baae-e61d2ee9f816 to the /boot/loader/entries/arch.conf file.  (I used the UUID from your post so you could possibly copy/paste if this is what you need to do smile )

Thanks!

I modified the file from

# Created by: archinstall
# Created on: 2022-09-23_14-06-23
title Arch Linux (linux)
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options root=PARTUUID=13254eb4-a6e8-434f-88aa-aed67e8a6628 rootflags=subvol=<FS_TREE> rw intel_pstate=no_hwp rootfstype=btrfs

to

# Created by: archinstall
# Created on: 2022-09-23_14-06-23
title Arch Linux (linux)
linux /vmlinuz-linux
initrd /intel-ucode.img
initrd /initramfs-linux.img
options root=UUID=417964d3-bdea-4c82-baae-e61d2ee9f816 rw intel_pstate=no_hwp rootfstype=btrfs

and now it boots!

Do you think there's a bug on archinstall?

Last edited by giacombum (2022-09-23 20:29:24)

Offline

Board footer

Powered by FluxBB