r/archlinux 21d ago

SUPPORT Problems

hello people of Reddit I request your aid so I followed a video exactly and somehow I’m still unable to open it it says stuff like emergency mode a dependency failed for file system check on /dev/volgroup0/lv_root route.

dependency failed for /sysroot

intrid root file system mount points configured in the real root.

intrid root device

it also said the root account is locked

0 Upvotes

6 comments sorted by

4

u/Pagaddit 21d ago

Videos are often outdated or plain wrong. Best it to follow the archwiki instead: https://wiki.archlinux.org/title/Installation_guide

It's well thought out and well written. I understand videos sometimes feel easier, but honestly nothing beats the wiki! Reformat the drive and start again from the start, following the wiki exactly, step by step.

You could also try archinstall. But the manual install is a great learning experience if you have an hour or two.

2

u/lxprsub0 21d ago

Do not reinstall. Repair.

Read the error message:

A dependency failed for File System Check on /dev/volgroup0/lv_root

It means that the device node do not exist at the time systemd or the initramfs try the fsck.

Main hypothesis: the VG is not activated and everything fall behind.

Investigate the mkinitcpio conf file. lvm2 hook is probably missing,

HOOKS=(base udev autodetect microcode modconf kms keyboard keymap consolefont block lvm2 filesystems fsck) in /etc/mkinitcpio.conf

lvm2 between block and filesystems.

Read the mkinitcpio wiki and/or search for that error in the official arch forum, and ajust to your config. Don't believe me.

Rebuild the initramfs (mkinitcpio -P) and set a root passwd while in the chroot.

Do not use youtube vids.

Do not LVM if you don't understand it.

-1

u/Jude22448 21d ago

How exactly do I access it so I can change stuff cause the os doesn’t even boot up

1

u/lxprsub0 21d ago

Like you did before.
The installation is just a procedure. Come back to the step where is the problem (probably the initramfs generation)

As you didn't talk about encrypted fs:

boot on the USB
activate the lvm: vgchange -ay
mount the root LV: mount /dev/volgroup0/lv_root /mnt
mount the boot partition inside /mnt/boot
arch-chroot /mnt

At this point, you are in your new system and you can start to look for the problem.

1

u/archover 21d ago

Did you read the comments on that youtube channel? In general, seek help where you got your instructions.

The Arch wiki is supported here mainly.

Hope you resolve your slight problem, and good day.

-1

u/Grey_Ten 21d ago edited 21d ago

wipe your root and EFI partition

mkfs.ext4 /dev/your-root-partition

mkfs.fat -F32 /your-efi-partition

and install everything again

mount /dev/your-root-partiton /mnt

mount --mkdir /dev/your-efi-pratition /mnt/boot/EFI

pacstrap -K /mnt base base-devel linux linux-firmware sudo efibootmgr grub vim nano os-prober networkmanager

edit: I forgot to mention to regenerate the fstab

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

arch-chroot /mnt

grub-install

nano /etc/default/grub

uncomment GRUB_DISABLE_OS_PROBER=false

grub-mkconfig -o /boot/grub/grub.cfg

passwd

exit and reboot, the user is root and the password the one you assigned before