Jump to content











Photo
- - - - -

VHD-Manager_basic

vhd diskpart commandline

  • Please log in to reply
8 replies to this topic

#1 Tokener

Tokener

    Frequent Member

  • Developer
  • 378 posts

Posted 06 March 2013 - 08:15 PM

Posted Image

File Name: VHD-Manager_basic
File Submitter:
File Submitted: 06 Mar 2013
File Updated: 20 Mar 2013
File Category: Boot tools

Dear community
If you are using VHD booting by Grub or Windows,
you might need a tool to create and manage VHD files.
The VHD-Manager is designed to do this job for you.

Fields of application: (in short form)
Create VHD.
Create Partition.
Mount VHD to edit.
Merge differencing VHD´s.
Resize VHD.

All VHD related processes should be handled.
The VHD-Manager uses DISKPART commandline to get things done.

The current version is tested on Win7x64 lang=de.
If you have success with other language, please leave a little comment.
T.

Click here to download this file

#2 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 06 March 2013 - 08:58 PM

Looks useful!  :good: 

 

A few observations...

 

'Diskmanagement' would look better as 'Disk Management'

In Create Partition, Compress is ticked by default, would grub4dos work if the VHD was made with Compress ticked? Better for default to be unticked?

In ReSize tab Disk has li in the first box. What does this mean? Also it says Disk 0  Online 29 - what does 29 mean (disk is 298GB), Disk 1 (vhd) says 15 (disk created was 150MB)

If I select Disk 1 (the vhd) and click List Disk, disk 0 is listed.



#3 Tokener

Tokener

    Frequent Member

  • Developer
  • 378 posts

Posted 06 March 2013 - 09:21 PM

Thank you steve6375

Can you please quote dsk.txt and vol.txt, so I can adjust the program for other lang

T.



#4 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 06 March 2013 - 09:26 PM

Here is a screenshot

Attached Thumbnails

  • VHD.jpg


#5 Tokener

Tokener

    Frequent Member

  • Developer
  • 378 posts

Posted 06 March 2013 - 09:40 PM

TU steve6375

sorry i had to edit my post in the meantime.

can you pls post dsk.txt to download?

T.



#6 steve6375

steve6375

    Platinum Member

  • Developer
  • 7566 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films
  •  
    United Kingdom

Posted 06 March 2013 - 09:59 PM

 
Microsoft DiskPart version 6.1.7601
Copyright © 1999-2008 Microsoft Corporation.
On computer: STEVE-PC
 
  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          298 GB  1024 KB         
 
 
Microsoft DiskPart version 6.1.7601
Copyright © 1999-2008 Microsoft Corporation.
On computer: STEVE-PC
 
  Volume ###  Ltr  Label        Fs     Type        Size     Status     Info
  ----------  ---  -----------  -----  ----------  -------  ---------  --------
  Volume 0     E                       DVD-ROM         0 B  No Media           
  Volume 1     G                       DVD-ROM         0 B  No Media           
  Volume 2         SYSTEM RESE  NTFS   Partition    100 MB  Healthy    System  
  Volume 3     C   ACER         NTFS   Partition    247 GB  Healthy    Boot    
  Volume 4     D   BACKUP       NTFS   Partition     39 GB  Healthy            
  Volume 5         PQSERVICE    NTFS   Partition     11 GB  Healthy    Hidden  
 

 G: is virtual CD drive



#7 Tokener

Tokener

    Frequent Member

  • Developer
  • 378 posts

Posted 07 March 2013 - 10:14 AM

thanks steve

this is an language issue, (diskpart output), I am working on a solution.

T.



#8 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 16066 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 07 March 2013 - 10:35 AM

Besides the obvious usefulness for this nice utility :thumbsup: I guess it should be specified somewhere how grub4dos does not support any kind of .vhd image which is not a "static" one i.e. a RAW image with the "Connectix descriptive sector" appended.

In other words, grub4dos supports only RAW images and coincidentally a "static" .vhd is actually a RAW image with a sector appended to it (which is ignored by grub4dos).

To easily convert between RAW disk image and .vhd "static" (if needed), there are a few tools on the board:

Clonedisk

http://reboot.pro/to...8480-clonedisk/

is a "general" tool to make images, copy disks/partitions, and a few other functions, including bi-directional RAW<-->VHD conversion.

This other command line tool:

VHD2IMG

http://reboot.pro/to...mand-line-tool/

allows to convert from "static" OR "dinamic" VHD to RAW.

And this other command line tool:

RAW2VHD

http://reboot.pro/to...ges/#entry83781

that allows to convert from RAW to VHD ("static")

 

:cheers:

Wonko

 

 



#9 Tokener

Tokener

    Frequent Member

  • Developer
  • 378 posts

Posted 07 March 2013 - 03:13 PM

Hi

I recently updated to version 130307.

Removed obsolete controls.

Should work language independent.

Thanks for suggestions.

T.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users