| View previous topic :: View next topic |
| Author |
Message |
codergeek42 Bodhisattva

Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Mon Jun 28, 2004 5:26 am Post subject: [SOLVED! THANK YOU!] chroot: FATAL: kernel too old. |
|
|
Umm...don't ask me why (I don't even know why...it just felt good at the time), but I did "emerge -C pam-login" and now I can't login anymore...as root or as my user. So I go to boot form the Gentoo LiveCD and follow the instructions to chroot into /dev/hda3 in order to emerge it again. so I mount it, etc. and then type | Code: | | # chroot /dev/hda3 /bin/bash | and it says | Quote: | | FATAL: kernel too old | ...and that happens from Knoppix 3.4, SUSE 9.0 LiveCD, and Gentoo 2004.0 LiveCD. This is really fursttrating and any help would be greatly appreciated. _________________ ~~ Peter: Brony, GNU/Linux geek, caffeine addict, and Free Software advocate.
Who am I? :: EFF & FSF
Last edited by codergeek42 on Tue Jun 29, 2004 2:36 am; edited 1 time in total |
|
| Back to top |
|
 |
codergeek42 Bodhisattva

Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Mon Jun 28, 2004 5:30 am Post subject: |
|
|
Forgot to add that I am typing this from booting into the SuSE LiveCD . _________________ ~~ Peter: Brony, GNU/Linux geek, caffeine addict, and Free Software advocate.
Who am I? :: EFF & FSF |
|
| Back to top |
|
 |
kiezpro Tux's lil' helper


Joined: 13 May 2004 Posts: 126 Location: Yes
|
Posted: Mon Jun 28, 2004 5:35 am Post subject: |
|
|
| That's a tricky one... I checked which files are installed with pam-login, and it seems like the only crucial ones are /etc/login.defs and /bin/login. You should be able to copy both from the Gentoo CD, boot from your harddrive and then re-emerge pam-login. Good luck! |
|
| Back to top |
|
 |
codergeek42 Bodhisattva

Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Mon Jun 28, 2004 5:39 am Post subject: |
|
|
Hmmm...I'll try that. Thanx. _________________ ~~ Peter: Brony, GNU/Linux geek, caffeine addict, and Free Software advocate.
Who am I? :: EFF & FSF |
|
| Back to top |
|
 |
RaaR Tux's lil' helper

Joined: 24 Jul 2003 Posts: 125
|
Posted: Mon Jun 28, 2004 6:38 pm Post subject: |
|
|
I may be reaching here but there's no harm in asking:
Does your system have a nptl glibc? If that is the case, bash won't work if you boot with a 2.4 kernel (hence the "kernel too old" error). Try booting with the Knoppix26 kernel and check if that solves the problem.
Good luck! |
|
| Back to top |
|
 |
codergeek42 Bodhisattva

Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Tue Jun 29, 2004 1:31 am Post subject: |
|
|
| RaaR wrote: | I may be reaching here but there's no harm in asking:
Does your system have a nptl glibc? If that is the case, bash won't work if you boot with a 2.4 kernel (hence the "kernel too old" error). Try booting with the Knoppix26 kernel and check if that solves the problem.
Good luck! | Yup. my working system had GLibC 2.3.3 (~x86) with NPTL. For some reason though, Knoppix26 won't boot (it get stuck on "Searching for CD-ROM on /dev/hdc...")...oh well. I'll try the SMP kernel on the 2004.0 Gentoo LiveCD, which (iirc) is 2.6.3 or something... _________________ ~~ Peter: Brony, GNU/Linux geek, caffeine addict, and Free Software advocate.
Who am I? :: EFF & FSF |
|
| Back to top |
|
 |
codergeek42 Bodhisattva

Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Tue Jun 29, 2004 2:22 am Post subject: |
|
|
IT WORKED!!!
THANK YOU!!!
THANK YOU!!!
THANK YOU!!!
Alright. Copying /bin/login from the LiveCD and using the SMP kernel worked and I was able to chroot and re-emerge pam-login.
And I can login normally and stuff now.
If either of you are ever around the Anaheim area, stop by and let me buy you a few rounds of non-alcholic beverages. _________________ ~~ Peter: Brony, GNU/Linux geek, caffeine addict, and Free Software advocate.
Who am I? :: EFF & FSF |
|
| Back to top |
|
 |
blue.sca l33t


Joined: 28 Aug 2003 Posts: 680 Location: Mainz, Germany
|
Posted: Tue Jun 29, 2004 8:14 am Post subject: |
|
|
hehe, i had the exact same problem, used the cruft script to remove my /etc/pam.d/* :) (bad thing btw, dont trust this).
i just copied over the files in /etc/pam.d/* on the livecd and could reboot and login, to re-emerge pam-login... _________________ geek by nature, linux by choice
i want my avatar back... thank you
:wq |
|
| Back to top |
|
 |
kiezpro Tux's lil' helper


Joined: 13 May 2004 Posts: 126 Location: Yes
|
Posted: Tue Jun 29, 2004 8:51 am Post subject: |
|
|
Well, I live about 6500 miles away from Anaheim, so it's not too often on my way :-)
Glad I could help though! |
|
| Back to top |
|
 |
|