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: 801

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: 5,661

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.


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

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: 5,661

Re: Single User Mode

But .target won't hurt? Or is that syntax deprecated?


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

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: 5,661

Re: Single User Mode

Oh, I like having the entry ready made so I don't have to remember *anything* if I'm panicking!


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

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

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

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
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 18,100
Website

Re: Single User Mode

Not an Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Online

Board footer

Powered by FluxBB