LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-19-2003, 07:26 PM   #1
greendemon
LQ Newbie
 
Registered: Jul 2003
Location: Reading, UK
Posts: 22

Rep: Reputation: 15
Adding an option to the SUSE 8.2 Boot Menu


I would like to add an option to the SUSE 8.2 Boot Menu that would just boot linux to a command line, and not load the gui. Is this possible? (or am I missing something obvious!?)
 
Old 07-19-2003, 09:44 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,354

Rep: Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553Reputation: 553
I do not think that the bootloader can make the decision as to what runlevel you boot into. That decision is made based on the contents of /etc/inittab.

In /etc/inittab you will find a line that says:
id:5:initdefault
which means to boot into a GUI
If you change that line to:
id:3:initdefault
then you will boot into a command line.

Now I have never tried this but theoretically if you set that line to
id::initdefault
then boot should stop and ask you what runlevel do you want. For GUI reply 5, for command line reply 3.

The other possibility is to take the id:5:initdefault line entirely out of /etc/inittab and again boot should stop and ask you for a runlevel number.

You could be the guinea penguin and see if this theory really works. You will need a rescue CD or floppy to set /etc/inittab back to 5 if boot fails due to a bad parameter in /etc/inittab.

A saner method is to set the default run level to 3 and if you want a GUI then startx.


Last edited by jailbait; 07-19-2003 at 09:50 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
Adding Red Hat to Boot Menu After Installation deesto Red Hat 19 05-30-2005 09:36 AM
Dual Boot : Making Windows First Option in boot menu Maxwell Rain Linux - Software 3 11-27-2004 03:00 PM
Adding menu option (to GNOME) podollb Linux - Software 2 10-23-2004 07:33 PM
boot option menu teh_truth Linux - Newbie 16 05-25-2004 04:51 PM
Adding Menu Entry in GDM on SuSE 8.2 JoshuaRogers Linux - Software 1 10-18-2003 09:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:44 AM.

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
Open Source Consulting | Domain Registration