LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (http://www.linuxquestions.org/questions/fedora-35/)
-   -   Linux Single user mode (http://www.linuxquestions.org/questions/fedora-35/linux-single-user-mode-541689/)

fw12 03-29-2007 02:53 PM

Linux Single user mode
 
I want to learn how to use Linux Rescue disk.

I recently had a situation where my linux box won't boot.

I got the error:

Loading Grub stage 2: read error

Then nothing happens after that error.

I was adviced to boot linux in single user mode, and run fsck.

So I popped in my FC6 rescue disk.
At the prompt, I typed "linux single".
The system then simply goes straight into trying to install linux.

How do I get the command prompt in Single user mode?

jschiwal 03-29-2007 03:22 PM

Try typing in "rescue" instead when using the install disk. The "single" mode you would enter from your installed systems grub menu, but since you can't get that far, it won't work in this case. It would be ideal if you had forgot the root password. Although on some systems that isn't that case and you would still need the root password. Entering "init=/bin/bash" is another option. This will drop you straight into the shell instead of running init.

sandgroper 03-30-2007 03:26 PM

Quote:

Originally Posted by fw12
I want to learn how to use Linux Rescue disk.

I recently had a situation where my linux box won't boot.

I got the error:

Loading Grub stage 2: read error

Then nothing happens after that error.

I was adviced to boot linux in single user mode, and run fsck.

So I popped in my FC6 rescue disk.
At the prompt, I typed "linux single".
The system then simply goes straight into trying to install linux.

How do I get the command prompt in Single user mode?

To get into linux to be able to fix problems you

Boot to the CD/DVD

Hit [F5]
Type linux rescue
Go through the basic setup settings
Mount File system at the command line by typing : chroot /mnt/sysimage
Fix problem(s)
Remove CD/DVD
Reboot system using the command : shutdown -r now
( or use [ Alt-Control-Delete ]



.

fw12 03-30-2007 03:39 PM

Thanks for the help.

I was able to get in using:
linux rescue.

My initial confusion for using "linux single" was from this page:
http://www.redhat.com/docs/manuals/l...ng-single.html


All times are GMT -5. The time now is 07:32 AM.