boot to a command line?

Running 11.2, Is it possible to configure it to boot directly to a command line, outside of the GUI…as a default?

thanks,

-cheers

Hi
Sure, there are a few ways, when booting the system add 3 to the grub
options so it can be done dynamically. Else use an editor and
modify /etc/inittab line from 5 to 3


# The default runlevel is defined here
id:5:initdefault:


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 4 days 18:09, 4 users, load average: 0.27, 0.34, 0.29
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53

great, thanks for the help :slight_smile:

-cheers

I think the inittab way is the best solution

Both wll work, but the GRUB one is overruling the one in inittab, thus inittab is the place.

okay, please bear w/ me I’m new. I can adjust the init file through gnome terminal, correct? I have to use an editor? whats an editor, and how do I get/use it?? please excuse if these are silly simplistic questions, or if I even just answered my own question :slight_smile:

-cheers

I am not a Gnome user. But isn’t there a “terminal in administrator mode” or something in the main menu? What editor do you normal use? Then something like:

gnomesu <that editor> /etc/inittab

Maybe better wait for a Gnome addict :slight_smile:

Hi
From the GUI, you could use gedit, eg;


gnomesu gedit /etc/inittab

If from the command line I use vi, so it would be something like;


sudo vi /etc/inittab

The use the arrow keys to highlight the 5, press the r key and hit the
3 key, then <shift>: then wq<enter>


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 4 days 20:17, 4 users, load average: 0.32, 0.14, 0.09
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53

or simply:
sudoedit /etc/inittab

the editor is whichever one is in the $EDITOR variable


Regards,
Barry Nichols

It can also be done in Yast

System-System service level

Expert mode and select run level 3 in the first box.

Have we exhausted all the ways? :wink:

Hi
Nope, you can edit /boot/grub/menu.lst and add the 3 there :wink:


Cheers Malcolm °¿° (Linux Counter #276890)
SUSE Linux Enterprise Desktop 11 (x86_64) Kernel 2.6.27.45-0.1-default
up 5 days 3:09, 4 users, load average: 0.32, 0.18, 0.11
GPU GeForce 8600 GTS Silent - CUDA Driver Version: 190.53

Yes Malcome lewis, that worked quite nicely. Thanks guys …

-cheers