Jump to content

Ghost32 And Diskpart On Winpe


ShrimpBoy

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

Link to comment
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

Link to comment
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

Link to comment
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

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