On Fri, 10 Dec 1999, Satya wrote:
> On Dec 10, 1999 at 16:46, Rahul Chaudhary wrote:
>
> > 3) By default my linux boots into X-windows. How do I switch to
> > command prompt at bootup time. In windows you press F8 when it shows
> > "starting windows....".
>
> This isn't windows. edit /etc/inittab find a line which looks like:
>
> id:5:initdefault:
>
> There may be some instructions near it. If not, (make sure you have a
> bootdisk handy) change the 5 to 3.
A safer way to do this is to open a shell, and run:
/sbin/telinit 3
This tells init to switch to run level 3.
You will still boot into X the next time, but will be able to change run
levels at any time.
To go back to X, you could either run X from the command line, or switch
to runlevel 5.
I think it is also possible to specify this at boot time thru lilo.
When prompted with the lilo prompt, you could enter:
linux 3 for shell
linux 1 for single user shell
linux 5 for X
All this assumes that your label for the linux partition in lilo.conf is
linux. To check the label, press Tab at the lilo prompt.
Philip
To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list
button and fill the appropriate information
and submit. For any other queries contact the ML maintener