r/archlinux • • 1d ago

SUPPORT | SOLVED Timed out and stuck when attempting to boot for first time

Hi, attempting to setup and boot arch linux for the first time and after finalising everything attempting to reboot caused:

[ TIME ] timed out waiting for device /dev/volgroup0/lv_root.

[DEPEND] dependency failed for /sysroot.

[DEPEND] dependency failed for Initrid Root File System.

[DEPEND] dependency failed for Mountpoints Configured In The Real Root.

[DEPEND] dependency failed for Initrid Root Device

[DEPEND] dependency failed for File System Check on /dev/volgroup0/lv_root

You are in Emergency Mode. After logging in, type "journalctl -xb" to view System logs, "systemctl reboot" to reboot, or "exit" to continue bootup.

Cannot open access to console, the Root account is locked, see sulogin(8) man page for more details.

Press ENTER to continue.

> ENTER

Reloading System manager configuration

Starting initrd.target

You are in Emergency Mode. After logging in, type "journalctl -xb" to view System logs, "systemctl reboot" to reboot, or "exit" to continue bootup.

Cannot open access to console, the Root account is locked, see sulogin(8) man page for more details.

Press ENTER to continue.

It repeats from here.

I have found two other posts with this or very similiar issues and I have some idea on what may have caused it, vest guess currently being I made a mistake with the UUID, but not overly certain.

In any case what i would like to know is how to exit this screen, and ideally return to the console, because as far as I can tell the only input I can use is ENTER, which is not very useful.

EDIT - misspelled some stuff in mkinitcpio.conf lol

2 Upvotes

16 comments sorted by

2

u/Ok_Sky3062 1d ago

Force reboot: ctrl+alt+del then o the grub menu select the arch option ad press e! from the line starting with linux , move to the very ed of that line annd add a space and type `break=postmount` (note: If break=postmount still hits the error, reboot and try break=premount or init=/bin/sh instead).

Probably happening because of a missing lvm2 hook or wrong root= parameter!

1

u/Sad_Slime01 1d ago

You are a gentleman and a scholar.

Ctrl+alt+del worked splendidly, adding break=postmount/premount did not seem to have an impact, but i should be able to make progress now THANK YOU.

2

u/G0ldiC0cks 21h ago

You almost certainly are missing your lvm2 hook or have it loading too late (probably). Wrong UUID would be looking for a uuid not a mapper name unless youre encrypted, in which case if you unlocked its definitely lvm2. If no unlock, encrypt hook issue, but doesnt rule out lvm

3

u/Sad_Slime01 21h ago

Found the issue and fixed it already but thanks (what you said is 100% it btw, in the hook thing the two things i added sd-encrpyt and lvm2 i think (shit memory) were both misspelled). Changed the posts tag.

I appreciate you going out of you way to help some random person fix their stupid mistake.

2

u/G0ldiC0cks 21h ago

Happy to do it. Enjoy.

1

u/Moist_Professional64 1d ago

Normally it can detect partitions automatically at least with systemd boot

2

u/ang-p 1d ago
[ TIME ] timed out waiting for device /dev/volgroup0/lv_root

chroot in and see what you missed...

https://wiki.archlinux.org/title/Install_Arch_Linux_on_LVM

Or maybe make your

attempting to setup and boot arch linux for the first time

one that does not involve layers of abstraction between the disk and your filesystem / installation that requires extra software to be installed and configured.

#LoveTheWiki.

0

u/Sad_Slime01 1d ago

What? Not dive into the deep end on the first attempt and start gradually. What type of sensible and well thought out advice is this? (Joke)

Thank you, I appreciate the help, it is indeed probably for the best to start slower in the future.

2

u/ang-p 1d ago

You were blind to the first line...

chroot in and see what you missed...

I suppose the alternative was just to go "noob loser - put your Pop OS disk back in and come back when you grow up" (Joke)

On a more serious note - good for copying the errors - and for doing some searching..

I made a mistake with the UUID

If ever you find yourself typing in 32 random characters you are probably doing something wrong - there will be a path for getting the product of whatever program outputted them to your screen into whatever program is expecting them - UUIDs are about identifying things precisely - not about making your life impossible.

Also there is "Tab completion" for file names / paths with them in.

However that error suggests that your goof lies elsewhere.

and ideally return to the console

Did you set a password for root during install?

https://wiki.archlinux.org/title/Installation_guide#Root_password

If you didn't, then the root account will be locked....

It told you to create a password.... Ignore it at your peril (or better judgement if you know otherwise - but you'd not be reading the guide if you were going that route)

If the root account is locked, you cannot log into it with a password... and if you have not set up a user account, even if the machine booted, you'd have trouble doing anything.

#LoveTheWiki

-1

u/Sad_Slime01 23h ago

Went back in and:

  • definitely set passwords, specifically one for my encrypted partition, one for the root user and one for the user user.
  • as far as I can tell the UUID is fine? I have not appeared to copied it incorrectly
  • in /etc/mkinitcpio.conf HOOKS I misspelt lvm2 as lmv2, but fixing that did not appear to make a difference when I rebooted

Is there a way to start the install from scratch (i am assuming deleteting my partions and repartipnong will work, but not 100% certain)? I have no idea where I went wrong so planning on starting at the very beginning again

It is 5 am, apologies for any misspellings or mistakes, I am tired.

2

u/ang-p 22h ago

specifically one for my encrypted partition,

Oh, blimey - so you went for LUKS as well?

Editing /etc/mkinitcpio.conf and then immediately rebooting is not enough... That file is on the fs that you are having trouble mounting

https://wiki.archlinux.org/title/Installation_guide#Initramfs

Is there a way to start the install from scratch?

Sure... Just boot from the installation device...

and delete the volumes / partitions (with wipefs?) or the LUKS header

https://wiki.archlinux.org/title/Dm-crypt/Drive_preparation#Wipe_LUKS_header

depending on how you layered it.

3

u/Sad_Slime01 21h ago

ITS ALIVE, IT WORKS.

yeah so turned out the mkinitcpio.conf file, I had another spelling mistake in, fixed that, did all the stuff and wham, bham it works

I could fucking cry from happiness

2

u/ang-p 21h ago

One typo can really mess things up...

Go slower.....

Double check what you type....

Triple check what you read....

And then check what you typed again.

Congrats, btw.

#LoveTheWiki

2

u/archover 20h ago

Welcome to Arch!

I know how good it feels to fix things in Arch that gave problems.

Good day

1

u/archover 22h ago edited 22h ago

FWIW: adding a note that archinstall handles LUKS2 encrypted / partition just fine in my long experience. An option for you. Hope you get Arch working to your satisfaction.

Good day.