Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ok I did two very stupid things as an early birthday present
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Appleman1234
n00b
n00b


Joined: 08 Jul 2006
Posts: 22

PostPosted: Sun Dec 23, 2007 4:09 am    Post subject: Ok I did two very stupid things as an early birthday present Reply with quote

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
View user's profile Send private message
Wormo
Retired Dev
Retired Dev


Joined: 29 Nov 2004
Posts: 526
Location: SB County California

PostPosted: Sun Dec 23, 2007 6:05 am    Post subject: Reply with quote

use 'depmod' utility to generate modules.dep
Back to top
View user's profile Send private message
Appleman1234
n00b
n00b


Joined: 08 Jul 2006
Posts: 22

PostPosted: Sun Dec 23, 2007 9:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum