Skip to content

What happens when Arch hangs on boot?

I am worried about this one day because I am new to linux and would not know what to do to fix this, is there any guides or something that explains what you should do? (I could probably debug the system myself fixing the problem, but I would need to know how to do that when it wont boot)

3 points9 comments
Open on Reddit
About this post
Posted
Archived
Score
3 · 100% up
Kind
Text
ID
18rs98

Author

7
posts
0
comments
2
media
View profile

9 comments

First of all, try to boot to the fallback initramfs (should be the second arch boot entry in grub/syslinux/whatever).

Disable the "quiet" option in your commandline to see what is going on.

You can also append (from memory) systemd.target=rescue.target to the commandline.

If nothing of that works try to boot from a live medium, mount the system and chroot into it. Fix it with what you learned from booting, or (this should work for most cases) downgrading packages.

If nothing works, reinstall.

2 points

Well this is weird. I'm having the same problem as OP, and after doing what you suggested, all I can see is that it's running udev and lvm2 hooks, then says it's activating logical volume groups and finally that 3 volumes in my volume group are active and that's where it hangs. No error, just a hang.

1 points

I'm having the same problem as OP

OP doesn't actually have a problem - it was more of a "what if".

all I can see is that it's running udev and lvm2 hooks, then says it's activating logical volume groups and finally that 3 volumes in my volume group are active and that's where it hangs. No error, just a hang.

Did you migrate your configuration?

If not, do the live chroot thing (and rebuild the initramfs with "mkinitcpio -p linux").

1 points
unknown author1 hidden

Have you ever had to re-install? And should I make a second partition with a working backup?

1 points

Not really. I had arch for a year on my old laptop.

After it broke (hardware problem) I bought a new one and am now using the same arch install for about a year.

A backup isn't all that useful when it is on the same machine. Put it on another machine or an external drive or something.

1 points

Good to ask the question. hirnbrots first post is what I'd suggest. If you have to chroot run journalctl -b as to see system messages from boot.

Only time I've had to reinstall Arch was when I wanted to use dm-crypt / luks and lvm to encrypt my hard disk.

Arch is pretty stable really. You hear horror stories becuause its easier to screw up than other distros.

1 points

So it's good if you exercise caution. It's bad if you willy-nilly bandaid your symptoms without trying to understand what the underlying cause is?

Sounds about right.

1 points

Only time I've had a failed boot is first boot after and install when I've done something wrong.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.