XenServer: boot guest into single user mode

Don’t you just love when your *nix VM decides not to boot, or the bloody intern lost the root password.

Fear not. Boot into single user mode!

  1. Open up XenCenter
  2. Right click on VM, click Properties
  3. Click on Boot Options
  4. Append the word “single” to the “OS boot parameters”, click OK.
  5. Reboot the VM and it should drop you into single user mode.
  6. Edit the VM properties again and remove the “single” so it boot correctly next time.
  7. We can use also the follow parameter: init=/bin/bash
  8. Default value is: -- quite console=hvc0