MSFN Forum: Activate Partition after ghosting to write Sysprep - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Activate Partition after ghosting to write Sysprep can't use DISKPART Rate Topic: -----

#1 User is offline   dkreifus 

  • dkreifus
  • PipPip
  • Group: Members
  • Posts: 292
  • Joined: 30-March 04

Posted 07 March 2007 - 09:43 AM

I am attempting to write to the drive after I've loaded the image on it. I need to write to the sysprep file and the registry.

I am using WinPE2005 and Ghost 8.2.

After creating the image, I use WinPE to deploy it with the following line:

Quote

ghost32.exe -clone,mode=load,src=S:\CSIimage.gho,dst=1 -sure -quiet -auto -fx


The problem is that DiskPart won't recognize the drive until I reboot. This prevents my VBS script from working, so I can't get HAL recognition.

Am I using the wrong Ghost parameters?


#2 User is offline   Jazkal 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 592
  • Joined: 16-January 04

Posted 07 March 2007 - 11:39 AM

I don't use ghost, but I can say that it isn't diskpart that isn't letting recognize the partition or data. I use diskpart, and lay down my image with imgdeploy or imagex and I can access the data right away.

#3 User is offline   dkreifus 

  • dkreifus
  • PipPip
  • Group: Members
  • Posts: 292
  • Joined: 30-March 04

Posted 07 March 2007 - 01:11 PM

Yea, I am guessing it ghost. I just am not sure why.

EDIT:
I've been doing a Disk to Image and then Image to Disk clone/restore process. Maybe a partition to image and then image to disk?

This post has been edited by dkreifus: 07 March 2007 - 02:19 PM


#4 User is offline   ubernerd 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 15-March 05

Posted 07 March 2007 - 05:18 PM

Why use Ghost when ImageX is available with WinPE?

I do a PXE boot, partition, format, apply, reboot and minisetup in under 8 minutes with WinPE and ImageX, given that, I would need a lot of very good reasons to use ghost.

All you need to do is apply your with ghost, reboot and capture the image with ImageX, then you can loose Ghost for good.

#5 User is offline   dkreifus 

  • dkreifus
  • PipPip
  • Group: Members
  • Posts: 292
  • Joined: 30-March 04

Posted 07 March 2007 - 07:58 PM

We're using PE2005, and I'm not familiar with imagex. my company is not looking for newer technologies yet on that aspect. Once we got this bridge crossed, we can look at something else.

#6 User is offline   Jazkal 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 592
  • Joined: 16-January 04

Posted 07 March 2007 - 10:59 PM

Another great feature of imagex is single instance storage. As an example, I have 45+ images that have to be maintained, that take up around 90 gigs of space or so. Using Imagex, I have that down under 10 gigs.

And if you plan on using Vista or Longhorn when it comes out, your going to be using imagex anyway.

This post has been edited by Jazkal: 07 March 2007 - 11:00 PM


#7 User is offline   mats 

  • Member
  • PipPip
  • Group: Members
  • Posts: 206
  • Joined: 10-May 05

Posted 08 March 2007 - 01:36 AM

It's your ghost that's having problems.
Im using pqideploy wich is also sectorbased (just like ghost) and it works.
I load my image, use sysprep to find the new drive and give it a drive letter. Finally i do modify my sysprep.inf with hal information

#8 User is offline   dkreifus 

  • dkreifus
  • PipPip
  • Group: Members
  • Posts: 292
  • Joined: 30-March 04

Posted 08 March 2007 - 05:32 AM

When you make your image, do you image the partition or the drive?
I believe I have pqideploy as well (made by symantec, right?) What's the difference?

#9 User is offline   robbo101 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 28-February 05

Posted 19 March 2007 - 04:42 AM

You can mount the drive after you have ghosted to it as thats the way we have beiung doing it for years.

We are moving over to imageX but some of the older images are done this way.
We started using this scrpt on ghost 8.0 now are using 8.3 but it all works.

Our Ghost script
 
u:\GHOST32 -CLONE,MODE=LOAD,SRC=q:\image\image\image.GHO,DST=1  -sze2=f -SURE -fx -fdsp
if not errorlevel 1 goto end
y:
echo GHOST FAILED TO COPY IMAGE! > SKIPFAIL.TXT
exit

:end
u:
call mount.bat
y: 


My mount command
 
diskpart /s diskpart.txt
copy u:\winbom.ini c:\sysprep\
copy u:\copier.bat c:\sysprep\
copy u:\wait.bat c:\sysprep\ 


My Diskpart Script
 
select disk 0
select partition 1
assign letter=c 


#10 User is online   kyor 

  • Junior
  • Pip
  • Group: Members
  • Posts: 94
  • Joined: 11-October 04
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 20 March 2007 - 09:59 AM

@ ubernerd

Imagex is fine but when you apply a Vista image to 40 machines, you can wait a long time.
Ghost can multicast.

Or have i overlook something ?


Vista content with software 9 GB


Doing it with ghost multicast 9 GB
Doing it with imagex 9 GB * 40 = 360 GB

To transfer 360 GB over network takes a long time

This post has been edited by kyor: 20 March 2007 - 10:01 AM


#11 User is online   kyor 

  • Junior
  • Pip
  • Group: Members
  • Posts: 94
  • Joined: 11-October 04
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 20 March 2007 - 12:15 PM

A few people here use Imagex so i have a question to you

Do you get the same error when you deploy XP or Win2003 Images through Imagex ?
Does anybody have a trick for that ?
Or do all people ignore this message ?

please see this link here

http://www.msfn.org/...showtopic=91857

Would be very nice if you can give me a short statement :rolleyes:


Greeting kyor

#12 User is offline   gadget 

  • Member
  • PipPip
  • Group: Members
  • Posts: 192
  • Joined: 02-January 04

Posted 12 April 2007 - 01:24 AM

If you run diskpart just to rescan the hard drive all partitions will show.

#13 User is offline   dkreifus 

  • dkreifus
  • PipPip
  • Group: Members
  • Posts: 292
  • Joined: 30-March 04

Posted 12 April 2007 - 04:38 AM

I'm trying again.

I just recreated the entire image. I restructed the OEMpnpdrivers folder and I'm testing it today.

Do you guys image the partition, or the whole hard drive...thats still my question about this

#14 User is offline   gadget 

  • Member
  • PipPip
  • Group: Members
  • Posts: 192
  • Joined: 02-January 04

Posted 12 April 2007 - 03:18 PM

We always image the whole drive but we deploy images to hundreds of systems each day. If the system has a data partition which requires to be left intact then image just the partition.

The only utility I know of that will write to a partition after ghost is pq addendum from powerquest but it's not cheap. Why can't you use diskpart to rescan the drives after ghost has exited? I use it as default.

This post has been edited by gadget: 12 April 2007 - 03:21 PM


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy