View previous topic :: View next topic |
Author |
Message |
kevdoig Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/575095653412cce8333f69.gif)
Joined: 03 May 2004 Posts: 171
|
Posted: Thu Jun 17, 2004 1:53 pm Post subject: cannot execute "/sbin/agetty" |
|
|
Hi, i've had a stable gentoo sytem running, off and on, 3-4months now, but am having problems after an update. ran emerge rsync, and update world/system(emerge --update system; emerge --update world).. but now whe rebooting i get the following error:
cannot execute "/sbin/agetty"
i've read other posts tried adding single argument to kernel parameters and copying devfsd.conf from the gentoo-live cd. Any ideas? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Kalin Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/5347601853e9d846a98f6c.jpg)
Joined: 22 Dec 2002 Posts: 130 Location: Germany
|
Posted: Thu Jun 17, 2004 8:39 pm Post subject: |
|
|
So you cannot login then?
Boot off the LiveCD, mount your root form the hard (mkdir /mnt/t1 && mount /dev/hd<YOUR_ROOT_HERE> /mnt/tmp1) and send the output of the following commands:
ls -l /mnt/tmp1/sbin/agetty
grep getty /mnt/tmp1/etc/inittab
as a starter for debugging.
Try to chroot (as per the Gentoo install instructions) and emerge agetty again. (You can try mingetty as well). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kevdoig Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/575095653412cce8333f69.gif)
Joined: 03 May 2004 Posts: 171
|
Posted: Fri Jun 18, 2004 8:45 am Post subject: |
|
|
No, can't log in. Booted from live-cd fine and have got the info you needed, unfortunately i have no internet access on that machine just now so cant emerge aggetty again. here the info if it helps though.
ls -l /mnt/gentoo/sbin/agetty
-rwxr-xr-x 1 root root 14856 Jun 17 18:22 /mnt/gentoo/sbin/agetty
grep getty /mnt/gentoo/etc/inittab
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:12345:respawn:/sbin/agetty 38400 tty2 linux
c3:12345:respawn:/sbin/agetty 38400 tty3 linux
c4:12345:respawn:/sbin/agetty 38400 tty4 linux
c5:12345:respawn:/sbin/agetty 38400 tty5 linux
c6:12345:respawn:/sbin/agetty 38400 tty6 linux |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Kalin Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/5347601853e9d846a98f6c.jpg)
Joined: 22 Dec 2002 Posts: 130 Location: Germany
|
Posted: Fri Jun 18, 2004 10:50 am Post subject: |
|
|
Hmm, the output looks resonable.
What kernel are you using (or did emerge world update the kernel as well?, I doubt it).
Probbably you have problem with not opening a tty, so the result is agetty cannot be run.
Check the following options in your kernel config:
CONFIG_DEVFS_FS=y
CONFIG_DEVFS_MOUNT=y
CONFIG_VGA_CONSOLE=y
CONFIG_UNIX98_PTYS=y
Aren't there any errors during the boot?
You know, you can stop the scrolling by pressing ScrollLock, right :-)
There was something to set up in /etc/conf.d/rc to have init.d scripts log all output, but cannot find it now :-( |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
kevdoig Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/575095653412cce8333f69.gif)
Joined: 03 May 2004 Posts: 171
|
Posted: Wed Jun 23, 2004 6:47 pm Post subject: |
|
|
Everything looks fine to me.. still the same problem though. Oh well looks like another stage1 install for me lol ![Laughing :lol:](images/smiles/icon_lol.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|