VMware

This Question is Answered

2 "helpful" answers available (6 pts)
13 Replies Last post: Apr 21, 2009 10:46 AM by Dave.Mishchen…  

How do I change a Lost password on ESXi when I can't get grub menu? posted: Apr 15, 2009 11:24 AM

Click to view jerryroy1's profile Novice 11 posts since
Jun 2, 2006
I have an ESXi 3.5 server I inherited and I cannot get to the grub menu to reset the password. It boots so fast right into the ESX server interface and I have tried every keystroke I can think of to get to the grub menu. Any ideas would be greatly appreciated.
Click to view lamw's profile Champion 2,814 posts since
Nov 27, 2007
Check this site instructions: http://www.petri.co.il/vmware-esx-server-root-password-reset-recovery-lost.htm

=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
http://twitter.com/lamw

http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg

Click to view lamw's profile Champion 2,814 posts since
Nov 27, 2007
As Dave as mentioned in this link, for ESXi you have the option of a repair or booting an alternative OS to clear the password. The link I referenced is only for classic ESX and that should be done directly on the console or via some remote console such as DRAC/iLO, you'll want to reboot and catch the grub loader.

=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at: http://engineering.ucsb.edu/~duonglt/vmware/
http://twitter.com/lamw

http://engineering.ucsb.edu/~duonglt/vmware/vexpert_silver_icon.jpg

Click to view Dave.Mishchenko's profile Guru 8,974 posts since
Nov 15, 2005
Is your system a fresh install or has it been patched at any time? If it's been patched you would have to state.tgz files. Did you change the most recent?
Click to view Dave.Mishchenko's profile Guru 8,974 posts since
Nov 15, 2005
ESXi doesn't have a Linux service console as with ESX so it doesn't have a grub menu to use. On the initial screen you can press shift+o to add boot options, but the pasword reset option that might find listed on some sites only worked with the beta for ESXi.

I haven't seen any other methods to reset the password other than the link provided, but you could run a repair install as mentioned. That will wipe the system partitions, but leave the VMFS partitions alone. After the repair you would re-add your VMs to inventory.
Click to view Dave.Mishchenko's profile Guru 8,974 posts since
Nov 15, 2005
Right click on the datastore and select browse. You can add your VMs back to inventory by right clicking on the VM file and selecting add to inventory. On the browser window there is also a search function which you can use to find all your VMX files.
Click to view Dave.Mishchenko's profile Guru 8,974 posts since
Nov 15, 2005
Select the summary tab for the host and you'll see the datastores there.
Attachments:

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities