You are not logged in.

#1 2016-02-15 20:07:54

SargonX
Member
Registered: 2014-05-12
Posts: 11

[SOLVED] Crash during pacman upgrade, now cannot login

I've just tried to upgrade my other arch machine and during applying changes the machine crashed. It seems it crashed at a very bad place... now I cannot login anymore because the login service times out during booting. There's bunch of other things failing before that but it disappears too quickly.

I've booted from USB and when I arch-chroot into my mounted arch installation, the root directory is empty (the mounted directories are not empty though). That means I cannot investigate the journal and also cannot reinstall anything with pacman. It seems to me its missing some critical files here.... any idea what else I could try?

Last edited by SargonX (2016-02-15 21:31:02)

Offline

#2 2016-02-15 20:18:17

headkase
Member
Registered: 2011-12-06
Posts: 2,008

Re: [SOLVED] Crash during pacman upgrade, now cannot login

You, sir, are fscked.  Restore from backups - you have backups right? - or salvage what you can from the installed system.  Wait until someone else chimes in though.

Offline

#3 2016-02-15 20:26:44

olive
Member
From: Belgium
Registered: 2008-06-22
Posts: 1,490

Re: [SOLVED] Crash during pacman upgrade, now cannot login

You could try, from the archlinux install CD, to use pacman with the --root option without chrooting; so you could reinstall packages. You can try something like this (assuming you have mounted your broken installation under /mnt/broken-arch):

pacman --root /mnt/broken-arch -S $(pacman --root /mnt/broken-arch -Qq) # untested

to reinstall all packages. You can of course examine the log file from there.

But maybe if your system is really broken, you may want to reinstall it completely. Do a backup of your /home directory that you will restore afterwards.

Last edited by olive (2016-02-15 20:40:20)

Offline

#4 2016-02-15 21:30:17

SargonX
Member
Registered: 2014-05-12
Posts: 11

Re: [SOLVED] Crash during pacman upgrade, now cannot login

Thanks for your replies.

I've decided to make a clean install of the system by tomorrow. I do have a backup of my personal data. wink Since reinstalling is rather simple, it just seems like a safer way.

Offline

Board footer

Powered by FluxBB