Once you get to the shell prompt in rescue (or single user) mode, about the only editor that you can count on having access to is vi. To change the 5 to a 3, type:

vi /etc/inittab

In the editor window, navigate your cursor over the 5 and press

r3

That should [r]eplace the 5 with a 3. The press
:wq

That should save the file.  You can check that

grep inittab /etc/inittab

It should show the entry below.  Then type reboot to reboot the server.

    Alfred



Garrett Jochimsen wrote:
But, once I make the changes for the id:3:initdefault, how do I save the
changes, there is no sample in the help file?  I did everything except for
saving?
Garrett Jochimsen
IT Department
Documation LLC
715-552-5791
[EMAIL PROTECTED]
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Alfred Hovdestad
Sent: Tuesday, January 17, 2006 2:17 PM
To: xfree86@xfree86.org
Subject: Re: [XFree86] Just start over

If you can't boot at all, there are two methods that I have used. First if your distribution comes with a rescue CD, you can boot off of that. In Redhat, you can boot off disk 1 and enter linux rescue.

If you don't have a rescue CD, the procedure is a little more involved, but not terribly difficult. If you are using grub as your bootloader, you can enter an 'e' to edit the boot parameters when the grub menu is displayed. On the line that begins kernel, press 'e' again to edit the line and add the word single to the end of the line. That will boot your system into single-user mode.


Once you have the rescue mode running, you can edit the file /etc/inittab and change the following line:

id:5:initdefault:

to

id:3:initdefault:

and reboot. This will boot you into multi-user mode without X11. You will then have your server running and you can tinker with X as you see fit.

    Alfred Hovdestad, RHCE
    University of Saskatchewan
_______________________________________________
XFree86 mailing list
XFree86@XFree86.Org
http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to