Repartitioning under Linux

To re-partition ext2 or ext3 file systems used by Linux, you can use resize2fs (part of the e2fsprogs package, downloadable at http://e2fsprogs.sourceforge.net) and fdisk. The procedure is as follows:

1. Unmount the filesystem residing on the partition to be resized.
2. Use resize2fs to reduce the size of the filesystem
3. With fdisk, delete the corresponding partition and create a new one with the same start and the desired length. It is critically important for the start of the new partition to be the same as the deleted one.

Note of Caution: Blocks in resize2fs and fdisk are typically not the same size, and you need to take that into account when calculating the new size. Normally, blocks in fdisk are 1k. However blocks in resize2fs depend on the formating options and the filesystem size. Try "dumpe2fs -h partition". The "Block count" field gives the number of blocks and the "Block size" field the size of blocks (in bytes).

Warning: Follow this guide at your risk. I can not be liable for any losses.

What did I say then?

Asset Replicator - GWT (Google Web Toolkit) + RESTful web service (3 years 20 weeks ago):

The Asset Replicator front-end is being re-built using GWT (Google Web Toolkit) and RESTful web s...

Theme provided by Danang Probo Sayekti.