OS4 DepotLogo by Browallia 
(anonymous IP:,2218) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (600)
   o Document (22)
   o Driver (97)
   o Emulation (148)
   o Game (1005)
   o Graphics (499)
   o Library (116)
   o Network (233)
   o Office (66)
   o Utility (927)
   o Video (69)

Total files: 4379

Full index file
Recent index file



Support the site

 Readme for:  Utility » Filetool » vditool.lha


Description: Tool for creating/handling .vdi files
Download: vditool.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 27kb
Version: 1.2
Date: 25 May 2011
Author: Fredrik Wikström
Submitter: Fredrik Wikström
Email: fredrik/a500 org
Homepage: http://www.a500.org/
Category: utility/filetool
Replaces: utility/filetool/vditool.lha
License: BSD
Distribute: yes
Min OS Version: 4.0
FileID: 6441
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 64  (Current version)
340  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 
VDI is a disk image format used by VirtualBox that can also be mounted and
used with diskimage.device. The main advantage of VDI over raw image formats
like HDF f.e. is that it supports sparse or dynamic disk images where only
blocks that actually contain data are stored inside the VDI file.


Copy vditool SYS:C/


vditool <command> <.vdi file> [options]
  create          Create a new .vdi file
  info            List information about .vdi file
  compact         Compact a dynamic .vdi file
  convertfromraw  Convert raw (.hdf) to .vdi file
  converttoraw    Convert .vdi to raw (.hdf) file
Command syntax:
  vditool create <.vdi file> [fixed|dynamic] <size>
  vditool info <.vdi file>
  vditool compact <.vdi file>
  vditool convertfromraw <.vdi file> <raw file> [fixed|dynamic]
  vditool converttoraw <.vdi file> <raw file>

The create command creates an empty fixed or dynamic VDI file of the size
specified (in GiB).

To create a 30 GiB dynamic VDI file:
vditool create empty.vdi dynamic 30

The info command lists information about the VDI file like the type (fixed/
dynamic), sector size, disk size, block size, number of blocks and number of
blocks currently in use.

To list info about harddisk.vdi:
vditool info harddisk.vdi

The compact command removes any blocks in a VDI file that contains only zero
bytes and then resizes the file. This operation is done in place and is not
well tested at the moment so it is recommended to do a backup of the VDI file
first before attempting this.

To compact the VDI file system.vdi:
vditool compact system.vdi

In order for compacting to be of any real use you will also need a program
that writes zero to any sectors unused by the filesystem(s) (AFAIK no such
tool exists for AmigaOS yet).

To convert amigaos3.hdf to amigaos3.vdi:
vditool convertfromraw amigaos3.vdi amigaos3.hdf

Convert back to raw (.hdf) format:
vditool converttoraw amigaos3.vdi amigaos3.hdf


1.2 (25-May-2011)
 - Improved progress displays for compacting
 - Added break signal checks for compacting
 - Added convertfromraw and converttoraw commands

1.1 (22-May-2011)
 - First released version

Copyright © 2004-2024 by Björn Hagström All Rights Reserved