Transferring my install to new computer

Nils Kassube kassube at gmx.net
Sat Jun 23 20:04:50 UTC 2012


Liam Proven wrote:
> But yes, what you propose should work fine. Many tools can compress
> the image so you won't need a block of space the size of the whole
> drive. Don't bother backing up the swap partition and empty /tmp
> before you do it.

And to improve the compression even further you could overwrite the 
remaining space of the disk with a big file of zeros. You could use 
something like the command

dd if=/dev/zero of=zero

in a terminal. After the command exits (with an error message about no 
space left on the device) you can delete the file "zero" (from the 
example above) to regain the free space.


Nils




More information about the ubuntu-users mailing list