LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 03-29-2007, 02:53 PM   #1
fw12
Member
 
Registered: Mar 2006
Distribution: Fedora core, Ubuntu
Posts: 168

Rep: Reputation: 30
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?
 
Old 03-29-2007, 03:22 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655Reputation: 655
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.

Last edited by jschiwal; 03-29-2007 at 03:24 PM.
 
Old 03-30-2007, 03:26 PM   #3
sandgroper
Member
 
Registered: Jul 2004
Location: Perth , Western Australia
Distribution: Fedora Core 5 , Mint 9
Posts: 118

Rep: Reputation: 15
Wink

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 ]



.
 
Old 03-30-2007, 03:39 PM   #4
fw12
Member
 
Registered: Mar 2006
Distribution: Fedora core, Ubuntu
Posts: 168

Original Poster
Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Preventing Linux from booting in Single User Mode LinuxSeeker Linux - Security 8 08-28-2009 08:12 AM
single user mode... navaladi Mandriva 2 12-26-2004 03:41 AM
linux single user mode and lilo installed failed ckamheng Slackware 1 11-27-2003 02:06 PM
single user mode ? wr3ck3d Slackware 5 03-29-2003 10:52 AM
What is single-user mode?? rbanonuevo Linux - Newbie 4 01-28-2002 01:17 PM


All times are GMT -5. The time now is 08:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration