MSFN Forum: Ghost32 And Diskpart On Winpe - MSFN Forum

Jump to content



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

Ghost32 And Diskpart On Winpe Is it possible to save a reboot??? Rate Topic: -----

#1 User is offline   ShrimpBoy 

  • Master Shrimp!
  • Group: Members
  • Posts: 43
  • Joined: 15-February 05

Posted 17 February 2005 - 10:07 AM

Hi!

I've read a post concerning diskpart and ghost32.

This post give me an answer on how to save a reboot after ghosting an image by using diskpart to mount the drive.

I can't mount the drive since there is no FS on the volume...

After ghost32, my volume list contain my new ghosted partition as Volume 1, but I can't assign a letter to it...

It gives me this as an error message:

DiskPart could not assign the drive letter or mount point.
Make sure the drive letter or mount point is valid.

I've tried every letter, none of them works!

Here are the command line that i'm typing:

Diskpart
select disk 0
select partition 1
select volume 1
assign letter=c


Here is the result of List Volume command:

Volume ### Ltr Label Fs Type Size Status Info
---------- --- ----------- ----- ---------- ------- --------- --------
Volume 0 X CDWINPE CDFS CD-ROM 167 MB
* Volume 1 Partition 39 GB Healthy
Volume 2 NTFS Partition 17 GB Healthy



Thanks a lot!!

ShrimpyOne


#2 User is offline   RichM 

  • Newbie
  • Group: Members
  • Posts: 24
  • Joined: 26-January 05

Posted 17 February 2005 - 10:29 AM

Shrimpy, not sure if it makes a difference, but did you restore from a disk or a partition image?

and was the drive existing before or was this a blank disk before [the image]?

#3 User is offline   RichM 

  • Newbie
  • Group: Members
  • Posts: 24
  • Joined: 26-January 05

Posted 17 February 2005 - 10:49 AM

I think I'm missing context, but...

I booted WinPE (well, BartPE), used diskpart to remove the C partition.
Ran Ghost32 under BartPE, did partition from image to the free space that used to be C, making a new partition.
Closed Ghost32, ran diskpart, did list vol, got

Volume ### Ltr Label Fs Type Size
---------------- ---- ---------- ------ --------------- -----------
Volume 0 X AIODVD CDFS DVD-ROM 1166 MB
Volume 1 FAT Partition 47 MB
Volume 2 NTFS Partition 74 GB
Volume 3 D NTFS Partition 74 GB

Then I typed: sel vol 2 | assign letter=c
and it worked. I did a directory of it and it was fine.

Did I miss something in duplicating your issue?
Rich

#4 User is offline   ShrimpBoy 

  • Master Shrimp!
  • Group: Members
  • Posts: 43
  • Joined: 15-February 05

Posted 17 February 2005 - 11:32 AM

Hi!

I run DISKPART and remove the drive C and close DISKPART.
I ghost with this command line:
ghost32.exe -clone,mode=load,src=q:\image.gho,dst=1,sze1=40000M -sure

I run DISKPART again and try to assign a drive to my partition, still no FS, it's not NTFS as it should be and will be after the reboot, it is blank...

Is there a way to solve this issue?

Thanks!

ShrimpyOne

#5 User is offline   ShrimpBoy 

  • Master Shrimp!
  • Group: Members
  • Posts: 43
  • Joined: 15-February 05

Posted 17 February 2005 - 01:40 PM

Hi all!

I know how to make it work.

First create a destination partition on the disk by using DISKPART

Ex:
DISKPART
SELECT DISK 0
CLEAN
CREATE PARTITION PRIMARY SIZE=60000
EXIT

Then Install your Ghost image on that partition.

Then use DISKPART to assign a drive to your partition.

Ex:
DISKPART
SELECT DISK 0
SELECT VOLUME 1
ASSIGN LETTER=C
EXIT

Then do whatever you want on the freshly ghosted partition without any reboot!

Hope this will help others!

ShrimpyOne

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