TGViewer
# | Just My Logs # | Just My Logs @justmylogss · 125 subscribers
Post #54 19
Linux init 1 / Single-User Mode

What is init 1?
In traditional Linux systems using SysV init, runlevel 1 is known as single-user mode. It provides a minimal environment mainly intended for system administration and troubleshooting, usually with root-level access.

On modern Linux systems using systemd, similar environments are provided through targets such as:

rescue.target — a basic maintenance environment
emergency.target — an even more minimal environment for serious boot problems

How to Enter It

Using GRUB:
During boot, edit the Linux boot entry and, on systems that support it, add a parameter such as single to enter single-user mode.

Using SysV init:

sudo init 1


or:

sudo telinit 1


Using systemd:

sudo systemctl isolate rescue.target


To return to normal operation:

sudo systemctl isolate multi-user.target


or, on systems with a graphical desktop:

sudo systemctl isolate graphical.target


Rescue vs Emergency Mode

Rescue mode: provides a relatively usable environment for common repairs.
Emergency mode: provides a much more minimal environment and is mainly useful when the normal boot process cannot continue.

What Can You Do There?

Before changing anything, check the system:

mount
findmnt
lsblk
journalctl


These can help you understand mounted filesystems, disks, partitions, and boot/system errors.

If the root filesystem is read-only, don't immediately remount it as read-write. First determine why it became read-only.

For filesystem repair, fsck can be useful, but you should first identify the correct filesystem/device and make sure it is safe to repair.

If Single-User/Rescue Mode Doesn't Work

The problem may involve:

Filesystem corruption
Disk or hardware problems
Kernel issues
Boot configuration
Initramfs problems
Mount failures

A Live Linux environment can be useful because you can inspect the installed system without booting it normally.

Important Safety Notes

Rescue and single-user modes provide powerful administrative access. Always:

1. Check the system before making changes.
2. Identify the correct disk and filesystem.
3. Avoid destructive commands unless you're completely sure.
4. Keep backups of important data.
5. Remember that commands involving rm, mkfs, dd, partitioning, or direct disk changes can cause permanent data loss.

Is init 1 Still Relevant?

Yes, the concept of single-user mode is still important, but modern Linux systems often use systemd instead of traditional SysV runlevels.

You can check the default systemd target with:

systemctl get-default


In short: init 1 is an older way of entering a minimal maintenance environment. On modern Linux, rescue.target and emergency.target are usually more relevant. The golden rule is simple:

With great root access comes great responsibility.



@JustMyLogss
  • ❤ 2
More from @justmylogss
  1. Oct 8, 2026عجیب پروژه قوی ایه
  2. Oct 8, 2026یک توسعه دهنده اسپانیایی با استفاده از هوش مصنوعی، تمامی ابزارهای ادوب را مهندسی معکوس کرد…
  3. Oct 7, 2026BIOS در مقابل UEFI؛ تفاوت نسل قدیم و جدید Firmware وقتی یک سیستم را روشن می‌کنیم، قبل از ا…
  4. Oct 2, 2026In-Place Upgrade یا Clean Installation؟ وقتی قرار هست یک Windows Server رو به نسخه جدیدتر…
  5. Oct 1, 2026OOP در پایتون چیست؟ OOP مخفف Object-Oriented Programming یا «برنامه‌نویسی شیءگرا» است. پای…
  6. Sep 29, 2026یه نفر اومده و یه موزیک پلیر لینوکس به اسم sung با cpp و qt نوشته که طراحی زیبا و ویژگی ها…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →