zeroing in DOS

Discussion in 'Virtual PC' started by Esteban, Apr 3, 2006.

  1. Esteban

    Esteban Guest

    Hi, I'm testing the VirtualPC using DOS 6.22. When I tried to compact the
    VHD, the size didn't changed, not even after defrag. I read that I need to
    use the precompactor to zeroing the drive but it doesn't work under pure DOS.
    Is there another program (or way) for zeroing under DOS?
    thanks
     
    Esteban, Apr 3, 2006
    #1
    1. Advertisements

  2. Esteban

    Tarpanet Guest

    I'm sure there are multiple ways. This is the way I do it;
    1) Create another Virtual Hard Disk, and make it the 2nd. hard drive for the
    VM.
    2) Using Ghost (Symantec/Norton), boot from the Ghost floopy or an image file.
    3) Perform a disk to disk copy (from the original VM disk to the new one).
    Note: When completed, the 2nd. disk is a compacted copy of the original.
    4) I then prepend "BU" (for Backup) to the filename of disk1, move it to my
    backup drive.
    5) Rename disk2's filename to what disk1's original filename was. - Done -
     
    Tarpanet, Apr 3, 2006
    #2
    1. Advertisements

  3. What I do is attach the DOS .VHD to one of my Windows VMs and then run
    the precompact tool from there.
    --
    Cheers,
    Benjamin Armstrong
    ===============================
    Virtual machine Program Manager

    This posting is provided "AS IS" with no warranties, and confers no rights.
    You assume all risk for your use.
     
    Ben Armstrong [MSFT], Apr 3, 2006
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.