UBCD med Windows 7 32bit og 64bit Recovery Console

Hvis man vil have en rigtig god test USB pen, til at teste hardware og kunne starte op i Windows 7, har Poul Wittig lavet en rigtig god guide til, hvordan man for det løst.

Få Ultimate Boot CD med Windows 7 32bit og 64bit recovery console.


Jeg har fået lov til at kopiere hans guide, den er stadig på engelsk:

Ultimate Bootable USB – Combining UBCD, SpinRite and Windows 7 Recovery Console

At times, my everyday job consists of diagnosing and fixing computers which can be anything from virus problems, defective harddrives to unbootable operating systems because of Windows Update going wrong and what-not. Along the way I have gathered a lot of tools to get the job done. Recently I have considered on how to combine these tools to make life easier. I have used UBCD (Ultimate bootCD) for a lot of things, but for testing harddrives I have concluded SpinRite to be the “ultimate” tool for that area of work. This tool is not included in UBCD.

The Windows 7 cd, when booted from is also great for various stuff such as running chkdsk to fixing bcd errors. Luckily the repair-console from Windows 7 will also recognize a Windows Vista install and work just as good. The down-side, is that you have to have two seperate CD’s depending if the operating system is 32-bit or 64-bit.

So lets round-up the tools I use most. UBCD, SpinRite, Windows 7 32- and Windows 7 64-bit. Is it possible to combine them into one bootable USB? Yes! Here’s a quick summary on what we will do.

1. Make a usb-bootable version of the UBCD.

2. Add SpinRite as a custom image (easy without problems)

3. Add Windows 7, both 32 and 64 bit. (was hard me for two reasons, a file contained in the syslinux version included in UBCD was outdated and gave an error when attempting to boot windows and setting up the Windows boot-manager to select different wim images was a bit hard aswell)

We want to get the latest UBCD and make a bootable USB from it. I won’t reinvent the wheel, so this is how you get that done.

Now that we have our usb-bootable UBCD, we want to customize it to add our own images for use. To start with, I will add SpinRite. Open the SpinRite Windows executable and create an .img file from the software. Once that is done, move spinrite.img to the UsbLetter:\ubcd\custom\ folder. In that same folder, open and edit custom.cfg. This is the syslinux configuration file which shows custom images in the UBCD “Custom” sub-directory. At the bottom of this file add:

LABEL spinrite
KERNEL memdisk
APPEND initrd=/ubcd/custom/spinrite.img

Save the file, and thats it! Test it to see if it works :) Now comes the tricky part, adding Windows 7. UBCD and all of its tools are based off of the syslinux bootloader. Getting syslinux to chain-boot over to Windows’s own boot manager was a bit hard to get to work, mainly because chain.c32 was outdated and not working which took me forever to figure out -_- So you want to update it by either downloading the syslinux package and picking out the files, or download this package I’ll provide which works for sure: https://www.sugarsync.com/pf/D713594_287181_685206. Place the 3 files in the UsbLetter:\BOOT\syslinux\ folder. Now you copy all of the contents from a Windows 7 32-bit CD over to the root of your USB drive. I am aware that both the Windows 7 cd and your UBCD usb will both have a BOOT folder but that is correct. You can delete the install.wim file in SOURCES as it is 2GB of useless data. only used for install Windows – and we are only interested in using the recover console.

Once that is done, you want to copy BOOT.WIM from the Windows 7 64-bit cd which is located in the sources folder. Name it BOOT64.WIM to not overwrite the existing file. Now we have to edit the bcd on our usb to let it know about the 64-bit image. This can be manually done with bcdedit, by opening the BCD-store on the usb in \BOOT but I find it much easier using EasyBCD to visually get the job done.

So download and install the latest version of EasyBCD, you have to use the beta which will let you add custom WIM images. Get it from here: http://neosmart.net/forums/showthread.php?t=642. The website requires you to login to download the beta but if you don’t want to bother making one, just use a user from here.

Open EasyBCD and select the BCD-store on the usb drive, which is located in UsbLetter:\BOOT\BCD

Once you open the bcd, since it is already configured to boot the 32-bit image we want to add the 64 image. Add New Entry -> Look under WinPE, Give it a name, Select the INSTALL64.WIM image you copied into the sources folder and finally “Add Entry”.

Click on Edit Boot Menu to vew your settings. You could also rename “Windows Setup” to Windows 7 32-bit if you wish.

Save settings. FINAL step, I promise. Edit Usbletter:\ubcd\custom\custom.cfg once again, and at the bottom, add:

MENU LABEL Windows 7 32 and 64
COM32 /boot/syslinux/chain.c32
APPEND boot ntldr=/BOOTMGR

And that should be it. Enjoy. Credit to the people from this thread, as a lot of the documentation there helped out.


Hvis man ikke vil genstarte hele tiden, for at teste sin USB pen kan man bruge MobaLiveCD_v2.1 til at teste den.

Den opretter en Virtuel “PC” og starter USBen op, kan godt være langsom og gå i stå, hvis man prøver at starte Windows 7 op, og måske komme med en fejl, den bedste måde er ved at genstarte PCen og boote op fra USB.

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>