LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Booting into inittab... (http://www.linuxquestions.org/questions/slackware-14/booting-into-inittab-619752/)

Linux~Powered 02-08-2008 04:41 PM

Booting into inittab...
 
I'm having problems booting into X. Right now my inittab file is configured to boot into runlevel 4, but when I boot up my monitor goes blank because of incorrect video settings which prevents me from editing my xorg.config file. Is there anyway I can boot into runlevel 3 from lilo from the command prompt?

mRgOBLIN 02-08-2008 04:44 PM

try CTRL+ALT+F6 from that blank screen.

Linux~Powered 02-08-2008 04:46 PM

I tried that earlier and it doesn't work. My monitor's power button goes blue to yellow like it's in some sort of power saving mode. I had X working at one point until I edited it.

syg00 02-08-2008 04:52 PM

Grub allows you to edit the boot menu entries - if you can do that with lilo (I don't know as I don't use it), simply add a "1" to the end of the kernel line. Will get you into single user mode.
Else fix it from the slack CD - or any liveCD; got a Knoppix laying around ???.

eddyvp 02-08-2008 04:52 PM

Type single at the lilo prompt.
Slack will boot in runlevel 1 (no X).

BCarey 02-08-2008 04:52 PM

From lilo boot "KernelName 3"

Brian

Uncle_Theodore 02-08-2008 04:57 PM

You can certainly boot to the single user mode from the lilo prompt.
Just type at the prompt
Linux 1

From the single user mode you should be able to edit files.
I don't know if you can boot to runlevel 3 in the same way. But you might wanna try... :)

Linux~Powered 02-08-2008 05:48 PM

The "3" worked - thanks! I reconfigured my xorg.config file and can now use X again.

gnashley 02-09-2008 02:28 AM

I like using runlevel 4. But it is good idea to leave your iniiatb alone. Keep the default runlevel as 3. Then make a duplicate entry in your lilo.conf which will use runlevel 4 by putting 'init 4' in there.

duryodhan 02-09-2008 08:40 AM

I guess the problem is that most of the guides online recommend editing the inittab, inspite of the fact that there is such a beautiful and easy solution.

dive 02-09-2008 09:17 AM

Quote:

Originally Posted by duryodhan (Post 3051405)
I guess the problem is that most of the guides online recommend editing the inittab, inspite of the fact that there is such a beautiful and easy solution.

When you are sure that your system is setup correct then there is no problem with runlevel 4. I usually change my default runlevel when installing graphic drivers or updating X, then change back when it's working.


All times are GMT -5. The time now is 09:11 PM.