LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 03-22-2005, 08:39 AM   #1
Cornholio
Member
 
Registered: Dec 2004
Location: Alemania
Distribution: Slackware 10.0
Posts: 115

Rep: Reputation: 15
[LILO] Choose runlevel


Hi there!

Can someone please tell me, if there is any argument I could add to /etc/lilo.conf so that I can boot into different runlevels ?

like:

image=/...
label="Slack RL3"
append="hdc=ide-scsi runlevel=3"

image=/...
label="Slack RL4"
appaend="hdc=ide-scsi runlevel=4"


Got my point? :-)

Thanks a lot, Sascha

Last edited by Cornholio; 03-24-2005 at 07:09 AM.
 
Old 03-22-2005, 09:23 AM   #2
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
Yup, there is. I think it's "init=" but I can't swear to it. . .
 
Old 03-22-2005, 10:37 AM   #3
Cornholio
Member
 
Registered: Dec 2004
Location: Alemania
Distribution: Slackware 10.0
Posts: 115

Original Poster
Rep: Reputation: 15
Ok, I'll give it a try and will report :-)

Thanks
 
Old 03-24-2005, 03:52 AM   #4
Cornholio
Member
 
Registered: Dec 2004
Location: Alemania
Distribution: Slackware 10.0
Posts: 115

Original Poster
Rep: Reputation: 15
Ok... I tried and failed...

This is a part of my lilo.conf:
append="splash=silent hdc=ide-scsi init=3"

But starts RL4 anyway!

Any suggestions? :-)
 
Old 03-24-2005, 05:05 AM   #5
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
Hang on. . . you've got Grub in the title, but you're using Lilo. . ?

Lilo, IIRC, you just have to add the runlevel number you want after the image name, eg: linux 3
 
Old 03-24-2005, 06:33 AM   #6
Cornholio
Member
 
Registered: Dec 2004
Location: Alemania
Distribution: Slackware 10.0
Posts: 115

Original Poster
Rep: Reputation: 15
Oh, damn!!! I am soooo sorry. Hell, I didn't see I wrote GRUB .. don't know why I did ... *slap myself*

Yeah, using lilo ... sorry sooo much!

I'll try what you say!

Thanks
 
Old 03-24-2005, 07:11 AM   #7
Cornholio
Member
 
Registered: Dec 2004
Location: Alemania
Distribution: Slackware 10.0
Posts: 115

Original Poster
Rep: Reputation: 15
Well, wether I am tooo stupid or it doesn't work:

Here is the a part from my lilo.conf:

# Linux bootable partition config begins
image=/boot/vmlinuz-2.4.28 3 # Runlevel 3
initrd="/boot/initrd"
append="splash=silent hdc=ide-scsi"
root = /dev/hdb2
label = Slack-RL3
vga="794"
read-only
# Linux bootable partition config ends

If I try to run /sbin/lilo I get:
Unrecognized token "3" at or above line 69 in file '/etc/lilo.conf'

Tell me... stupid or not working? :-)

Greetings, Sascha
 
Old 03-24-2005, 10:50 AM   #8
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 46
Try:
append = "3"
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the difference between runlevel 2 and runlevel 5 in Debian? davidas Linux - Newbie 2 01-05-2012 02:10 PM
How to configure GRUB to wait for me to choose the OS smithtodda Suse/Novell 3 02-13-2005 08:58 PM
Change runlevel under GRUB prompt? _tracyy Linux - Software 2 07-23-2004 01:49 AM
Runlevel 5 lapthorn Linux - Newbie 6 12-03-2003 06:23 AM
X does not start in Runlevel 4, but i Runlevel 3 Rabon Linux - General 3 11-18-2003 07:24 AM


All times are GMT -5. The time now is 08:38 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration