View previous topic :: View next topic |
Author |
Message |
itchanddino n00b
Joined: 24 Aug 2007 Posts: 19
|
Posted: Sun Sep 02, 2007 4:24 pm Post subject: Can't boot gentoo rescue mode |
|
|
Hello, every time I try to boot into rescue mode, I get the following error:
/bin/bb: can't access tty; job control turned off.
I already read these posts:
https://forums.gentoo.org/viewtopic-t-569975.html
https://forums.gentoo.org/viewtopic-t-562677.html
https://forums.gentoo.org/viewtopic-t-538121.html
One of them fixed it by disabling safe mode (not really a solution), another fooled around with his grub.conf and didn't say what he did, and I'm not sure what happened to the third guy.
The listing that will not properly boot is:
title=Gentoo Linux 2.6.22-r5 (rescue)
root (hd0,0)
kernel /boot/kernel-2.6.22-gentoo-r5 root=/dev/sda3 init=/bin/bb
Does anyone know how to fix this? I can type su, but what I can do is very limited. Thanks!
Edit: I can boot regularly just fine, it's just rescue mode which doesn't work. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54330 Location: 56N 3W
|
Posted: Sun Sep 02, 2007 5:26 pm Post subject: |
|
|
itchanddino,
Thats an emergency provide a few shell tools to get you going.
All rescue mode does is mounts root and gives you a busybox root shell.
After that you are on your own. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Habbit Apprentice
Joined: 01 Sep 2007 Posts: 237 Location: 3.7137 W, 40.3873 N
|
Posted: Sun Sep 02, 2007 5:44 pm Post subject: |
|
|
NeddySeagoon wrote: | All rescue mode does is mounts root and gives you a busybox root shell |
In fact, in order to protect you from failures in baselayout or dynamic linking issues in the coreutils/grep/whatever, the /bin/bb (busybox) is statically linked, and commands such as ls, cp, mv, grep, etc. are really builtins _________________
Code: | ~ $ objdump -d ./habbit_mind
90 xchg %rax, %rax
EB FD jmp $-3 |
|
|
Back to top |
|
|
itchanddino n00b
Joined: 24 Aug 2007 Posts: 19
|
Posted: Sun Sep 02, 2007 9:10 pm Post subject: |
|
|
Alright, so I shouldn't worry about the messages? Thanks again! |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54330 Location: 56N 3W
|
Posted: Sun Sep 02, 2007 9:33 pm Post subject: |
|
|
Habbit,
My busybox isn't static and I don't think its the defualt either.
It would be more use for a rescue if it were. Code: | $ emerge busybox -pv
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-apps/busybox-1.7.0 USE="pam -debug -make-symlinks -savedconfig (-selinux) -static" 0 kB |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|