DeviceImage Tools Forum Index DeviceImage Tools
Forum to discuss all about device-image tools
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

prepping to use zsplit ?

 
Post new topic   Reply to topic    DeviceImage Tools Forum Index -> Miscellanous
View previous topic :: View next topic  
Author Message
guest99
Guest





PostPosted: Fri May 13, 2005 3:31 pm    Post subject: prepping to use zsplit ? Reply with quote

From reading some of the articles here it sounds like zsplit backs up all sectors on a partition whether used or not.

Is there a companion tool that can be used to zero all unused sectors on a HD ? It would seem to me doing this this would increase the image compression tremendiously if the drive has been used alot.

Also it would seem like a good idea to zero a swap partition if there is one on the drive for the same reasons above.

If I have a blank unpartitioned HD will unzslip recreate everything except the MBR ?

thx
Back to top
jurij
Site Admin


Joined: 05 Apr 2005
Posts: 54
Location: Germany

PostPosted: Sat May 14, 2005 4:53 pm    Post subject: Reply with quote

Hi,

Yes, the main idea of DeviceImage project is the file-system independent imaging tool.
Therefore the imaging procedure backs up all sectors (used+not used). There is only one exception, if your HDD has bad (or not readable) sectors all this sectors will be safely skipped (strictly speaking replaced with NULL sectors).

You are absolutely right saying that zeroing of unused sectors will be a good HDD preparation procedure which would increase the whole compression density. I have found in the Internet something which would be useful on that matter:
Please see here:
http://www.virweb.com/linux.htm#TOP
in the section "Preparing the Windows Partition".
But please keep in mind, I have not tested this tool so far. Therefore I would recommend you to do some extensive testing before you use it.

If you restore /dev/hda to /dev/hda the MBR will be also restored;
If you restore /dev/hda1 to /dev/hda or to /dev/hda1 - only partition hda1 will be restored and not MBR.

Regards,
Jurij
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Guest99
Guest





PostPosted: Sat May 14, 2005 6:42 pm    Post subject: Reply with quote

I ended up doing the following while booted under sysrecue :


dd /dev/zero /dev/myswap_partition

then in my main partition I did :

cat /dev/zero >/temp.fill
rm -f /temp.fill

This created a file of 0's using all remaining space on the partition.

then I ran zslip on drive

This cut the image size in half on my system because of the
dirty sectors I had.


thx
Back to top
jurij
Site Admin


Joined: 05 Apr 2005
Posts: 54
Location: Germany

PostPosted: Tue Jan 10, 2006 5:41 pm    Post subject: Reply with quote

Hi,

it is a really good idea !

Jurij
Back to top
View user's profile Send private message Send e-mail Visit poster's website
NigoX2



Joined: 03 Mar 2007
Posts: 6

PostPosted: Sun Mar 11, 2007 11:42 pm    Post subject: Reply with quote

if you have a NTFS partition you can do something as well in Windows

first get cipher from Microsoft http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=89E5A2F2-E2A6-418F-90BB-345E95C89806

then type "cipher /W:C:", if C: is your partition
it writes 0x00 blocks
when it begins to overwrite them by 0xFF blocks, stop it by typing Ctrl-C (because the third round is to write random blocks, which we don't want)
go into your partition and delete the directory which was just created
that's it, your unsused blocks are blanked ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DeviceImage Tools Forum Index -> Miscellanous All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Board Security

225449 Attacks blocked

Powered by phpBB © 2001, 2005 phpBB Group