From UBCDwiki
Revision as of 02:30, 16 June 2010 by Haytham2000 (talk | contribs) (added linux section in remastering)

About The Tutorial

This tutorial will guide you through the steps to remaster the UBCD ISO to enable you to burn it to an optical disc. I will start off with a just downloaded state and proceed from there. This guide does not contain help on modifying any of the extracted content; if you are looking for a specific guide that is not available here, please check the UBCD forums for more help and information. It is highly recommended that after completing this tutorial that you test the remastered ISO with a Virtual Machine (VirtualBox (free), Qemu (free), etc.) or by burning it to a rewritable source such as cdrw/dvdrw to confirm it does work properly before burning it to a more permanent media as problems may arise and could save you an optical disc.

WARNING: If you skip requirements, you do so at your own risk, as you may encounter issues that will be traced back to not being prepared.


Before we jump into the guide you will need the following:

  • 1. The UBCD ISO, ofcourse. Download it here if you haven't already. For this tutorial I will be using version 5.0 beta 12.
  • 2. 7-zip or any other extraction software (PeaZip (free), etc.) to extract the contents of the ISO. I will be using 7-zip in this tutorial because it is freeware and comes in a portable vesion (no installation required). Note: Make sure that the software you use supports extracting in lowercase (and is enabled) as grub4dos (one of the included programs) is case sensitive and will cause problems if anything is capital, not to mention it's time consuming to lowercase everything.
  • 3. At least 550mb of space for extracting and remastering; additional space required if you plan on adding more programs to the ISO.

After checking that you have met all requirements we can proceed with the tutorial.

Let Us Begin!

For the purpose of this tutorial, the contents of the ISO will be extracted to your user "Documents" folder (in XP it's labeled "My Documents") and the UBCD ISO will be located on the desktop. If you are using another drive or extracting to another folder adapt this guide according. If you are using Vista, you may have to run things as administrator and allow/continue when it asks you if you change the copy to ISO location. That being said let us begin...

Copying ISO to User "Documents"

1. Freshly downloaded to your desktop...


2. Using start menu, go to "Documents" (XP it's labeled "My Documents"). Note: "Documents" is easiest location as doesnt require administrative rights to view and modify contents of the folder, only read & write permission.


3. Right click on the UBCD ISO on your desktop and select "Cut". Now select the "Documents" window and right click on an empty space, without clicking another file, and select "Paste". May take some time to transfer the ISO, so be patient. Note: You will need read & write permission to modify the contents of the "Documents" folder. The UBCD ISO should now be located in "Documents".


Extracting the Contents

At this point the UBCD ISO should be located in your user "Documents" folder. We will now extract the contents of the ISO.

1. Open up 7-zip and nagivate to the "Documents" folder using the drop down arrow on the far right and selecting it.


2. You should see the UBCD ISO now.


3. Select the ISO and then click the "Extract" button at the top.


4. A window will open allowing you to extract the contents to a folder.


5. Rename 'extract to' folder to "ubcd-extract". Should now say something similar to:

  • In XP: "C:\Documents and Settings\Your_Username\My Documents\ubcd-extract\"
  • In Vista/7: "C:\Users\Your_Username\Documents\ubcd-extract\"

Note: By default the "extract to" folder is named the same as the file it is extracting from. Note 2: I have renamed the extract folder so you will be less likely to become confused with similarly named folders later on.


6. Click the "Ok" button to begin extracting the contents to your user "Documents" folder. May take a moment to complete.


7. The "ubcd-extract" folder should have been created and contain several folders.


Remastering the ISO


Now that the contents of the ISO have been extracted to your user "Documents" folder, under the folder named "ubcd-extract", we can now continue and remaster (rebuild) the ISO. Important Note: In XP, your user documents folder is named "My Documents". In Vista/7, it's named "Documents".

1.a Start off by opening the Command Prompt (cmd). Explanations for both XP and Vista/7:

For XP, simply press, "windows key + r", to open the run window and then type "cmd" followed by pressing "enter". This also works in Vista/7 if you havent changed the extracted ISO folder location.


1.b If you have changed the extracted folder location, you may have to run the Command Prompt as an administrator in Vista/7. "Windows key + c" is the easiest way to open Command Prompt with Administrator privileges.


2. The Command Prompt should now be opened. Note: In Vista/7, the top left corner should say "Administrator"; Only required if you changed the default ISO folder location. Copy the following line (choose according to your Windows version) by selecting the text and either right-clicking on selected text or by pressing "ctrl + c":

  • For XP: cd "%HomePath%\My Documents\ubcd-extract\ubcd\tools\win32\ubcd2iso"
  • For Vista/7: cd "%HomePath%\Documents\ubcd-extract\ubcd\tools\win32\ubcd2iso"

Now right-click on the Command Prompt window and select paste.


Then press enter. You should now be in the "ubcd2iso" folder like so:


3.a Now that you are in the correct folder, copy and paste, using the same method as above, one of the following lines:

  • For XP: ubcd2iso "%Homepath%\My Documents\ubcd-extract\" "%Homepath%\My Documents\customubcd.iso"
  • For Vista/7: ubcd2iso "%Homepath%\Documents\ubcd-extract\" "%Homepath%\Documents\customubcd.iso"

4. If you did everything correctly, Note: If you receive a "mkisofs: missing pathspec" error then copy new ubcd2iso.cmd here into your old ubcd2iso.cmd by right-clicking and opening with notepad pressing enter should start the remastering process:


May take a minute or two...so be patient.


5. When it has finished, as the above picture shows, you will find the new ISO (customubcd.iso) located in your user "Documents" folder as well as the original UBCD ISO you downloaded and moved (in this case ubcd50b12.iso).



after extracting the ubcd iso, go to ubcd/tools/linux/ubcd2iso , change permissions of ubcd2iso.sh to allow execute , then click on the file and select run in terminal

Now concludes the tutorial on how to remaster the UBCD ISO. This guide can easily be modified to fit someone using linux and may in the future include a linux version. The next tutorial would be Burning UBCD to Optical Disc.

You may want to checkout other tutorials here.