How to break GRUB password on VCSA 6.x

This article provides step-by-step instruction on how to break GRUB password on VMwre VCSA 6.x. Attach live Linux distro to the VCSA VM and boot the VM on the live Linux image. For the purpose of the manual, I use Knoppix v7.0.5

Start Knoppix live in single user mode by invoking the following command:

boot: linux single

Once the system has booted, mount /dev/sda1 under /mnt:

# mount /dev/sda1 /mnt

Edit menu.lst file:

# vim /mnt/grub/menu.lst

and remove the password line that looks like:

password --md5 $5$adkjhsdk/nadjkfku473u

Save and close the file. Reboot the system:

# sync; sync
# cd /
# umount /mnt
# reboot

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.