Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
ShrimpBoy

Ghost32 And Diskpart On Winpe

Recommended Posts

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

Share this post


Link to post
Share on other sites

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]?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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 post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...