This is an old revision of the document!


How delete root login password

  1. download the GParted live boot iso and create a CD or USB Stick
  2. reboot server and boot from iso
  3. the GParted window show the partitions on the server
  4. /dev/sda5 is the first esxi partition
  5. open a terminal
  6. enter following command to change on root:
    sudo -s
  7. create a subdir in the mount dir /mnt:
    mkdir /mnt/esxi
  8. mount sda5 (or maybe a other partition):
    mount /dev/sda5 /mnt/esxi
  9. find the state.tgz in mounted dir:
    ls /mnt/esxi/st*

  10. copy state.tgz to temp dir
    cp /mnt/esxi/state.tgz /tmp
  11. change to tmp dir
    cd /tmp
  12. unpack state.tgz <code bash>tar xzf state.tgz>
  13. now you can see the content of the file in /tmp