[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Best way to stop X from starting?

Thanks all! I managed to get into single user mode with a little tinkering. (I also found out that a well timed crtl-C will also do the trick).

Now I just have to figure out what is wrong with X. At least I don't have to worry about a frozen system anymore.


Steve Langasek wrote:
On Thu, May 06, 2004 at 02:31:36PM -0400, Rob Dupcak wrote:

Ulrich Teichert wrote:



I'm guessing that I can stop X from starting by moving the graphics

to a different PCI slot so that the x server wont find it, but is

another more elegant solution to stopping X?

Could you do a network login, or does the machine really freezes


It's frozen solid :-)  I can't get to it over the network

I can't get to a prompt so editing various files is not an option unless someone has some magic

incantations I can mumble.

Boot into single user mode. From the kernel-parameters.txt


S               [KNL] run init in single mode.

Forgive my ignorance here, so all I have to do is enter something


b -fl S

at the SRM prompt and I should be set. Wow... if that works, that is much too easy! :-)

Probably not *that* easy, as you usually also have to specify the root
device in the flags.  So possibly b -fl "root=/dev/sda2 S", or if you
have an initrd, b -fl "initrd=/initrd.img root=/dev/sda2 S".  To get
into aboot and *see* what your settings are, "boot -fl i" should do the

Reply to: