View previous topic :: View next topic |
Author |
Message |
terfy n00b
Joined: 25 Jul 2005 Posts: 11 Location: Denmark
|
Posted: Thu Dec 15, 2005 11:28 am Post subject: eth0 and login error after first reboot |
|
|
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 |
|
|
itsmegawtf Apprentice
Joined: 01 Oct 2005 Posts: 150
|
Posted: Thu Dec 15, 2005 12:16 pm Post subject: |
|
|
load live-cd and just Code: | chroot /mnt/your_paratition /bin/bash | then |
|
Back to top |
|
|
terfy n00b
Joined: 25 Jul 2005 Posts: 11 Location: Denmark
|
Posted: Thu Dec 15, 2005 12:33 pm Post subject: |
|
|
thanks..
and how do I then make netmount start 'auto' ?? |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 3038
|
Posted: Thu Dec 15, 2005 12:54 pm Post subject: |
|
|
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 |
|
|
terfy n00b
Joined: 25 Jul 2005 Posts: 11 Location: Denmark
|
Posted: Thu Dec 15, 2005 6:06 pm Post subject: |
|
|
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 |
|
|
jedsen Apprentice
Joined: 15 Oct 2004 Posts: 276 Location: Sacramento, California, USA
|
Posted: Thu Dec 15, 2005 10:50 pm Post subject: |
|
|
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 |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Fri Dec 16, 2005 2:06 am Post subject: |
|
|
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 |
|
|
terfy n00b
Joined: 25 Jul 2005 Posts: 11 Location: Denmark
|
Posted: Tue Jan 03, 2006 9:29 am Post subject: |
|
|
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 |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Tue Jan 03, 2006 12:32 pm Post subject: |
|
|
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 |
|
|
terfy n00b
Joined: 25 Jul 2005 Posts: 11 Location: Denmark
|
Posted: Thu Jan 05, 2006 9:40 pm Post subject: |
|
|
thanks.. it helped, my bad - I missed a logical sence in my head. |
|
Back to top |
|
|
cokey Advocate
Joined: 23 Apr 2004 Posts: 3355
|
Posted: Thu Jan 05, 2006 9:54 pm Post subject: |
|
|
terfy wrote: | thanks.. it helped, my bad - I missed a logical sence in my head. | 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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Fri Jan 06, 2006 4:19 pm Post subject: |
|
|
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 |
|
|
|