LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I add a Shell option to grub (http://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-add-a-shell-option-to-grub-313432/)

DiSGuiZ 04-15-2005 01:56 AM

(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

xelt 04-15-2005 02:31 AM

in mandrake try linuxconf

xelt 04-15-2005 02:32 AM

or edit grub.conf [dont remember where is it there]. dont forget to ./grub.conf

DiSGuiZ 04-15-2005 04:20 PM

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

michaelsanford 04-15-2005 04:28 PM

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.


All times are GMT -5. The time now is 02:58 PM.