Unix Technical Forum

lilo and X

This is a discussion on lilo and X within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> How to make so as so in lilo menu choose bettwen runlevels (text/X mode)? THX in advance...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 08:43 PM
ZEBRA ScHiZzEr
 
Posts: n/a
Default lilo and X

How to make so as so in lilo menu choose bettwen runlevels (text/X mode)?

THX in advance
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-18-2008, 08:43 PM
David
 
Posts: n/a
Default Re: lilo and X

ZEBRA ScHiZzEr wrote:
> How to make so as so in lilo menu choose bettwen runlevels (text/X mode)?


You don't set which runlevel to boot from lilo.
It is set in /etc/inittab by changing the 3 to a 4 in the line below.

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

--
Confucius: He who play in root, eventually kill tree.
Registered with The Linux Counter. http://counter.li.org/
Slackware 9.1.0 Kernel 2.4.23 SMP i686 (GCC) 3.3.2
Uptime: 2 days, 23:02, 2 users, load average: 1.00, 0.38, 0.18
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-18-2008, 08:43 PM
Joost Kremers
 
Posts: n/a
Default Re: lilo and X

David wrote:
> ZEBRA ScHiZzEr wrote:
>> How to make so as so in lilo menu choose bettwen runlevels (text/X mode)?

>
> You don't set which runlevel to boot from lilo.


but you can pass the runlevel on the lilo prompt. '<label> <runlevel>' is
the syntax, IIRC. so if you want to boot 'linux' in runlevel 1, you can
type 'linux 1' at the lilo prompt.

that's just for booting to a different runlevel than your default one, of
course.

--
Joost Kremers joostkremers@yahoo.com
Slackware doesn't have any quirks. Other distros have quirks. Slackware's
just pure Linux.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-18-2008, 08:43 PM
Lew Pitcher
 
Posts: n/a
Default Re: lilo and X

ZEBRA ScHiZzEr wrote:

> How to make so as so in lilo menu choose bettwen runlevels (text/X mode)?
>
> THX in advance


Create two entries in your lilo.conf

Set one entry to
append = "4"
and call this entry "LinuxGUI"

Set the other entry to
append = "3"
and call the entry "LinuxText"

rebuild LILO (/sbin/lilo -v)
reboot.

You now have a linux called "LinuxGUI" that, when selected at the LILO boot
menu, will take you to X, and another linux (called "LinuxText") that will
take you to the networked/non-X runlevel.

--
Lew Pitcher, IT Consultant, Application Architecture
Enterprise Technology Solutions, TD Bank Financial Group

(Opinions expressed here are my own, not my employer's)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-18-2008, 08:44 PM
Mark Hill
 
Posts: n/a
Default Re: lilo and X

On 2 Dec 2003 19:51:21 GMT,
Joost Kremers <joostkremers@yahoo.com> wrote:
>
> but you can pass the runlevel on the lilo prompt. '<label> <runlevel>' is
> the syntax, IIRC.


I've added Joost's and Lew's answers to the following FAQ entry. Please
let me know of any errors/problems with it. Thanks.

<http://wombat.san-francisco.ca.us/faqomatic/cache/39.html>


--
Mark Hill <usenet@mark.ukfsn.org> (Yahoo address not read)
GPG KeyID: 4A3B58AC
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-18-2008, 08:44 PM
Ron Matthews
 
Posts: n/a
Default Re: lilo and X

Mark Hill <mark_usenet@yahoo.co.uk> wrote:
> On 2 Dec 2003 19:51:21 GMT,
> Joost Kremers <joostkremers@yahoo.com> wrote:
> >
> > but you can pass the runlevel on the lilo prompt. '<label> <runlevel>' is
> > the syntax, IIRC.


> I've added Joost's and Lew's answers to the following FAQ entry. Please
> let me know of any errors/problems with it. Thanks.


What about a section on the responsible use of pgp?

cordially, as always,

rm

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:24 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com