I have an ESXi 4.1 server at work. While playing with getting APC shutdown to work, I modified my /bootbank/oem.tgz so on reboot /.ssh/ would be recreated using the method described on this page. In the process, I created a corrupt oem.tgz which prevented the server from booting up correctly. I saved a copy of the original as oem.tgz.bak before copying my new version over.

So what I need to know is how can I mount /bootbank from within the installation media so I can delete my corrupt copy and rename the original so my server will boot back up.


| improve this question | | | | |

Does it have to be the installation media ? A Linux LiveCD would probably be much easier. Then use fdisk -l to list the devices/partitions and work from there.

| improve this answer | | | | |
  • I ended up using an Ubuntu server disc to mount /dev/sda5 and do the edit. Thanks. – Dennis Aug 2 '11 at 19:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.