RH302 · Question #31
You are giving the RHCE exam. Now you should boot your System properly. When you started your System, You got one message. INIT Entering runlevel 9 INIT: no more processes left in this runlevel How…
The system is failing to boot because it is trying to enter runlevel 9, which is an invalid runlevel. To fix this and boot the system properly, you need to correct the default runlevel configuration, typically in /etc/inittab. Procedure: 1. Reboot the system and enter…
Question
Explanation
The system is failing to boot because it is trying to enter runlevel 9, which is an invalid runlevel. To fix this and boot the system properly, you need to correct the default runlevel configuration, typically in /etc/inittab.
Procedure:
- Reboot the system and enter single-user mode (often by appending
singleor1to the kernel boot parameters in GRUB). - Edit the
/etc/inittabfile:vi /etc/inittab - Locate the line defining the default runlevel (e.g.,
id:?:initdefault:). - Change the default runlevel to a valid one, such as
3(Multiuser, with networking) or5(X11/GUI). Example:id:3:initdefault:
Context on Runlevels: Runlevels are defined in Red Hat Enterprise Linux:
0: Halt (power off)1: Single-user mode, for maintenance (backups/restores) and repairs2: Multiuser, without networking3: Multiuser, with networking (text console)4: Unused5: X11, defaults to a GUI login screen. Logins bring the user to a GUI desktop.6: Reboot (never set initdefault in /etc/inittab to this value!)
Single-user mode (runlevel 1) is the most commonly used option for system maintenance, allowing administrators to perform clean backups, restore partitions, run administration commands, recover passwords, check filesystems, etc.
Topics
Community Discussion
No community discussion yet for this question.