Reset forgotten vsphere root /esxi password

From roonics
Revision as of 13:27, 6 July 2020 by Jlambert (talk | contribs)
Jump to navigation Jump to search

Testing using vSphere version 5.5.

1. Download Gparted and create a bootable usb or mount the ISO file via the iLO/iDrac.

2. Once in Gparted you need to look for two 250MB paritions, shown below:

3. Open a terminal window and type the following commands:

sudo su
mkdir /boot /temp
mount /dev/sda5 /boot
cd /boot
cp state.tgz /temp
cd /temp
tar -xf state.tgz
tar -xf local.tgz
rm *.tgz
cd etc