How to Create a Hirens Boot CD Usb

We describe how to Create a Hirens Boot CD Usb memory stick ( ash drive) and how the later can be made bootable using exclusively tools provided by the HBCD. The quickest and most accurate method is to use Linux command line tools, however Windows can be also used with equally good results.

How-to-Create-a-Hirens-Boot-CD-Usb

How to Create a Hirens Boot CD Usb

How to Create a Hirens Boot CD Usb Windows Method

  • Insert Hiren’s Restored BootCD, boot the computer from it and select Mini Windows XP.
  • Insert a 4GB (or larger) USB stick.1 Warning: All data on the USB stick will be erased.

Run the USB Format Tool, found in the HBCD Program Launcher, under the item Programs – Parti-
tion/Boot/MBR,

How-to-Create-a-Hirens-Boot-CD-Usb

  •  Format the stick as shown.

01-usb-instalation.pdf-Adobe-Reader

  • Determine the letters of the CD and USB drives (Look in My Computer).
  • Copy all the les from CD to USB. For this you may Drag-and-Drop”(slow) or use one of the utilities found in the HBCD menu, like FastCopy or TeraCopy (look for them under Backup) or Total Commander, or even use the dos command: xcopy X:*.* Y: /E, where X and Y are CD and USB letters respectively.

Go to My Computer, nd the CD, right click on the bootprog subfolder and then ‘Command Promt Here

  • In the console window type the command:
  •  In the console window type the command:
    syslinux.exe -maf -d isolinux Y:
    where Y: is the USB drive.

     

  • This command installs the bootloader, the MBR and activates the USBfor booting.
  •  Safely remove the stick and test for booting.

How to Create a Hirens Boot CD Usb by Alternative Windows Method


The utility RMPepUSB (found in Partition/Boot/MBR of the HBCD program launcher menu) can format,
copy the les, and install the bootloader in one go. However it takes a very long time to copy the les.

hbcd

  • Set the utility’s options as shown below and click Prepare Drive. Unless you are familiar with this utility do not meddle with any of the other settings.

 

hbcd-usb

 

  • Wait (copying the les takes a long time with this utility; so be patient) and, when prompted, answer the two questions as indicated in the screenshots shown below:

 

hiren-boot-cd

  • When asked type the bootloader folder name: isolinux (without backslash).

hiren-boot-cd-usb

How to Create a Hirens Boot CD Usb by Linux Method

  • Insert Hiren’s Restored BootCD, boot the computer from it and select Parted Magic Linux (the 5th option of the main menu).
  •  Insert a 4GB (or larger) USB stick.2 Warning: All data on the USB stick will be erased.
  •  Open a console window (e.g. LXTerminal) and type the following commands exactly as they appear in the list bellow after you replace the xx’s with what is appropriate for your USB flash drive e.g. sdb1 or sdc1.3 Warning: If you get xx wrong you may erase your hard disk.
Command Explanation
In case the stick has been
umount /dev/sdxx already automounted,
unmount it rst.
mkfs.vfat -F32 -n HBCD /dev/sdxx Format the stick.
mkdir /mnt/cdrom Create a CD mountpoint.
mount /dev/sdxx /mnt/usb Mount the stick.
mount /dev/sr0 /mnt/cdrom Mount the CD.
cp -Rfv /mnt/cdrom/* /mnt/usb/ Copy les to the stick,
and wait for some time...
syslinux -i -d isolinux /dev/sdxx Install the bootloader.
dd if=/usr/share/syslinux/mbr.bin of=/dev/sdx Install the bootloader's MBR.
parted /dev/sdx set 1 boot on Make the stick active, i.e. bootable.
sync Flush any pending buered data.


 

  • Note: In the last two commands before sync, sdx must be a device e.g., sdb or sdc, and not a partition sdb1 or sdc1.
  •  Reboot the computer and test the stick for booting.