LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-15-2005, 12:56 AM   #1
DiSGuiZ
LQ Newbie
 
Registered: Jan 2004
Location: Oklahoma
Distribution: Mandrake
Posts: 11

Rep: Reputation: 0
(solved) How do I add a Shell option to grub


Hello
(Insert stuff about being a Newb here)
(insert "my question is" here instead of asking the question"
How do I put an option to boot into a Shell in grub? IF that is not possible (of course its possible.) How do I get into a shell JUST A SHELL NO X from kde or gnome?

(Insert appreciation for any help given here)

Thankx
DiSGuiZ

Last edited by DiSGuiZ; 04-15-2005 at 03:15 PM.
 
Old 04-15-2005, 01:31 AM   #2
xelt
Member
 
Registered: Apr 2005
Location: Prague, Czech Republic
Distribution: SUSE, Mandrake
Posts: 34

Rep: Reputation: 15
in mandrake try linuxconf
 
Old 04-15-2005, 01:32 AM   #3
xelt
Member
 
Registered: Apr 2005
Location: Prague, Czech Republic
Distribution: SUSE, Mandrake
Posts: 34

Rep: Reputation: 15
or edit grub.conf [dont remember where is it there]. dont forget to ./grub.conf
 
Old 04-15-2005, 03:20 PM   #4
DiSGuiZ
LQ Newbie
 
Registered: Jan 2004
Location: Oklahoma
Distribution: Mandrake
Posts: 11

Original Poster
Rep: Reputation: 0
How to get to a shell.

To get to a shell through grub you hilight linux if your dual booting and press e then you hilight the line that begins with "kernel" and press e again. Go to the end of the line put a space and put the number 3. Then press b to boot. This will start you in a shell at run level 3 with network support.

DiSGuiZ
 
Old 04-15-2005, 03:28 PM   #5
michaelsanford
Member
 
Registered: Feb 2005
Location: Ottawa/Montréal
Distribution: Slackware + Darwin (MacOS X)
Posts: 468

Rep: Reputation: 30
I use lilo, and I don't know which distro you're using but the XWindow system isn't started by the bootloader per se, it's started in runlevel 4 by initd.

If you always want to boot to a shell edit /etc/inittab and change
Code:
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
to
Code:
# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:
If this is just an occasional thing for debugging, then I'd stick with your last post.

Last edited by michaelsanford; 04-15-2005 at 03:47 PM.
 
  


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
How can I add a service option to the firewall graymate Libranet 1 10-30-2003 06:20 PM
how to add floppy option in grub? JIV Linux - Software 3 05-03-2003 08:51 PM
need to recompile modules if i add something to kernel option? doublefailure Linux - General 1 03-05-2003 10:31 PM
want to add lilo option to ntloader onlyhuman9 Linux - Software 1 09-21-2001 02:49 AM
ADD A PREVIEW OPTION Stephanie General 0 05-02-2001 09:38 AM


All times are GMT -5. The time now is 11:22 PM.

Main Menu
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