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)
About this post
- Posted
- Archived
- Score
- 3 · 100% up
- Kind
- Text
- ID
- 18rs98
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.
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.
OP doesn't actually have a problem - it was more of a "what if".
Did you migrate your configuration?
If not, do the live chroot thing (and rebuild the initramfs with "mkinitcpio -p linux").
Have you ever had to re-install? And should I make a second partition with a working backup?
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.
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.
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.
Only time I've had a failed boot is first boot after and install when I've done something wrong.