Backing up the ESXi hypervisor before playing with custom VIBs.

If you copy the /bootbank files to /altbootbank, you can recover these by pressing Shift-R when ESXi boots.

This reverses the symlinks for /altbootbank and /bootbank:

~ # ls -ald /*bootbank*
lrwxrwxrwx    1 root     root                 49 Jun  2 21:13 /altbootbank 
-> /vmfs/volumes/702aea7e-a9164be0-0df5-0cf76d6e11b9
lrwxrwxrwx    1 root     root                 49 Jun  2 21:13 /bootbank 
-> /vmfs/volumes/2be37f76-1609a97d-31db-e8ed56893060
~ # cp /bootbank/* /altbootbank 

Reboot, and press Shift-R. Press Y to confirm. After boot:

~ # ls -ald /*bootbank* lrwxrwxrwx    1 root     root                 49 Jun  2 21:27 /altbootbank 
-> /vmfs/volumes/2be37f76-1609a97d-31db-e8ed56893060
lrwxrwxrwx    1 root     root                 49 Jun  2 21:27 /bootbank 
-> /vmfs/volumes/702aea7e-a9164be0-0df5-0cf76d6e11b9
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: