Vous êtes sur la page 1sur 3

Hirens CD Creating Ghost32.uha with Uharc.

exe
Hirens Boot cd is an awesome Boot CD and it contains all the free tools you need to fix any PC in trouble. One of the utilities I needed that was not included in the ISO file was Ghost32.exe. Ghost is a license product so in order to add Ghost functionality you will need your own licensed copy. This post will show you how to create an Ghost32.uha and insert it into the boot ISO. Hirens creators made everything simple for us, when you hit the Ghost option in the HBCD menu | Programs you will see the following error: File Misssing: HBCD\WinTools\Files\Ghost32.uha use HBCDCustomizer.exe and add your files. The error message above give a big hint on what is missing, where is the files supposed to be and what utility to use. Follow step below if you have no clue on how create the .uha file and create the new ISO boot image. To create Ghost32.uha import into your Customized BootCD follow these steps:
Go to the folder where your files original Hiren ISO files were extracted and click on HBCDCustomizer.exe. Click on Extract ISO

ISO file contents will be completely extracted into a folder called MyBootCD in your root or C: Drive. Create folder called c:\ghost or anything you like. Copy C:\MyBootCD\CD\HBCD\uharc.exe and ghost32.exe to C:\ghost or the folder you created.| Open up CMD screen. (Start \ Run \ type CMD and hit enter) In the black CMD or dos prompt browse to that folder. -- cd \ >> change directory to root or C:\ -- cd ghost >> to change directory to c:\ghost -- you should see 2 files if you type dir command (uharc.exe and ghost32.exe) -- type uharc a Ghost32.uha ghost32.exe (this will create a Ghost32.uha file)

- Copy this Ghost32.uha file and save it under C:\MyBootCD\CD\HBCD\WinTools\Files - Once done copying the Ghost32.uha launch the HBCDCustomizer.exe window and click on "Make ISO" button or browse to C:\MyBootCD and click on Make ISO.bat batch file and this will create your new MyHBCD.iso. - Final step is to burn this into a CD and test it out.

Microsoft Windows [Versin 6.1.7601] Copyright (c) 2009 Microsoft Corporation. Reservados todos los derechos. D:\Users\spcha1>c: C:\>cd gost C:\Gost>dir El volumen de la unidad C no tiene etiqueta. El nmero de serie del volumen es: C87E-B40B Directorio de C:\Gost 09/08/2011 11:36 <DIR> . 09/08/2011 11:36 <DIR> .. 25/05/2011 13:33 305 Ghost32.cmd 25/05/2011 13:33 103.936 uharc.exe 2 archivos 104.241 bytes 2 dirs 172.508.303.360 bytes libres C:\Gost>uharc.exe Usage: UHARC command [-switches..] archive[.uha] [files..@listfile..!exclude..] ---< Commands >---------------------------------------------------------------a create archive and Add files e Extract files to current directory m create archive and Move files x eXtract files with full pathname l List files in archive t Test files in archive ---< Switches >---------------------------------------------------------------d<0..2> Set display mode (0 = quiet, 1 = default, 2 = verbose) m<0..3,x,z> Set cmp.mode (0 = STORE, 1..3 = ALZ:fast..best, x = PPM, z = LZP) md<n> Set dictionary size in KByte (must be power of 2 : 1 .. 32768) mm[-,+] Disable/enable built-in multimedia detection/compression o[-,+,p] Overwrite existing files (- = never, + = always, p = prompt) p<-,r,f,e> Store (- = no, r = relative, f = full, e = excluded) pathnames ph[-,+] Archive header encryption | ac[-,+] Clear file archive attr pw[passwd] Set password | ae<attr> Set attr exclusion mask r[-,+] Recurse subdirectories | b<n> Set max filebuffer size t<dir> Set extract target dir | bpb[-,+] bpb instead of % ratio vm[-,+] Set virtual memory usage | ed[-,+] Store empty directories y[-,+] Assume yes on all queries | lg<file> Log output to <file> ------------------------------------------------------------------------------C:\Gost>uharc.exe a Ghost32.uha Ghost32.cmd Creating archive "Ghost32.uha". Using ALZ:2-mode (1 KB dictionary) with multimedia detection. Using 3.0 MB for compression and 50 KB for file buffers. Adding 1 file (305 bytes) size packed ratio Total: 305 204 66.9% C:\Gost>

Vous aimerez peut-être aussi