You are not logged in.
Pages: 1
Hi guys how to boot to single user mode in arch... i just installed my system and im using grub.
Offline
Add "s" to your kernel boot parameter. (Same as sysvinit on every other distro.)
Last edited by Earnestly (2012-12-09 00:46:33)
Offline
Add
systemd.unit=rescue.target
to the kernel command line. Parameters for sysvinit should also work b/c I think they are mapped to the appropriate systemd targets. But the underlying setting is not the "same as sysvinit" even though the same parameter may have the same effect due to the compatibility mappings.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Since a few moths ago, you can drop the ".target" from "systemd.unit=rescue.target".
https://wiki.archlinux.org/index.php/Kernel_parameters
It's easy to set it temporarily (by editing the boot menu when it shows up).
Don't forget to mark the topic as solved (by editing the first post) so that other people (including yourself sometimes) may find useful.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
But .target won't hurt? Or is that syntax deprecated?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
No, it's not deprecated. You can leave it in if you want, but it's easier to just remember it and type it on-the-fly when (or if?) you ever need to.
Last edited by DSpider (2012-12-11 01:12:33)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Oh, I like having the entry ready made so I don't have to remember *anything* if I'm panicking!
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
And how can I go into single-user mode from a running system?
systemctl rescue leaves user processes etc running.
Offline
Not an Installation issue, moving to NC...
Offline
Pages: 1