IBM logoEnterprise Cloud Management SupportContact Us
ArticlesArticles Most Popular ArticlesMost Popular Articles Most Helpful ArticlesMost Helpful Articles Submit A QuestionSubmit A Question
RSS Feeds
DrillDown Icon Table of Contents Back
 . . . . . . . . . . . . .
DrillDown Icon Enterprise Cloud
DrillDown Icon Release Notes
DrillDown Icon Known Issues
DrillDown Icon Policies
DrillDown Icon Registration and Login
DrillDown Icon Infinicenter Console
DrillDown Icon Enterprise Cloud API
DrillDown Icon Best Practices
DrillDown Icon FAQs
DrillDown Icon Troubleshooting
DrillDown Icon Registration and Login
DrillDown Icon Enterprise Cloud Interface
DrillDown Icon Virtual Machines
DrillDown Icon General
DrillDown Icon Windows
DrillDown Icon Linux
DrillDown Icon Mount command displays "no medium found" when trying to mount in Linux
DrillDown Icon How do I boot my Linux VM into single user mode?
DrillDown Icon Create a new user in Linux
DrillDown Icon Linux OS Network Connectivity Issues
DrillDown Icon Can I build a virtual machine using a different Linux?
DrillDown Icon How do I Install VMware Tools in Linux using the VMware Tools ISO?
DrillDown Icon Prepare blank virtual machine for CentOS ISO
DrillDown Icon How do I add disk space to a Linux guest OS?
DrillDown Icon Why am I unable to login to my Linux VM as "root"?
DrillDown Icon What is the default username and password for a Linux template?
DrillDown Icon Where is the package repository for CentOS?
DrillDown Icon Why does my CentOS show as RHEL in the selection pane?
DrillDown Icon My Ubuntu VM lost its NIC configuration on reboot
DrillDown Icon VM Catalog
DrillDown Icon API
DrillDown Icon Cloud Services
DrillDown Icon SSL VPN
DrillDown Icon Enterprise Cloud Managed Edition
DrillDown Icon Sales and Support
DrillDown Icon Proprietary Statement
  Email This ArticlePrint PreviewPrint Current Article and All Sub-Articles
How do I boot my Linux virtual machine into single user mode?


How do I boot my Linux® virtual machine into single user mode?

Some reasons why you might wish to boot into single user mode include:

  • You have forgotten the password for the only account on the virtual machine.
  • You have edited a file that caused corruption or an invalid configuration in the operating system.
  • You cannot enable the root account using methods discussed in Why am I unable to login to my Linux OS server as "root"?.


When booting the virtual machine into Single User Mode:

  • RHEL – Requires no password
  • CentOS – Requires no password
  • Ubuntu – May require root password
  • Debian – May require root password

Note: For Ubuntu or Debian, if you do not have the root password, IBM cannot recover the password.

  1. Restart the virtual machine.
  2. Access the GRUB screen.
  3. Select the kernel.
  4. Press the e key to edit the entry.
  5. Select second line (the line starting with the word kernel).
  6. Press the e key to edit kernel entry so that you can append single user mode.
  7. Append the letter S or the word Single to the end of the (kernel) line.
  8. Press the ENTER key.
  9. Press the b key to boot the Linux kernel into single user mode.
  10. If prompted, type the root password.
  11. Virtual machine will boot into Single User Mode.
  12. Edit the necessary files or make necessary changes.
  13. Save any changes.
  14. Restart the virtual machine; it will restart into normal user mode automatically.

Note: If you are unable to access the GRUB screen or do not catch the prompt for it, open a ticket with support referencing KB 1004129 to have the Power-On Boot Delay changed.

Related Articles