Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Redhat / Fedora Linux Help
Reload this Page How to enter in to single user mode from Grub???
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Redhat / Fedora Linux Help Help and discussion related to Redhat and Fedora Linux.

Reply
 
Thread Tools Display Modes
Old 05-17-2006   #1 (permalink)
Greenday
Just Joined!
 
Join Date: Feb 2006
Posts: 37
How to enter in to single user mode from Grub???

hi,
wat should i modify or add so tht i can boot into single user mode....am using Redhat 9.0..Suse has "failsafe" option which can be selected during the start of boot procees itself....however i observed tht we cannot choose failsafe option untill we get to the login screen incase of Redhat.....i have read somwhere we can edit some options via grub to boot into single user mode.....does any one know wat to edit......or is there any other way around....to get into single user mode.....

any help will be appreciated....

Thanks
Greenday
Greenday is offline   Reply With Quote
Old 05-17-2006   #2 (permalink)
Roxoff
Linux Guru
 
Roxoff's Avatar
 
Join Date: Aug 2005
Location: Nottingham, England
Posts: 2,348
At the grub boot menu, select the option that lets you edit the kernel parameters. Add either a '1' or 'single' to the end of the kernel parameters, then continue booting up.

Dont get paranoid about this, not knowing it doesn't make you an American Idiot...
__________________
Linux user #126863 - see http://counter.li.org/
My Blog
Roxoff is online now   Reply With Quote
Old 05-17-2006   #3 (permalink)
Greenday
Just Joined!
 
Join Date: Feb 2006
Posts: 37
Quote:
Originally Posted by Roxoff
At the grub boot menu, select the option that lets you edit the kernel parameters. Add either a '1' or 'single' to the end of the kernel parameters, then continue booting up.




Dont get paranoid about this, not knowing it doesn't make you an American Idiot...
thanks for reply,

these r the options in grub menu

e- edit commands before booting,
c- command line,
a- modify the kernel arguments before booting.

so i selected 'e'.....it took me to one more menu which has three options

root (hd0,0)
kernel /vmlinuz-2.4.20-6 ro root=LABEL=/
initrd /initrd-2.4.20-6.img

which of the following should i add the "single' or '1'...i tried with the seond one ..doesnt seem to work.....am i doing something wrong


btw goodone on "american idiot" ha ha
Greenday is offline   Reply With Quote
Old 05-17-2006   #4 (permalink)
Roxoff
Linux Guru
 
Roxoff's Avatar
 
Join Date: Aug 2005
Location: Nottingham, England
Posts: 2,348
Quote:
Originally Posted by Greenday
thanks for reply,

these r the options in grub menu

e- edit commands before booting,
c- command line,
a- modify the kernel arguments before booting.

so i selected 'e'.....it took me to one more menu which has three options

root (hd0,0)
kernel /vmlinuz-2.4.20-6 ro root=LABEL=/
initrd /initrd-2.4.20-6.img

which of the following should i add the "single' or '1'...i tried with the seond one ..doesnt seem to work.....am i doing something wrong


btw goodone on "american idiot" ha ha
It's option A, I believe. But try it; if it's wrong, reboot with the reset button!

ps. Green Day are one of my favourite bands...
__________________
Linux user #126863 - see http://counter.li.org/
My Blog
Roxoff is online now   Reply With Quote
Old 05-17-2006   #5 (permalink)
Greenday
Just Joined!
 
Join Date: Feb 2006
Posts: 37
Quote:
Originally Posted by Roxoff
It's option A, I believe. But try it; if it's wrong, reboot with the reset button!

ps. Green Day are one of my favourite bands...

Thanks again....

I did add '1' to the first option "root(hd0,0)1"....it boots but it is again entering runlevel 5 automaticallly even after this.....any idea y this is happening even after adding '1'.....
Greenday is offline   Reply With Quote
Old 05-17-2006   #6 (permalink)
Roxoff
Linux Guru
 
Roxoff's Avatar
 
Join Date: Aug 2005
Location: Nottingham, England
Posts: 2,348
It's probably one of the others then... but what you do is when the boot menu appears, select the right option and you'll get to edit the command line parameters, they'll look a bit like the kernel line from grub.conf, just stick a 1 at the end of that (dont edit grub.conf btw, unless you always want to boot up in single user mode...)
__________________
Linux user #126863 - see http://counter.li.org/
My Blog
Roxoff is online now   Reply With Quote
Old 05-17-2006   #7 (permalink)
Greenday
Just Joined!
 
Join Date: Feb 2006
Posts: 37
Quote:
Originally Posted by Roxoff
It's probably one of the others then... but what you do is when the boot menu appears, select the right option and you'll get to edit the command line parameters, they'll look a bit like the kernel line from grub.conf, just stick a 1 at the end of that (dont edit grub.conf btw, unless you always want to boot up in single user mode...)

thanks for all your help...its the second option.....a space have to be there between the '/' and the '1' we add.....i wasn't giving the space.....it works now....

thanks again...

Greenday
Greenday is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 12:47 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0