You are not logged in.
So, I was doing this glibc update thing (which I did without a hitch on another system), and I had to go to the guide, and I guess I had stuff from kernel updates there.
Anyway, I got to the part where it said "you can safely remove /lib", and I removed it with rm -r. Then everything started crashing, so I rebooted and got a kernel panic, and then I tried to chroot from ubuntu (which I have installed for cases like this), and I got the error that /bin/bash doesn't exist (which it does).
So, what now?
Last edited by ninjaaron (2012-07-16 17:40:59)
Offline
Boot a livecd, mount your partitions, and reinstall glibc.
pacman -r /path/to/mounted/root -S glibcAlso, please use the forum search. This has been covered many times already.
Last edited by Barrucadu (2012-07-16 15:06:54)
Offline
"you can safely remove /lib"
That's insane, I doubt the page ever said that (it certainly doesn't now).
Offline
If you want to fix it from ubuntu, go to your pacman cache and extract /lib from glibc......16.0-1......
Last edited by progandy (2012-07-16 15:08:20)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
Try this
chroot /yourdirectory /usr/lib/ld-2.16.so /bin/bashor, as seen in the other guides add it to your grub boot line
init=/usr/lib/ld-2.16.so /bin/shfollowed by remounting root is writable.
Once I had finally booted, I deleted /lib, reinstalled linux and glibc, which got it somewhat working. I had to make a script to reinstall every package on my system to get everything working again, so that way probably isn't advisable.
Offline
ninjaaron wrote:"you can safely remove /lib"
That's insane, I doubt the page ever said that (it certainly doesn't now).
QFT !!
you were told to remove /lib/modules and that too only after verifying that the files were only owned by glibc and no other package. Don't blame the dev for your lack of reading !!
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
One common source of files in /lib is left overs from running depmod on a kernel update. For example:
error: No package owns /lib/modules/3.1.9-2-ARCH/modules.*If no other files are in /lib/modules, you can safely remove that directory.
I think OP was confused with that directory in wiki, since previous line was about /lib. Then it focused on /lib/modules.
Offline
I think OP was confused with that directory in wiki, since previous line was about /lib. Then it focused on /lib/modules.
oh. There it is. Trying suggestions now.
Offline
Boot a livecd, mount your partitions, and reinstall glibc.
pacman -r /path/to/mounted/root -S glibcAlso, please use the forum search. This has been covered many times already.
This one worked for me. Thanks to all for your patience.
Offline