Jump to content

Problem with Ghost


Bigbrit

Recommended Posts

Working on some PC's that a local Christian School uses. The kids screw them up every couple of weeks.

Cannot use Deep Freeze or similar as they have programs that write info to the HD all the time.

XP Pro, 256megs, Celeron 2.4 478pin, 40gig Seagate IDE, CD-ROM, Floppy

Partitioned the hard drive 30gig/10gig. On the 10gig is a partition image of the C: drive.

I want the School "tech" to be able to boot from a CD with Ghost on it and drop the image

on the partition onto the "C: drive". (image is called RESTORE.GHO)

Using the following command line:

ghost -clone,mode=pload,src=1:2\restore.gho,dst=1:1 -sure -rb

I get:

useage error 10095

No source partition was specified from image.

1:2 is the second partition -- 1:1 is the primary partition.

Pretty sure my syntax is wrong but have used a dozen CD's so far.

Any ideas work be appreciated.

:hello:

Link to comment
Share on other sites


ghost -clone,mode=pload,src=1:2\restore.gho,dst=1:1 -sure -rb
I don't believe you can't use the drive:partition selectors to find the ghost image. This is intended for use when capturing a specific drive/partition.

But you definitely need to indicate which partition you want from the image, even if it only has one partition.

From Norton Ghost online help:

NOTE: When the location of the image file is not a tape device, the SRC parameter requires the partition number even when the source image file has only one partition. That is, when the source image file contains more than one partition, use the partition number to specify which partition you want to write to the destination partition. When the source image contains only one partition, use the numeral 1.

try these:

ghost -clone,mode=pload,src=1:2\restore.gho:1,dst=1:1 -sure -rb

ghost -clone,mode=pload,src=d:\restore.gho:1,dst=1:1 -sure -rb

another option wold be to ghost the boot partition to the second partition doing a partition to partition ghost and then deepfreeze just the second partition and restrict access to it from the os. then when you need to restore you would use

ghost.exe -clone,mode=pcopy,src=1:2,dst=1:1 -sure -rbb

Link to comment
Share on other sites

Thanks IcemanND

I will be at the school in the morning and will give those ideas a try.

If I have to I will image the C: to the partition as an image.

Using gdisk -hide /p:1 /y to hide the partition is another option to stop the little

rug rats from deleting anything on the partition.

Thanks for you help

:hello:

Link to comment
Share on other sites

Thanks Iceman

That worked fine. I used option "1" and it worked

(ghost -clone,mode=pload,src=1:2\restore.gho:1,dst=1:1 -sure -rb)

Adding the ":1" after the restore.gho was the thing I had missed.

Thanks for your help. It will stop the "little darlings" from screwing things up.

All a product of California's education system.

p.s. I find it easier to create a BAT file called ghost.bat and add the command line in there,

it makes things easy to change and add mouse.com and gdisk.

I rename ghost.exe to ghost2.exe so the line reads:

(ghost2 -clone,mode=pload,src=1:2\restore.gho:1,dst=1:1 -sure -rb)

:thumbup

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...