Since Kernel 2.6.33, Linux supports
In-Kernel automatic TRIM. Fedora13 is based on 2.6.33. Great success? Maybe... One more requirement for automatic TRIM is having firmware 1.5 or higher on my Vertex.
Furthermore, Linux also requires manual alignment of the partitions, since it will not do it correctly during the install.
Here we go :
1. head on to the OCZ Forum to download and install
Firmware 1.5 and
Firmware 1.6 for my Vertex.
2. I dig up my
GParted CD (to perform the alignment and partition) and boot from it.
3. Once in the GParted GUI, it is important
NOT to start partitioning with the GUI tool, but rather escaping to the console and using
FDISK for the alignment procedure.
I follow a guide from the OCZ Technology Forum
here (post #98), but I create 2 partitions: one for my Linux install, that will be EXT4, and one for my virtual machine in EXT3 (since VMs running on an EXT4 partition act funny in VirtualBox).
So I go:
Quote:
|
Originally Posted by Code fdisk -H 32 -S 32 /dev/sda (this creates the alignment)
o (creates the partition table)
"to create the first partition for our OS" n (creates a new partition) p (creates a new primary partition) 1 (assigns partition number 1 to new primary partition) 2 (first cylinder starts at the second cylinder, leaving a 512kb space) +27G (~27Gb partition size) t (define partition type) 1 (define partition 1 type) 83 (Linux partition type)
"to create the second partition for our VM" n (to create a second partition) p (to create a second primary partition) 2 (to assign partition number 2 to second primary partition) 2 (to start partition at the first cylinder after the first partition stopped) enter (to use the rest of the space available for the partition) t (define partition type) 2 (define partition 1 type) 83 (Linux partition type) w (writes changes to disk) |
Now, I exit the console, and use the GUI tool to format both partitions:
EXT4 for my 1st primary and
EXT3 for my second primary. The alignment done with FDISK will be left untouched.
To be continued ...