Linux: Set systemd target (init/runlevel level) at grub command line

Hi,

if you temporary don’t want to boot to a graphical login manager you can, at the grub command line, tell the systemd-target the system should boot to.


Boot your system and an the grub menu press “e”. Then go to the linux.

...
linux /boot/vmlinuz-4.15.0-109-generic root=UUID=5eb5f5a8-3493-4bed-b459-46209334b360 ro biosdevname=0 net.ifnames=0 quiet splash $vt_handoff
...

Remove the quiet and splash to disable the splashscreen and add the systemd target for the next boot systemd.unit=multi-user.target
Looks like this

...
linux /boot/vmlinuz-4.15.0-109-generic root=UUID=5eb5f5a8-3493-4bed-b459-46209334b360 ro biosdevname=0 net.ifnames=0 systemd.unit=multi-user.target $vt_handoff
...

Then press Ctrl-X to boot.

Michael

Advertisment to support michlstechblog.info

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.