LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-31-2008, 04:26 PM   #1
ahh_username_taken
LQ Newbie
 
Registered: Aug 2008
Distribution: Slackware 12.1,Ubuntu 8.04 & OpenSUSE 11
Posts: 18

Rep: Reputation: 0
Booting to different run levels


Good Day,

Is it possible to configure lilo to have the option to boot to different run levels for the same linux partition, say one entry would boot you directly into run level 4 (X server) and another entry would boot you into the default run level 3 ( command line one).Hope i got the init run levels correct.


Any help would be appreciated
 
Old 08-31-2008, 06:04 PM   #2
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
Yes this is possible, I used to do this as well when I used lilo many years ago (grub IMO is much easier now).

Just duplicate the entry you typically boot, and use:
append="3"

This I think passes the "3" to the kernel which tells it to boot runlevel 3.

Please double check this, it has been a long time since I did this.
 
Old 08-31-2008, 06:20 PM   #3
ahh_username_taken
LQ Newbie
 
Registered: Aug 2008
Distribution: Slackware 12.1,Ubuntu 8.04 & OpenSUSE 11
Posts: 18

Original Poster
Rep: Reputation: 0
thanks for the reply will try and get back to you
 
Old 08-31-2008, 06:54 PM   #4
ahh_username_taken
LQ Newbie
 
Registered: Aug 2008
Distribution: Slackware 12.1,Ubuntu 8.04 & OpenSUSE 11
Posts: 18

Original Poster
Rep: Reputation: 0
OK, tried the append="3" and glad to report it worked

many thanks
 
Old 08-31-2008, 07:10 PM   #5
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,230

Rep: Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722Reputation: 722
Not a real test, Slackware boots in runlevel 3 by default!
Just kidding though, I am sure it will also work with runlevel 4
 
Old 08-31-2008, 07:55 PM   #6
ahh_username_taken
LQ Newbie
 
Registered: Aug 2008
Distribution: Slackware 12.1,Ubuntu 8.04 & OpenSUSE 11
Posts: 18

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by keefaz View Post
Not a real test, Slackware boots in runlevel 3 by default!
Just kidding though, I am sure it will also work with runlevel 4
LOL... yeah it works with runlevel 4 , but i had runlevel 4 as my default boot so the append="3" was really a test for me but i see where you are coming from
 
Old 09-01-2008, 10:24 AM   #7
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 545Reputation: 545Reputation: 545Reputation: 545Reputation: 545Reputation: 545
Perhaps the following will help:

Configuring Slackware for a GUI and a Command Line Startup
 
  


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
Standard Run Levels? TGWDNGHN Linux - General 2 12-24-2006 11:56 AM
what are run levels in chkconfig tej Linux - Newbie 1 09-20-2004 01:15 AM
How to Change Run Levels walsht3108 Linux - Newbie 4 08-27-2003 02:43 PM
Changing run levels in the bootloader IceNineJon Linux - Newbie 5 06-06-2002 12:11 AM
Changing Run Levels unclebyron Linux - General 1 01-28-2002 04:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:26 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration