Interrupt boot sequence before udev starts in RHEL6

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux (RHEL) 6

Issue

How do I interrupt the boot sequence in RHEL6 before udev starts, and get to a prompt? (in a similar manner to the emergency boot option in previous versions)

Resolution

Add init=/bin/sh to your grub kernel boot arguments.

To do this, at the boot menu, move the highlight to the kernel you wish to boot, and press 'e'

On the next screen find the kernel line and press 'e' again.

Append init=/bin/sh to the end of the line and press 'enter'

Press 'b' to boot the modified entry.

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.

1 Comments

For the record: emergency mode *is* supported in RHEL6. Perhaps this solution was written because "emergency" was initially broken .. prior to RHEL 6.2. See solution for more details: Booting to emergency mode with "emergency" parameter broken in RHEL6 (https://access.redhat.com/knowledge/solutions/65825).