It is quite easy to boot to the Ultimate Boot CD for Windows XP from a USB flash drive.
This method also works with most XP based ISO files.
For UBCD (DOS version) please see Tutorial #87.
It is made even easier by using UBCD4WINv360.exe to make the boot files.
This tutorial is in three parts:
PART 1 - creating a UBCD4WIN installation
PART 2 - making a bootable USB flash drive that boots directly from UBCD4WIN BartPE files (i.e. not using an iso file)
PART 3 - adding the UBCD4WIN ISO file to your favourite grub4dos bootable USB drive
Requirements
Note: It is assumed that you are legally licensed to use a copy of Windows XP. The system that you use it on should be legally licensed for the same version of Windows XP. You cannot legally distribute or sell the full UBCD4Win OS!
References
PART 1 - Creating a UBCD4WIN installationThe following instructions are based on using a Windows XP SP2 Microsoft install CD and v3.60 of the UBCD4Win.
You now have the 'flat files' and the ISO file which you can use to make a bootable USB drive. Click on Exit to close the application as we are done for now!
PART 2 - Make a bootable USB flash drive that boots directly from UBCD4WIN (BartPE) flat files (i.e. not using an iso file)The next step will format a USB drive and wipe all it's contents. You will need a 1GB USB drive or larger.
Another exampleTo simply convert a BartPE\WinPE v1\XP based ISO file into a bootable USB drive, you can just set options 1 to 5 below and click 6 Prepare Drive.
Troubleshooting BSOD 7BBlue Screen of Death 0x0000007B error
If you get this error when booting from some PCs (e.g. Dell PC or Acer TravelMate laptop) using any XP based USB bootable drive, the problem is usually caused by the WinPE/BartPE OS not being able to access the files on the USB drive. This is usually because of one of two reasons: 1. The version of NTDETECT.COM you are using is resetting the USB controller and thus the USB drive is no longer present. This may well be the problem if UBCD boots when emulated under QEMU but not on some real systems. - OR -
2. You do not have the correct Mass Storage Drivers present in your XP/BartPE image files and so it cannot detect the USB drive when it switches to protected mode. FIXES: 2a: Try changing the BIOS Menu Hard Disk access mode from 'Enhanced - AHCI' to 'Legacy' or 'Compatible' (mainly a fix for non-USB drive booting though!) 2b: Add mass storage drivers to your XP installation (UBCD4Win v3.60 does this automatically when you use the default build) 2c: Load the XP/BartPE ISO file into a ramdrive and use firadisk.gz. This requires more RAM but avoids the mass storage driver problems - though you may not be able to access all hard drives or USB drives in your system once you have booted to BartPE. See Part 3 below for details. PART 3 - Adding the UBCD4WIN ISO file to your favourite grub4dos multi-boot USB driveLet us assume that you already have a grub4dos multiboot USB drive which already has some bootable ISOs on it. There are several ways in which you can add UBCD4WIN to this drive. The first way is to simply copy the files from your USB drive made in PART 2 of this tutorial to your USB multiboot drive. Then add an entry into your menu.lst as follows:
Note: you could also chainload from /MININT/SETUPLDR.BIN instead of NTLDR.
However, you may already have XP or BartPE files on your USB drive or you may just want to boot from an ISO file. This can be done as follows: Boot WinPE/BartPE from an ISO file
Tip: You can compress the iso file using 7zip to a GZip file (.gz extension). This achieves an almost 50% reduction in size and so takes up less space on your USB drive (you could then use a 512MB USB flash drive). Just copy over the compressed file /UBCD4WinBuilder.iso.gz in place of /UBCD4WinBuilder.iso and change the menu.lst entries.
Note: Regardless of if you use an .iso file or a .gz file, because the whole contents of the iso file is loaded into and runs from memory (RAM); you will still need a system with 1GB of memory (or more) and the amount of free memory once UBCD4Win has booted will be reduced by the same size as the files (i.e. 600+MB of files), so on a 1GB RAM system you may only have 200MB of RAM once UBCD4Win has booted.
You can use the same technique with any XP/BartPE based ISO image. Note that you must use --mem to load the ISO file or you will get a BSOD 0x0000007B error.
For example, for the Avast BartPE ISO you can use a menu entry similar to:
Keywords: BartPE, WinPE, WinXP, Bart PE, BSOD, 7b, 0000007b, crash
|




