Ubuntu
Some time back,I had installed Ubuntu on VMWare to setup as a web testing environment(LAMP server).Today,I booted the VM,then forgot what the password was.
Here is what I did that saved me the complete reinstall :
1.Press Esc during grub menu when the system boots up.
2.Type e and highlight the line option that says kernel.
3.Press e again.
4.In the CLI,at the end of line you can add this : rw init=/bin/bash
5.Reboot the system
6.Now,since the kernel parameters have been changed to launch bash at init,we can get full root access post boot on the command line.
7.I resetted the password for my username with passwd
The funny thing about Linux/Unix is there are n no of ways to do things that you think can be done by one method.I was going to use live CD to do some R&D on this,but ubuntu forums saved me the extra work with the above method.

0 comments: to “ Ubuntu ”
Post a Comment