LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 01-09-2002, 01:29 PM   #1
casacruz
LQ Newbie
 
Registered: Jan 2002
Location: Maryland
Distribution: Red Hat Linux ver 7.2 w/ Ximian
Posts: 2

Rep: Reputation: 0
Post Unable to boot up in run level 5


Last Wednesday I downloaded (from http://www.solucorp.qc.ca/linuxconf/) and installed linuxconf (ver 1.26r5-1). The rpm file is dated 01/03/02. Since then I have not been able to auto-operate at run level 5 at bootup as before, it always comes up on run level 3.

I have
Set linuxconf for a run level 5
Checked inittab and it has “id:5:initdefault:”
Entered /etc/telinit 5
Entered linux 5 at boot up
None of the above actions have produced the desired affect.

I know I’m in run level 3 because no window manager is displayed. To enter the window manager I have to type “startx” (after logging in of course). Besides as the bootup process proceeds, the messages displayed stop for about 20 seconds (invoke by linuxconf) to allow the user to evoke linuxconf and affect changes. (I have tried this but to no avail.) The next message at the end of the 20 sec interval is Execute /etc/telinit 3.

What statement should I add to lilo.conf to affect a run level of 5 instead of 3? Currently no statement in lilo.conf exists to set the run level. Are there other files that I should edit to set the run level?

My environment is Red Hat Linux ver 7.2 and Ximian Desktop ver 1.0

Thanks for your help.

Jjc
PS: Is it possible that two linuxconf’s are installed?
 
Old 01-09-2002, 01:41 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
well, linuxconf is no longer installed by default in redhat 7.1 or later i believe due to its instability... so there can't be two of them installed. you can try passing the runlevel at lilo boot prompt and test to see if it goes directly to runlevel 5..
i would uninstall linuxconf as its unstable and don't recommend it and might be the problem of your runlevel problem.
 
Old 01-09-2002, 02:06 PM   #3
casacruz
LQ Newbie
 
Registered: Jan 2002
Location: Maryland
Distribution: Red Hat Linux ver 7.2 w/ Ximian
Posts: 2

Original Poster
Rep: Reputation: 0
Uninstalling linuxconf for goodness sake

TrickyKid,

As I indicated in my email I did try " ... passing the runlevel at lilo boot prompt ... " and it did not work.

I installed linuxconf from a rpm file, so the uninstall task should be easy. However will the uninstall be complete, that is after the uninstall will my system be as it was before I installed linuxconf?

Thanks for your help.
jjc

Last edited by casacruz; 01-09-2002 at 02:12 PM.
 
Old 01-09-2002, 02:08 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Re: Uninstalling linuxconf for goodness sake

Quote:
Originally posted by casacruz
However is the uninstall complete to what my system was before I install linuxconf?
I don't understand your question.. can you rephrase this ??
 
Old 01-09-2002, 02:43 PM   #5
kop
LQ Newbie
 
Registered: Jul 2001
Posts: 24

Rep: Reputation: 15
What tells runlevel 5 to run X.

Perhaps /etc/inittab was modifed so run level 5 dosen't run X. Here's what's in my /etc/inittab that has runlevel 5 run X. (This is RH 7.1)

# Run xdm in runlevel 5
# xdm is now a separate service
x:5:respawn:/etc/X11/prefdm -nodaemon
 
Old 01-10-2002, 01:48 AM   #6
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
casacruz, I clicked on the link in your post and I looked around there and in the features section I found this:

Quote:
Linuxconf takes control very early

One component of linuxconf is called "askrunlevel". It takes control very early. A call to /sbin/askrunlevel must be placed at the end of your /etc/rc.d/rc.S file (or equivalent such as /etc/rc.d/rc.sysinit on redhat systems). This utility allows you to select a proper runlevel (logical operation mode) or to completly reconfigured your system even before the boot sequence is finished. From this utility, you are allowed to ...

- Start Linux in graphical mode (xdm) and fully activate the networking.
- Go graphic, without networking.
- Run as an X terminal.
- Start in text mode, full networking.
- Text mode, no network.
- Configure the workstation
So, you could go into your /etc/rc.d/rc.sysinit file and comment out the line and see what happens. Like this:

#/sbin/askrunlevel

Of course, you will lose the ability to make changes at boot up time.
 
  


Reply



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
Run Level 3 webwolf70 Mandriva 5 01-17-2005 10:41 PM
How to boot to run level 1 if I only want to do it occasionally? ricardo_ok Slackware 19 04-09-2004 05:53 PM
Unable to change Security Level ivanscheers Linux - General 1 09-01-2003 04:24 AM
Run level Joey.Dale Linux - General 4 06-18-2003 04:59 PM
Run Level POWERBOOKM Linux - Newbie 2 12-01-2001 08:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:40 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
Open Source Consulting | Domain Registration