Partitioning the System drive
Select a disk with fdisk:
Delete first partition:
(and so on)
Quit out of fdisk and save (destroys data!):
Create new partitions:
(follow instructions - eg. for a 40 GB disk create a first primary partition with 39GB and then a second primary partition with 1 GB for later use as swap)
Examples to initialize partitions:
Creates ext2 filesystem on first partition and swap on second.
mke2fs -j /dev/hda1
or mkfs -t ext3 /dev/hda1
would format with ext3. But as far as I know this is not supported by the Cobalt RAQ machines!
Check partition for errors:
Partitioning large SATA drives
As written in [art=235]this article[/art], Cobalt's can be used with large disks using PCI SATA controllers.
For partitions that have to be larger than 2TB, e.g. 3TB, use parted instead of fdisk (fdisk does not support "GPT" which is required for partitions larger than 2TB):
apt-get install parted
mkpart primary 1 -1
Format the partition:
This additional command removes the 5% disk reservation for root which is not needed as this is no system partition:
tune2fs -r 0 /dev/sda1
More on this: