Pagina 1 di 1

Clonare Hard disk con CHDMAN

Inviato: 20/11/2011, 18:33
da TheBaro
ciao raga, volevo farvi partecipi nell'uso di un programmino free che mi ha salvato le chiappe in una situazione disperata:il CHDMAN
lo trovate nello zip del mame quando scaricate l'eseguibile dos, percui non sto a darvi il link..
piuttosto vi riporto una guida ben fatta di Guru, un mamedev che la sa lunga...

Purtroppo è in inglese ma penso la possiate capire...mal che vada usate il Google translator....cominciamo!! 8-)

Power off your PC. Plug in the HDD and boot up your PC to your Windows XP desktop (sorry, the scope of this article does not include other operating systems, so I'm not going to cover them!)
When the PC is booted, go to START then click CONTROL PANEL. Then double click ADMINISTRATIVE TOOLS then COMPUTER MANAGEMENT.
cm.jpg
Click DISK MANAGEMENT then maximize the screen so you can see everything.
cm1.jpg
Look for the HDD that you added. It will probably be the last one shown, but you may want to do this first before adding the new HDD then note the differences to be sure you select the correct one!
You have to know which physical volume your target hard disk is mapped as. On the right hand side it shows you a list of all the physical hard disks you have plugged in. They will be listed as 'Disk 0', 'Disk 1', 'Disk 2' etc. Make a note of which disk number your target hard disk is.
Once you've done that, it's easy to image the HDD into a file. Copy the MAME-supplied chdman.exe to a local hard drive that has enough space for the image (in my case I copy it to F:). Then open a DOS prompt and CD to that drive. For example, assuming my user name is 'user1', the drive I want to backup is physical drive 3 and I want to image the HDD to my F: drive....
(opening DOS prompt will bring you here)....
C:\Documents and Settings\user1\
type F: then press ENTER
(again make sure you are on a local hard drive that has enough free space to hold the image!)
Then type the following:
chdman -createhd \\.\PHYSICALDRIVE3 image.chd then press ENTER

where 'image.chd' is the name of the CHD file you want to create and the '3' next to PHYSICALDRIVE is the disk number listed in the DISK MANAGEMENT screen for the HDD you want to backup.
You will see a screen like this and you must wait until the drive is completely read....
dos1.jpg
After a period of time, you will see a new file on your drive called image.chd
Type dir and it should be listed....
dos2.jpg
Of course, you did that to backup an undumped game for us (MAMEDEV) didn't you? So now copy that file to a CD/DVD and post it out to us (or upload it somewhere and contact someone from MAMEDEV) so it can be added to MAME, purely for research purposes of course! :-)

Note that you can also use chdman to re-create a real HDD from a backup CHD image in much the same way:
chdman -extract image.chd \\.\PHYSICALDRIVE3

(remember to replace the '3' with the drive you want to re-create, don't get it wrong or you will completely overwrite the wrong HDD!)

Note that this method also works for drives connected via an external USB box. The above example test drive was a 2 1/2 inch HDD connected via an external USB cable. The final image is only ~8MB because the drive was empty :-)

....
Garantito il funzionamento anche per gli Hdd dei CHD di giochi tipo Killer Instinct ecc... <-thumbup->

Re: Clonare Hard disk con CHDMAN

Inviato: 20/11/2011, 18:40
da Ansa89
Ma questo tool non serve per creare le immagini compresse dei giochi che richiedono l'hard disk (i quali appunto prendono il nome di "chd")?

Re: Clonare Hard disk con CHDMAN

Inviato: 20/11/2011, 19:06
da TheBaro
certo ma nessuno ti vieta di creare un immagine backup chd del tuo hard disk e poi usarla per clonarlo..io l'ho provato clonando un Hdd 2,5" del Cristaltec e dove TUTTI hanno miseramente fallito (compreso il Norton Ghost e l'Acronis True Image) lui si è comportato in maniera impeccabile copiando bit per bit il contenuto...
per me non ha paragoni!...

Re: Clonare Hard disk con CHDMAN

Inviato: 20/11/2011, 19:22
da Ansa89
Per me i migliori sono dd e ddrescue (ovviamente sono tool per ambienti *nix).

Re: Clonare Hard disk con CHDMAN

Inviato: 21/11/2011, 10:08
da Kernel
TheBaro ha scritto:certo ma nessuno ti vieta di creare un immagine backup chd del tuo hard disk e poi usarla per clonarlo..io l'ho provato clonando un Hdd 2,5" del Cristaltec e dove TUTTI hanno miseramente fallito (compreso il Norton Ghost e l'Acronis True Image) lui si è comportato in maniera impeccabile copiando bit per bit il contenuto...
per me non ha paragoni!...
Con l'acronis hai provato a fare un backup "sector by sector" (RAW)?

Re: Clonare Hard disk con CHDMAN

Inviato: 21/11/2011, 10:10
da Ansa89
Ho visto adesso che l'utility "chdman" è disponibile anche per linux come parte integrante del progetto MAME.
Le possibili opzioni sono documentate nella pagina del manuale.