On Mon, May 10, 2010 at 7:37 PM, Alberto Mijares <[email protected]> wrote:
>> You can try to find some program, that randomly (but slowly) writes
>> junk into HDD image, and run this program on _host_.
>> Guest will receive random junk this way.
>
>
> Hi Alexey,
>
> I wrote a small C program (simple and dirty) that randomly writes 32
> bytes of junk at once into the disk image. Is it ok to simulate the
> damage? What you ment with "slowly"? Should I write into any especific
> position of the file?
>
> Thanks for any further information.
>

This should work... at least for VMDK /RAW images.
Other types of images are complex containers, so it would be bad idea
to damage containers, only the data..

Damaging complex containers (such as VDI) will have the problem, that
VirtualBox won't be able to read them...
We need to have the damage visible only to Guest OS, not host, so use
simple container, like the one VMDK/RAW provides.

"slowly" means reasonable amount of errors ejected, as time passes.

-- 
-Alexey Eromenko "Technologov"

------------------------------------------------------------------------------

_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community

Reply via email to