Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
internet not working, chroot needed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
soldstatic
Guru
Guru


Joined: 02 Jun 2006
Posts: 305

PostPosted: Thu Jan 18, 2007 8:04 pm    Post subject: internet not working, chroot needed Reply with quote

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
View user's profile Send private message
moesasji
Apprentice
Apprentice


Joined: 10 May 2005
Posts: 263

PostPosted: Thu Jan 18, 2007 8:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
soldstatic
Guru
Guru


Joined: 02 Jun 2006
Posts: 305

PostPosted: Fri Jan 19, 2007 8:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
soldstatic
Guru
Guru


Joined: 02 Jun 2006
Posts: 305

PostPosted: Sat Jan 20, 2007 4:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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