Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
eth0 and login error after first reboot
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
terfy
n00b
n00b


Joined: 25 Jul 2005
Posts: 11
Location: Denmark

PostPosted: Thu Dec 15, 2005 11:28 am    Post subject: eth0 and login error after first reboot Reply with quote

Hi.. I did all what the install-intructions told me to do.. but when I reboot for the first time after installing gentoo ang grub and so on.. I get these errors..

couldn't find eth0

and

my root and userlogins are gone ?!?!?! I cant login as root NOR my user account.. (it seens that the installation didn't install my eth0 and user/root accounts correctly...

how can I fix this without reinstall gentoo ?? I mean.. I cant even login as root..

plz help..
Back to top
View user's profile Send private message
itsmegawtf
Apprentice
Apprentice


Joined: 01 Oct 2005
Posts: 150

PostPosted: Thu Dec 15, 2005 12:16 pm    Post subject: Reply with quote

load live-cd and just
Code:
chroot /mnt/your_paratition /bin/bash
then
Code:
passwd
Back to top
View user's profile Send private message
terfy
n00b
n00b


Joined: 25 Jul 2005
Posts: 11
Location: Denmark

PostPosted: Thu Dec 15, 2005 12:33 pm    Post subject: Reply with quote

thanks..

and how do I then make netmount start 'auto' ??
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 3038

PostPosted: Thu Dec 15, 2005 12:54 pm    Post subject: Reply with quote

make sure you haven't skipped or made mistakes in the editing of /etc/conf.d/net

please refer to here in case you've forgotten.

also, you'll need to emerge some extra programs if you're using dhcp network connection or pppoe cable modem connection.

refer here for what to install in that case.
Back to top
View user's profile Send private message
terfy
n00b
n00b


Joined: 25 Jul 2005
Posts: 11
Location: Denmark

PostPosted: Thu Dec 15, 2005 6:06 pm    Post subject: Reply with quote

I use dhcp, but it didn't say anything to install any further stuff to that.. and its not through ppp, just dhcp

I'll try tomorrow when I arrives to the PC again..
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Thu Dec 15, 2005 10:50 pm    Post subject: Reply with quote

My eth0 wasn't recognized when I built the driver into my kernel, but when I built it as a module it was.
Be sure to add the module name to /etc/modules.autoload.d/kernel-2.6.
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Fri Dec 16, 2005 2:06 am    Post subject: Reply with quote

from inside the computer try the normal things to get it running,
Code:
/etc/init.d/net.eth0 (re)start
also post
Code:
rc-update show default
and
Code:
rc-update show boot

_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
terfy
n00b
n00b


Joined: 25 Jul 2005
Posts: 11
Location: Denmark

PostPosted: Tue Jan 03, 2006 9:29 am    Post subject: Reply with quote

Quote:
load live-cd and just Kode:
chroot /mnt/your_paratition /bin/bash
then Kode:
passwd


ehm, tried chroot /mnt/hda /bin/bash but didnt seen to work..
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Tue Jan 03, 2006 12:32 pm    Post subject: Reply with quote

terfy wrote:
Quote:
load live-cd and just Kode:
chroot /mnt/your_paratition /bin/bash
then Kode:
passwd
ehm, tried chroot /mnt/hda /bin/bash but didnt seen to work..
thats because chroot is "change root" and /mnt/hda isn't a root, nor is /dev/hda and there wont even be a /mnt/hda. what you have to do is mount /dev/hda3 in /mnt/gentoo and /dev/hda1 in /mnt/gentoo/boot then chroot /mnt/gentoo /bin/bash
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
terfy
n00b
n00b


Joined: 25 Jul 2005
Posts: 11
Location: Denmark

PostPosted: Thu Jan 05, 2006 9:40 pm    Post subject: Reply with quote

thanks.. it helped, my bad - I missed a logical sence in my head. :wink:
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Thu Jan 05, 2006 9:54 pm    Post subject: Reply with quote

terfy wrote:
thanks.. it helped, my bad - I missed a logical sence in my head. :wink:
nil problemo, we all do it.

I didn't do it for 6 months and forgot, i sat there wondering why "chroot /mnt/gentoo /bin/bash" wouldn't work... Well it was because i forgot to mount /dev/hda3 in /mnt/gentoo etc
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Fri Jan 06, 2006 4:19 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Networking & Security.
post installation network problem, so moved here.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
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