How to reboot a system not started with systemd

Abstract: Reboot a non-systemd Linux system using SysVinit commands or GRUB to prevent data corruption.

Created: 2026-10-11 by
To reboot a system not started with systemd, you must use the initialization tools native to that specific init system. For systems using SysVinit, the shutdown or reboot commands are standard. If the system is unresponsive or lacks these utilities, invoking GRUB directly allows for a hard reset. Understanding your boot loader and init daemon is crucial before attempting any restart procedures to avoid data corruption.

Identifying Your Init System

Before executing any reboot commands, it is vital to confirm which initialization system manages your running kernel. Modern Linux distributions typically use systemd, but legacy systems, embedded devices, or minimal installations may rely on sysvinit, openrc, or other alternatives. You can verify this by checking the process ID 1. Run the following command in your terminal:
ps -p 1 -o comm=
If the output is systemd, the instructions below do not apply, as systemd has its own distinct shutdown mechanisms. If the output is init, sysvinit, or similar, you are dealing with a non-systemd environment. This distinction is critical because sending signals intended for systemd (like systemctl reboot) will fail or behave unpredictably on older init systems.

Rebooting via SysVinit Commands

For systems booted with traditional SysVinit, the standard way to initiate a clean reboot is through the shutdown command. This command ensures that services are stopped in the correct order, preventing file system corruption. The most common usage involves specifying the time and action. To reboot immediately, you can use:
sudo shutdown -r now
The -r flag tells the system to reboot after shutting down, and now specifies immediate execution. Alternatively, if your system provides a dedicated reboot binary in your PATH, you can simply run:
sudo reboot
Both methods trigger the standard runlevel changes defined in your /etc/inittab or equivalent configuration files. They ensure that scripts in /etc/rc.d/ or /etc/init.d/ are executed properly. This is the preferred method for maintaining system integrity.

Using GRUB to Reboot

In some scenarios, the userland may be partially broken, or the init system may be frozen. In such cases, you can bypass the operating system's software entirely and use the GRUB boot loader to restart the machine. This is particularly useful if you have physical access to the machine or remote console access that allows interaction with the boot menu. First, ensure that GRUB is configured to allow manual intervention. If you are already inside the OS, you cannot easily jump to GRUB without crashing the kernel. However, if the system is hanging at boot, you can interrupt the GRUB timeout. Hold Shift during startup for BIOS systems or press Esc for UEFI systems to access the GRUB menu. Once in the GRUB menu, select your default entry and press e to edit. While editing, you generally cannot "reboot" from within the menu interface directly without exiting. Instead, a more practical approach for a stuck system is to use the power button or a hardware reset if available. If you need to reboot cleanly from within a frozen environment where shutdown fails, you might try pressing Ctrl+Alt+Del. On many SysVinit systems, this key combination is mapped to trigger a reboot sequence via /etc/acpi/events/ or direct signal handling.
Ctrl + Alt + Del
This method is less graceful than shutdown -r now but often effective when the init daemon is unresponsive. It sends a signal to the init process to begin the reboot sequence defined in its configuration.

Handling Service Shutdown Orders

When rebooting non-systemd systems, the order in which services stop matters significantly. Unlike systemd, which uses dependency graphs to manage start and stop orders, SysVinit relies on symbolic links in runlevel directories. If you are experiencing issues where certain services fail to stop correctly during reboot, you should review the service dependencies. For more detailed guidance on managing the order of closing services while shutting down Linux, refer to our article on Preserve Order of Closing Services While Shutting Down Linux. Ensuring that network services stop before storage mounts are unmounted prevents data loss. Always verify your runlevel configurations if you notice inconsistent behavior during reboots.

Alternative Methods and Troubleshooting

If standard methods fail, consider checking the /etc/inittab file to see how the Ctrl+Alt+Del sequence is handled. You can also check if the magic-sysrq key is enabled. Pressing Alt+SysRq+b forces an immediate reboot without syncing disks, which is dangerous but effective in emergencies. Use this only when the system is completely locked up. Additionally, ensure that your GRUB configuration does not have a password set that blocks access to the boot menu. If you need to troubleshoot why a system fails to boot after a reboot attempt, consult resources on Keyboard not working in Windows or Fedora 37 but works in Grub to rule out input device issues that might prevent you from interacting with the boot process.

Frequently Asked Questions

What happens if I pull the power plug instead of rebooting?

Pulling the power plug bypasses all shutdown scripts, leading to a high risk of file system corruption. It also prevents databases and cached data from being flushed to disk safely. Always prefer a software-initiated reboot unless the system is permanently frozen.

Can I use systemctl on a non-systemd system?

No, systemctl is specifically designed to communicate with the systemd init daemon. On SysVinit systems, it will return an error or fail silently. You must use the native commands like shutdown or service instead.

Why does Ctrl+Alt+Del sometimes not work?

The Ctrl+Alt+Del sequence depends on the init system's configuration. In SysVinit, it is mapped via /etc/inittab. If this mapping is missing or overridden by a desktop environment, the key combination may do nothing. Check your init configuration to ensure it is enabled.

How do I force a reboot if the shell is unresponsive?

If the shell is unresponsive, you can try using the magic SysRq key. Press Alt+SysRq+b to force a reboot. This requires the kernel to have SysRq support enabled, which is standard on most distributions. It bypasses the userland entirely.

Is it safe to edit GRUB entries to reboot?

Editing GRUB entries is primarily for boot parameters, not for triggering a reboot from within the OS. You cannot execute a reboot command from the GRUB editor interface. To reboot, you must exit GRUB and let the system continue booting, or use hardware buttons.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More