Re: Just start over

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

 



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
garrett@xxxxxxxxxxxxxx
-----Original Message-----
From: xfree86-admin@xxxxxxxxxxx [mailto:xfree86-admin@xxxxxxxxxxx] On Behalf
Of Alfred Hovdestad
Sent: Tuesday, January 17, 2006 2:17 PM
To: xfree86@xxxxxxxxxxx
Subject: Re:  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@xxxxxxxxxxx
http://XFree86.Org/mailman/listinfo/xfree86

[Index of Archives]     [X Forum]     [Xorg]     [XFree86 Newbie]     [IETF Announce]     [Security]     [Font Config]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux Kernel]

  Powered by Linux