You are not logged in.

#1 2012-07-17 11:21:19

mibadt
Member
Registered: 2009-09-25
Posts: 396

Arch_X86-64 won't finish loading after chroot

Hi,
Till this morning my system worked fine. Like many others, while upgrading I couldn't upgrade glibc (dependencies problem). The relevant forum discussion offered that in such a case I should move all my /usr/lib/ files to a temp backup and upgrade glibc. Unfortunately, this didn't help, and, as a "bonus" my system hung.

Following an advice I've got, I chrooted (per relevant Wiki page, using Arch 2011.08.19 net install CD).
Initially I had no problems following the chroot wiki page. However, once I've tried to issue the "chroot  . /bin/bash" command it failed complaining a missing libreadline.so.6.
Still I've moved back all the files from temp directory to the usr/lib (both under /mnt/arch).
Afterwards, I followed the chroot wiki to exit.

I've tried to reboot, yet after selecting to correct entry from the (legacy) GRUB,  the process ended with a terminal (tty1) stating my Arch version (3.4.40 and the following line:

(none) login:

I've tried to login from this prompt both as root and regular user, yet in both cases it didn't prompt me for the password.

Please advise!

Thanks up front!

Last edited by mibadt (2012-07-17 20:42:42)


Best regards,
Michael Badt

Offline

#2 2012-07-17 13:11:26

mibadt
Member
Registered: 2009-09-25
Posts: 396

Re: Arch_X86-64 won't finish loading after chroot

Hi again,
I' ve managed to correctly chroot (had to switch to / before running bash). Yet, once starting GRUB, I remain with the terminal as detailed above.
Any idea?


Best regards,
Michael Badt

Offline

#3 2012-07-17 13:18:44

masteryod
Member
Registered: 2010-05-19
Posts: 433

Re: Arch_X86-64 won't finish loading after chroot

My advice is: read news page! It's 3 days old now: http://www.archlinux.org/news/the-lib-d … a-symlink/. In there you've got detailed instructions. This kind of things happens in Arch very rarely but whenever something doesn't go smooth with pacman you should first check archlinux.org and/or forums.

Now back to topic: You shouldn't move all files and you probably meant /lib directory not /usr/lib? Try recreate state before breakage (I assume you didn't succeed with glibc upgrade which is good for now) i.e. move files (via livecd) back to /lib (copy it instead of moving, it's nice to have a backup). And then go with the official guidance from link above.

Offline

#4 2012-07-17 13:30:16

mibadt
Member
Registered: 2009-09-25
Posts: 396

Re: Arch_X86-64 won't finish loading after chroot

Thanks,
I've moved the files back using chroot. Yet, as said. Arch won't complete starting.
any idea?
Thanks


Best regards,
Michael Badt

Offline

#5 2012-07-17 13:57:37

Pres
Member
Registered: 2011-09-12
Posts: 423

Re: Arch_X86-64 won't finish loading after chroot

Chroot in and complete the update by following the news article masteryod linked to. If it still won't let you login, try reinstalling util-linux.

Offline

#6 2012-07-17 13:57:37

masteryod
Member
Registered: 2010-05-19
Posts: 433

Re: Arch_X86-64 won't finish loading after chroot

So everything is as it was before breakage? Check permissions?

Offline

#7 2012-07-17 17:42:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Arch_X86-64 won't finish loading after chroot

Please edit your first post and choose a more descriptive thread title...
https://wiki.archlinux.org/index.php/Fo … ow_to_Post


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2012-07-17 20:41:54

mibadt
Member
Registered: 2009-09-25
Posts: 396

Re: Arch_X86-64 won't finish loading after chroot

OK, will do.


Best regards,
Michael Badt

Offline

Board footer

Powered by FluxBB