Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I see that there is a similar question with the answer to use BartPE with a plugin, but are there any other methods to create an ISO image from an external hard drive partition? I don't feel too good about using a plugin for a program that isn't exactly well-known to copy my hard disk.

For background on what I'm trying to do, I'm going to use virt-install with QEMU to install the ISO on an LVM. If I cannot do this, I'm going to use Xen as per my other question.

share|improve this question
up vote 4 down vote accepted
mkisofs -o /tmp/backup.iso /mnt/externalPartition
share|improve this answer
I'll try this over the weekend. Is there a way to do it on Windows? – NobleUplift Apr 5 '13 at 7:15
Sorry, I did not read your question correctly. I am not sure of the best Windows solution. – David Houde Apr 7 '13 at 5:52
It was close but I was able to get enough free space on my /home partition to create the iso using this method. If anyone else has a way of doing it on Windows, it would be great to put alongside the Linux solution. – NobleUplift Apr 8 '13 at 11:20

Hi I just noticed this question when I was searching for something else. I am not sure if you found your solution or not, but the best possible way that I know is to build your WinPE using (now moving forward BartPE is way old) WinBuilder, simple google should find it for you.

The other alternative is to build using Make_PE3,

Either of these will be fine. alternatively if you don't want to make it from scratch you can mount an existing WIM using a utility called gImageX which is AutoIT built GUI to edit WIM images. All of these will require WAIK (Windows Automated Installation Kit) free on from the Microsoft website. WinBuilder you don't need it as such as it will download what it needs from WAIK and then you can build. Which ever way you go, you will need to insert a simple exe called folder2iso.

It is very simple and easy to use. Google of all of these things should set you going pretty easy. Worst comes to worse I can make you an ISO that you can burn that will allow you to boot into WinPE to make you an ISO from your system.

Lastly you may want to skip all of that and backup your system to a WIM image. This is something I have never tried myself so only going off what I have read. You generate a WIM (from recovery) and then convert it to ISO later. To do this you need to edit a WIM file add gIMageX into you WIM and then make this into a bootable WinPE. Then record your system to a WIM image and then once back into the system create a ISO from the generated WIM via this command:

oscdimg.exe –bC:\expandedSetup\boot\ –u2 –h -m -lWIN_EN_DVD C:\expandedSetup\ C:\Windows 7.iso
share|improve this answer

Your Answer


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.