runlevel+3 and configuration and installation

If I set runlevel=3 instead of 5 - at installation of OpenSuSE from DVD - will be performed automatic or manual configuration step after reboot (after installation finish) ? Or I need have runlevel=5 only to work w/desktop graphics ?

Mikhail

There is no need to ever go into runlevel 5 when you do not want to use it. BTW, you can choose for a text only installation at the beginning (where it lets you choose the DE). And then it will not install any DE or even X. Thus it never even can go into runlevel 5 (well it can, but there is nothing to start there).

To switch your default startup like the old runlevels 3 & 5 use this:

Switching to Graphical Target (Like runlevel 5) from terminal with systemd

Terminal Command: **sudo ln -sf /usr/lib/systemd/system/graphical.target /etc/systemd/system/default.target**
Switching to Multi-User Target (Like runlevel 3)  from terminal with systemd

Terminal Command: **sudo ln -sf /usr/lib/systemd/system/multi-user.target /etc/systemd/system/default.target**

You can get a bash script to help learn systemd from here: SysdCmd - systemd Command Help/Config Editor - Blogs - openSUSE Forums

Thank You,

On 2013-05-25 15:56, jdmcdaniel3 wrote:
>
> mikky_m;2559823 Wrote:
>> If I set runlevel=3 instead of 5 - at installation of OpenSuSE from DVD
>> - will be performed automatic or manual configuration step after reboot
>> (after installation finish) ? Or I need have runlevel=5 only to work
>> w/desktop graphics ?
>>
>> Mikhail
>
> To switch your default startup like the old runlevels 3 & 5 use this:

I think he wants to do that during installation of the system from the
DVD, not after installation.

There is a setting during installation where you choose the default
target, text or graphics. It works, even if you choose a desktop
pattern. However, this is not an automatic install, it is a manual
install, as always. For automatics, you use autoyast.

It results in this setting:


> eleanor3:~ # l /etc/systemd/system/default.target
> lrwxrwxrwx 1 root root 40 May  1 02:50 /etc/systemd/system/default.target -> /usr/lib/systemd/system/runlevel3.target
> eleanor3:~ #
> eleanor3:~ # cat /etc/inittab
> id:3:initdefault:


That’s not my doing, it is YaST at installation.


Cheers / Saludos,

Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)

Thanks for all the ansers !
I checked now practically that configuration “stage” of 12.3 installation process works (was called) even at runlevel=3

Mikhail