View previous topic :: View next topic |
Author |
Message |
soldstatic Guru
Joined: 02 Jun 2006 Posts: 305
|
Posted: Thu Jan 18, 2007 8:04 pm Post subject: internet not working, chroot needed |
|
|
yall are gonna laugh at me, but way back when x went modular.... i did an emerge u world or something and it screwed up some stuff, mostly just because it couldnt finish the emerge because it knocked out a needed component i think it was sam log in or some kind of log in thing. I can't log in to an x server or anything, but i can log in and would do an emerge U to finish this stuf fbut it doesnt have internet...
Somebody said I needed to get a livecd and do a chroot or something and then run the emerge... but i was wondering if someone could help me out and tell me just what to do again. My old posts have all disappeared since the forum has probably been pruned. if ya got some time, I'd really appreciate it! Thanks in advance! |
|
Back to top |
|
|
moesasji Apprentice
Joined: 10 May 2005 Posts: 263
|
Posted: Thu Jan 18, 2007 8:26 pm Post subject: |
|
|
To get access to your system you do the following. (change the hda3, hda2 & hda1) to correspond to your root, swap and boot-partition.
Code: |
Boot from the Install CD and wait until you receive a prompt
We first mount all partitions:
# mount /dev/hda3 /mnt/gentoo
# mount /dev/hda1 /mnt/gentoo/boot
# swapon /dev/hda2
# mount -t proc none /mnt/gentoo/proc
Then we chroot into our Gentoo environment:
# chroot /mnt/gentoo /bin/bash
# env-update && source /etc/profile
|
With this you chrooted into your installation and can do any fixes necessary.
ps) Try to write normal sentences next time.
It will greatly improve your changes in getting help.
ps2) If you have problems with login there is a big chance the problem is with the packages shadow or pam |
|
Back to top |
|
|
soldstatic Guru
Joined: 02 Jun 2006 Posts: 305
|
Posted: Fri Jan 19, 2007 8:55 pm Post subject: |
|
|
heh oops didn't realize i had a run-on sentance there. Thanks for bearing with me! I'll do that tonight or tomorrow when I get some time, thank you very very much! |
|
Back to top |
|
|
soldstatic Guru
Joined: 02 Jun 2006 Posts: 305
|
Posted: Sat Jan 20, 2007 4:15 pm Post subject: |
|
|
i'm pretty sure the problem was with pam, maybe shadown though... at any rate its running a bunch of emerges now, something like 125... sigh.
Thanks alot for your help man, |
|
Back to top |
|
|
|