Saturday 14 January 2012

Single User Mode by editing Grub (Ubuntu)


Some times it can be useful to get access in the single user mode (eg. forgot login details, etc). This is what you do incase your Grub loads you into Ubuntu.


To get into single user mode in Ubuntu , 

1. Press 'e' when the Grub loader turns up. This enables us to edit the kernel parameters at boot time.

2. Remove the 'quiet splash ro' part in the kernel parameter. Replace it with 'init=/bin/bash rw'

3. Press Ctrl + X

And thats it!!!! 

You will get dropped into a shell in single user mode.






No comments:

Post a Comment