Reset forgotten vsphere root /esxi password: Difference between revisions

From roonics
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:
[[File:partition.png]]
[[File:partition.png]]


3.  Open a terminal window and type the following commands:
<pre>
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
</pre>





Revision as of 13:27, 6 July 2020

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