Try   HackMD

ubuntu: Booting into Single-User Mode

Steps

  1. select Advanced options for Ubuntu

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

  1. press e to edit boot parameters

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

  1. edit boot configuration then press ctrl+x to boot

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

  1. you can see that you login as user root

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

or you can modified it using /bin/bash like this

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

Reference

  1. Grub2
  2. How do I boot into single-user mode from GRUB?
  3. How to Boot Ubuntu in Single-User Mode