Step 1: Power on or Reboot (if it is already running) your machine.
Step 3: Once you have pressed, you should see the information about the selected operating system. First line gives the information about the hard disk and partition where the OS installed. Second line gives the information about the location of the kernel, Third line gives the information about the initrd
To enter into single user mode- select kernel line (Line no: 2) using up and down arrow then press “e”.
Step 4: At the end of the line add “single” to enter into single user mode. Once add, press “Enter”
Step 6: You will come back to same screen, now press “b” to boot with edited parameters.
Now you should be in command line mode with root privileges