compacting an Ubuntu partition

Karl Auer kauer at biplane.com.au
Wed Jun 8 14:34:25 UTC 2011


Hi all.

I have an 80GB HDD with about 5GB used. There used to be more like 75GB
in use, but I have moved most of that to another disk. Now I want to
virtualise the HDD. The HDD contains a bootable Linux system, all in one
partition (except swap, of course).

Virtualising 75GB of unused space is a waste of time and disk space, so
I want to compact the HDD down to around 10GB, and virtualise that.

gparted looks like it will do the job, but after reading the manual and
various help pages it is still not clear to me whether gparted will
preserve and compact the data on the HDD as part of the resizing
operation.

Can I use gparted in this way? Will it preserve the 5GB of data as it
resizes the partition?

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)                   +61-2-64957160 (h)
http://www.biplane.com.au/kauer/                   +61-428-957160 (mob)

GPG fingerprint: DA41 51B1 1481 16E1 F7E2 B2E9 3007 14ED 5736 F687
Old fingerprint: B386 7819 B227 2961 8301 C5A9 2EBC 754B CD97 0156
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110609/804cee89/attachment.sig>


More information about the ubuntu-users mailing list