You are not logged in.

#1 2012-12-09 00:39:42

batas
Member
Registered: 2012-09-09
Posts: 4

Single User Mode

Hi guys how to boot to single user mode in arch... i just installed my system and im using grub.

Offline

#2 2012-12-09 00:46:06

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: Single User Mode

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

#3 2012-12-09 23:34:30

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,148

Re: Single User Mode

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

#4 2012-12-10 07:37:40

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Single User Mode

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.


"How to Succeed with Linux"

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

#5 2012-12-11 00:11:44

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,148

Re: Single User Mode

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

#6 2012-12-11 01:11:00

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Single User Mode

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)


"How to Succeed with Linux"

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

#7 2012-12-11 01:18:42

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,148

Re: Single User Mode

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

#8 2014-01-09 08:53:59

quite
Member
Registered: 2013-02-15
Posts: 24

Re: Single User Mode

And how can I go into single-user mode from a running system?
systemctl rescue leaves user processes etc running.

Offline

#9 2014-01-09 08:59:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Single User Mode

Not an Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB