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.

Thanks.

link|improve this question
feedback

1 Answer

up vote 1 down vote accepted

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.

link|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
feedback

Your Answer

 
or
required, but never shown

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