[CentOS] CentOS 6 (G)parted re-aligning existing partitions?

Ljubomir Ljubojevic office at plnet.rs
Mon Jan 16 21:25:27 UTC 2012


I used Hiren Boot CD (Some tool on it) to create 8 partitions for 
Windows XP and CentOS 6.

Now, CentOS6 Disk Utility reports for first partition:

"Warning: The partition is misaligned by 512 bytes. This may result in 
very poor performances. Repartitioning is suggested.",

and similar warnings almost all other partitions.

Since I already have both Windows (NTFS) and CentOS 6 installed, I was 
wondering is there any easy way of re-alligning them, maybe via parted?

Can someone write short to-the-point howto for repartitioning ext4 
partitions (/boot especially)? NTFS partitions I can ghost without a 
problem and resize them when I returnin it on the HDD. It would be nice 
to experiment, but I am out of time.

I did fdisk -l /dev/sda > file and I can do dd to image file, but how 
about resizing/repartitioning?

I read somewhere that it is good to leave 1MB free before first 
partition, so it can be aligned?

Thanks,

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant



More information about the CentOS mailing list