Professional Documents
Culture Documents
Booting RHEL Into Single Mode Hangs - Red Hat Customer Portal
Booting RHEL Into Single Mode Hangs - Red Hat Customer Portal
(https://access.redhat.com/)
Environment
Red Hat Enterprise Linux 6
Issue
We are unable to boot, with the latest kernel available on the system (2.6.32-
220.17.1.el6.x86_64), into single user mode (by adding the single option in the kernel
command line in GRUB menu). The system appears to hang after
" enabling /etc/fstab swaps: [OK] " message is displayed. Booting with an older kernel
(2.6.32-220.el6.x86_64) or in multi-user mode does not have any problems.
Resolution
Remove the following options from the kernel command line:
console=ttyS1,115200
Root Cause
In reality, the system really wasn't hanging, but it was directing console I/O to somewhere other than
the console in use. So everything just looked like it had stopped.
Diagnostic Steps
The working kernel command line (from /boot/grub/grub.conf ) was:
https://access.redhat.com/solutions/2296081 1/3
8/6/2020 Booting RHEL into single mode hangs - Red Hat Customer Portal
(https://access.redhat.com/)
kernel /vmlinuz-2.6.32-220.el6.x86_64 ro root=/dev/mapper/sysvg-root rd_NO_LUKS
KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 rd_LVM_LV=sysvg/swap rd_NO_MD quiet
SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto rd_LVM_LV=sysvg/root rd_NO_DM
Removing the last line, to make the "non-working" command line more like the "working" command
line, resolved the problem. Further experimentation determined that it was the
" console=ttyS1,115200 " option that was causing the problem.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions
that Red Hat engineers have created while supporting our customers. To give you the knowledge
you need the instant it becomes available, these articles may be presented in a raw and unedited
form.
Why does initramfs of older Red Hat Enterprise Linux 6 release getting corrupted during
dual boot installation of new release?
(https://access.redhat.com/)
Solution - Jan 31, 2015
Why Red Hat Enterprise Linux server booted with kernel version "2.6.32-358.6.1.el6" is
unable to load modules from /lib/modules/2.6.32-358.6.1.el6.x86_64 directory ?
Comments
https://access.redhat.com/solutions/2296081 3/3