On Sun, Apr 19, 2015 at 4:26 AM, Christian Kujau <[email protected]>
wrote:

> Hi,
>
> I needed to shrink a VirtualBox VDI image to half its size and but I
> remembered that "shrinking"[0] is currently not possible
>

Hi Christian,

Like Alexey says... Virtualbox is "faking¨ a real hard disk (virtualizing,
ie implementing virtual hardware, in software)

In other words, think what could happen if you take a real hard drive, with
data on it, reduce the number of platters, or heads, or sectors, and then
re-assemble it. The operating syttem software (not to mention bios) would
be confused right? Think your data could still be accesible?. Of course
not...

A VDI image is a software representation of hard drive sectors. A VDI image
knows nothing about file systems (NTFS; EXT4, etc)
Once you format and partition a hard drive, that´s an operating system´s
business, the IDE or SATA interface knows nothing about file systems, it
knows about heads, cylinders (tracks) and sectors, the IDE and SATA
interfaces only say "give me sector number xxxx" "write sector xxxx" well
that´s what a VDI image stores, sectors.

If you change the size of a  virtual hard drive stored into a VDI image
file, you are altering the physical hard drive size (as seen from the guest
OS)...Not as simple as it might seem.

FC

-- 
During times of Universal Deceit, telling the truth becomes a revolutionary
act
Durante épocas de Engaño Universal, decir la verdad se convierte en un Acto
Revolucionario
- George Orwell
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community
_______________________________________________
Unsubscribe:  
mailto:[email protected]?subject=unsubscribe

Reply via email to