You are not logged in.

#1 2022-01-17 12:49:58

Sulex95
Member
Registered: 2022-01-08
Posts: 24

[SOLVED] Failed to mount /sysroot

Hi everyone:

After looking for a long time, I can't find a solution to my problem. I'm new with arch. I'm triying to install it on Victus 016 - HP laptop. I follow the steps on the installation guide. In the partition disk step I make a diferent things. I create two partitions with fdisk, the first one is /boot, the second one I create an LVM with all the rest of the folders (swap, home and root). I install systemd-boot because grub doesnt work with me, I configure the arch.conf, loader.conf and mkinitcpi.conf. When I tryu to boot I get the message:

Error

[OK] Reached target Initrd Root Device.
Starting File System Check on /dev/nvme0n1p1
[OK] Finished File System Check on /dev/nvme0n1p1
Mounting /sysroot...
[FAILED] Failed to mount /sysroot
See 'systemctl status sysroot.mount' for details.
[DEPEND] Dependency failed for Initrd Root File system.
[DEPEND] Dependency failed for Reload Configuration from the Real Root.

loader.conf

timeout 3
editor yes
console-mode max
random-seed-mode off

arch.conf

title Arch Linux
linux /vmlinuz-linux
initrd /amd-ucode.img
initrd /initramfs-linux.img
options root=/dev/nvme0n1p1 rw ipv6.disable=1 nomodeset

*Note: I use nomodeset because I dont install nvidia package actually

mkinitcpio.conf

MODULES=(f2fs)
FILES=()
HOOKS=(base systemd autodetect keyboard sd-vconsole modconf block lvm2 filesystems fsck)

Disk partitions

nvme0n1
 |-nvme0n1p1            259:1    0        1G    0    part    /boot
 `-nvme0n1p2            259:2    0    475.9G    0    part
    |-VGDisk0-swap      254:0    0       16G    0    part    [SWAP]
    |-VGDisk0-root      254:1    0      100G    0    part    /
    |-VGDisk0-swap      254:2    0    359.9G    0    part    /home

fstab

# UUID=0e78e896-72d7-4e9f-a437-552ec7cbd7b6
/dev/mapper/VGDisk0-root    /    ext4    rw,relatime    0  1

# UUID=bf09c7c8-bff3-4f44-b104-80e00fe8cd01
/dev/mapper/VGDisk0-home    /home  ext4    rw,relatime    0  1

# UUID=AA56-60AF
/dev/nvme0n1p1    /boot  vfat rw,relatime,fmask=0022,dmas=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errores=remount-ro  0  2

# UUID=bd361269-a434-4931-b9e6-afaf0351bc3e
/dev/mapper/VGDisk0-swap    none  swap    defaults    0  0

Last edited by Sulex95 (2022-01-17 15:04:30)

Offline

#2 2022-01-17 12:59:24

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

Re: [SOLVED] Failed to mount /sysroot

root=/dev/nvme0n1p1? That's not your root, though...

Offline

#3 2022-01-17 12:59:56

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,029

Re: [SOLVED] Failed to mount /sysroot

options root=/dev/nvme0n1p1

|-nvme0n1p1            259:1    0        1G    0    part    /boot

|-VGDisk0-root      254:1    0      100G    0    part    /

You're setting the boot partition as root partition.

Offline

#4 2022-01-17 13:42:21

Sulex95
Member
Registered: 2022-01-08
Posts: 24

Re: [SOLVED] Failed to mount /sysroot

Thank you so much, I was confused why not works. It works. Thank you.

Offline

#5 2022-01-17 13:45:55

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,029

Re: [SOLVED] Failed to mount /sysroot

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

Board footer

Powered by FluxBB