Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
add comment

1 Answer 1

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.

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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