Friday, November 19, 2010

How To: Resize Partitions

Today I'm reinstalling Windows 7 on my remaining 1TB hard-drive. I currently have Ubuntu 6.10 installed in a 200GB partition, and the remaining 800GB is NTFS formatted for movies, music, photos, etc., to be shared between operating systems. The first step in my installation is to make room for windows, creating a 200GB partition from the current 800GB one. To do this I'm using GParted, a great GUI tool for editing, resizing, and moving partitions on a disk.

Here are a couple of helpful tips (and notes so I don't have to look it up again!):

1) Use MBR instead of GUID Partition Table. More support for MBR, it is old, but it's restrictions (only 4 primary partitions; max 2TB partition) don't usually interfere with most people's operations.

2) If you get an error, make sure to click on 'details' and then expand the arrows to find the cause of the errors. On my first attempt at resizing I didn't leave enough room for the original partition. To fix, allocate less space for the new partition.

3) The other error I encountered was something about a 'NTFS Journal file is unclean'. I think it was specifically ERROR(95). To fix, use ntfsfix /dev/[your_partition]. For me, it was /dev/sda1 that I was trying to resize, so [your_partition] was replaced with sda1.

Remember to sit tight, resizing (especially on a TB drive) is no laughing matter! Go for a bike ride, see a movie, and let it do its thing.

etc.