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.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Redhat / Fedora Linux Help > How to enter in to single user mode from Grub???
 Redhat / Fedora Linux Help   Help and discussion related to Redhat and Fedora Linux.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 05-17-2006   #1 (permalink)
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)
Trusted Penguin
 
Roxoff's Avatar
 
Join Date: Aug 2005
Location: Nottingham, England
Posts: 2,748
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/
Roxoff is offline   Reply With Quote
Old 05-17-2006   #3 (permalink)
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)
Trusted Penguin
 
Roxoff's Avatar
 
Join Date: Aug 2005
Location: Nottingham, England
Posts: 2,748
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/
Roxoff is offline   Reply With Quote
Old 05-17-2006   #5 (permalink)
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)
Trusted Penguin
 
Roxoff's Avatar
 
Join Date: Aug 2005
Location: Nottingham, England
Posts: 2,748
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/
Roxoff is offline   Reply With Quote
Old 05-17-2006   #7 (permalink)
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

Free Magazines
Free Network Mapping Tool for Microsoft® Office Visio® Professional 2007 Users
Don't map your network by hand – let LANsurveyor Express for Microsoft Visio Professional 2007 automatically create network diagrams for you.
subscribe
Free eBook:"Vulnerability Management for Dummies"
Get all the Facts and See How to Implement a Successful Vulnerability Management Program.
subscribe
Google vs The World: The Battle of the Message Security Vendors
With such a powerful name behind it, Google Message Security stands out in a sea of products that do exactly the same thing - or so they say.
subscribe

Safe, Secure Backup


All times are GMT. The time now is 07:23 AM.






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

Content Relevant URLs by vBSEO 3.3.0 RC2