LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-12-2003, 09:17 PM   #1
Robin01
Member
 
Registered: Aug 2003
Posts: 104

Rep: Reputation: 15
lilo.conf- how to


Hello everybody

I'm running mandrak 9.2

and i'm new to it. being new i been modifing linux user/configuratoin files using both gui and bash which is causing problems with the operating system. due to this issue i must have reinstalled linux 10 times...

My QUESTION:
how do i configure lilo.conf so, one of the option is to boot into bash or into dos mode....
as of now i been booting into kdi and before putting in my user id and password i'm doing "ctrl alt f1" to jump into bash.
 
Old 12-12-2003, 11:16 PM   #2
rmanocha
Member
 
Registered: Oct 2003
Location: Austin,TX
Distribution: Debian SID-->fully content-->Love APT,kernel 2.6.4
Posts: 327

Rep: Reputation: 30
well if all you want to do is to boot into a non graphical enviornment then do this in root user:
with ur favorite text editor open up /etc/inittab.
near the start of this script you will see something like this:
default runlevel(do not set to 0 or 6)
id:5:initdefault (note the 5 ight be a 4 too).
all you have to do is change this no. to a 3 and then the next time you boot up...the graphical system will not start up by default.
to start the graphical system up you will have to type startx.
too start a login manager....you will have to type either xdm,gdm or kdm in root user mode.
hope this helps
 
Old 12-13-2003, 02:46 AM   #3
Onemessedupjedi
Member
 
Registered: Sep 2003
Location: Oregon
Distribution: Slackware 9.1
Posts: 194

Rep: Reputation: 30
If you ever need to know how to edit a .conf file there's a way for you to find out for yourself. Type in:
man *.conf
obviously the * is the name of the .conf file you want to edit.

Also, if you use -help on man you'd learn that
man -K whatever you are looking for
will search your files for the manual files you need.

I know, it's reading, but at least you don't want to configure samba. Such long manual files....
 
Old 12-18-2003, 02:21 PM   #4
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
Is there a way to edit the runlevel at bootup? For instance, if I'm booting at runlevel=4 but I want to boot to level 3 before entering my GUI, can I do that somehow?
 
Old 12-21-2003, 12:53 AM   #5
Onemessedupjedi
Member
 
Registered: Sep 2003
Location: Oregon
Distribution: Slackware 9.1
Posts: 194

Rep: Reputation: 30
probably(the answer to all linux "can I" questions) but I don't know how and it is a bit unclear of what you're asking. are you wanting to enter you uid and pass into a bash prompt but after logging in you want it to automatically go into your gui?

or does it boot to gui login manager now and you want it to boot to bash?
 
Old 12-21-2003, 05:55 PM   #6
Vincent_Vega
Member
 
Registered: Nov 2003
Location: Jacksonville, FL
Distribution: Slackware & Arch
Posts: 825

Rep: Reputation: 31
I know how to choose what runlevel to start with. I'm set to go straight to gui now but suppose I boot up and only want a prompt. Can I stop the loading of the window manager and, essentially, boot to runlevel 3 instead of 4? Do you know what I mean?
 
  


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
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 02:15 PM
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 04:15 AM
lilo.conf.anaconda v. lilo.conf rbaird2001 Red Hat 1 04-01-2004 01:16 PM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 09:22 PM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 04:53 PM


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