View previous topic :: View next topic |
Author |
Message |
Appleman1234 n00b
Joined: 08 Jul 2006 Posts: 22
|
Posted: Sun Dec 23, 2007 4:09 am Post subject: Ok I did two very stupid things as an early birthday present |
|
|
Hi everyone,
I did two very stupid things while attempting to fix a /lib symlink.
First of all I unlinked it in a su shell and hence couldn't use busybox.static.
Second I pulled out my gentoo livecd and accidently forgot the /mnt/gentoo scope and moved all of /lib or /lib64 in the ram and then accidently restarted my machine.
So now I have no valid /lib. I can't boot my machine, I can't chroot (I think) and copying /lib or /lib64 from the gentoo livecd.
My options are backup and reinstall and hope that by tommorow (my birthday) I at least have links and an internet connection. (posting this from brother's laptop)
Or somehow obtain and restore enough of /lib so my system boots and revdep-rebuild can fix the rest , any ideas or suggestions ?
Thanks for your time,
Appleman1234
UPDATE: I managed to get the livecd to chroot using sh from busybox despite pam lib errors, I can now login in as root normally and am running revdep-rebuild and wondering howto generate modules.dep |
|
Back to top |
|
|
Wormo Retired Dev
Joined: 29 Nov 2004 Posts: 526 Location: SB County California
|
Posted: Sun Dec 23, 2007 6:05 am Post subject: |
|
|
use 'depmod' utility to generate modules.dep |
|
Back to top |
|
|
Appleman1234 n00b
Joined: 08 Jul 2006 Posts: 22
|
Posted: Sun Dec 23, 2007 9:11 am Post subject: |
|
|
I did, but it didn't let me, I had to recompile my kernel and then use depmod.
I just have to wait for the revdep-rebuild to finish.
Thanks
UPDATE: Back to normal, I no longer dislike chroots |
|
Back to top |
|
|
|