Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working on a FreeBSD 8.x (pfSense 2.1) system and post-install, realised that the partition is misaligned to the disk (starts at sector offset 63). GParted doesn't recognise UFS so that is out.

I've had a quick look at sade, fdisk, and gpart but can't work out how to non-destructively move the partition; is there an easy way to do so or should I simply dump out the config & rebuild?

share|improve this question

gpart is the best one. There you have the parameter on gpart add -a 4K for example. By -a gives alignment and 4K you should use as a parameter for alignment, because the most new disks are working with 4K sectors. Even on old disks it has a reason, just to getting used to 4K.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.