Thursday, December 9, 2010

How to recover from forgotten root password in esx

Recovery in 5 easy steps:

1. Power on your server
2. When faced with the grub menu, type "a" to stop the automatic boot sequence
3. Add the word "single" to the boot sequence shown and press enter
4. When faced with the recovery prompt, type "passwd" to change your password
5. Type "reboot" after changing your password

Note:
If your server has a grub password, an alternative is to boot from a live
linux cd, mount the /boot partition into /mnt and edit the grub.conf file in the
grub directory.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.