Tuesday, October 1, 2013

systemd - boot into emergency shell

when the the grub2 graphic boot screen appears press 'e', the grub text mode "setparams 'OS'" opens. move the error keys down and find the entry "linux".
go to end of the line to the last boot option and enter: systemd.unit=emergency.target
press F10 to boot and the system will boot into emergency mode/shell (just once).

on a side note: if there are more kernel installed find the entry (linux) matching the kernel you want to add the boot option.

permanent entries are added at the end of the line: GRUB_CMDLINE_LINUX_DEFAULT="" in the file /etc/default/grub.

(tested on openSUSE 13.1 beta) more infos on systemd: doc.openSUSE: Chapter 8. The systemd daemon

No comments:

Post a Comment