Jump to content

[Help] - Question on restoring ghost image from xp


illusions

Recommended Posts

Hi, I have the following partition

hidden partition drive 1 partition 1 ... FAT32 3gig

active partition drive 1 partition 2 ... NTFS 5 gig window xp

secondary partition drive 1 partion 3 ... NTFS 70 gig

Is there a way where i can reboot from xp and run a batch files on dos to restore the ghost image?

drive 1 partition 1 has

ghost.ext

gdisk.exe

backup.gho

autoexec.bat

config.sys

my autoexec.bat is as follows

;unhide drive 1 partition 1

gdisk 1 /-hide /p:1

; dump ghost image

ghost.exe -clone,mode=pload,src=1:1,dst=1:2 -FX - RB -SURE

or

ghost.exe -clone,mode=pload,src=c:\backup.gho,dst=1:2 -FX - RB -SURE

; hide drive 1 partition 1 and reboot

gdisk 1 /hide /p:1 /r

Please advice and check if the command line are correct. Thanks

Title Edited - Please follow new posting rules from now on.

--Zxian

Edited by Zxian
Link to comment
Share on other sites


You would have to do this from a boot disk outside of XP, either a floppy or CD, that makes the first partition unhidden and active. I'm not sure this can be done from within Windows XP itself (perhaps it can be done with partition magic or another 3rd party software like it, but Windows itself won't have a way to see the hidden partition).

Edited by cluberti
Link to comment
Share on other sites

Well, you can hide/unhide partitions from XP with the FREEWARE MBRWIZ :

http://www.geocities.com/mbrwizard/

Of course the batch file must be on the hidden partition and run at re-boot.

After restoring, the same batch should re-hide the partition and re-boot again.

Something like this has been discussed here between me and sisal:

http://www.911cd.net/forums//index.php?sho...ic=14181&st=603

and following...

there is even a "skeleton" of a batch file for it that also includes a kind of error checking through the "disk signature" win2k and XP put on hard disks:

http://www.911cd.net/forums//index.php?sho...ic=14181&st=623

Of course this is tricky business, so you MUST have a boot floppy built like this:

http://www.xxcopy.com/xxcopy33.htm

with a copy of the DOS vversion of MBRWIZ or some other utility to manually hide/ubhide partitions should anything go wrong....

jaclaz

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...