Voorbeelden voor de grootte van partities
Voor de meeste situaties wordt het bestandssysteem ext4 geadviseerd.
Met de partitiemanager GParted kunnen harde schijven worden opgesplitst in delen (gepartitionieerd) en/of geformatteerd. Het programma heeft een grafische omgeving en is zo opgebouwd dat de meeste dingen vanzelf duidelijk worden.
Gparted kan NTFS partities verkleinen, vergroten of verplaatsen. Na deze verandering van een NTFS partitie moet direct een reboot worden uitgevoerd voordat andere bewerkingen plaatsvinden. Hier staat de uigebreide documentatie van GParted. Veranderingen aan NTFS-partities kunnen ook met andere (proprietaire Windows) programma's uitgevoerd worden (bijv. Partition Magic (TM), Acronis (TM)).
HET IS VERSTANDIG EEN BACKUP TE MAKEN VOORDAT PARTITIES VERANDERD WORDEN!
Als een partitie bewerkt moet worden, dan wordt deze eerst ontkoppeld met unmount van de device. Dat kan in gparted met een rechtsklick (optie umount) of via een konsole, bijvoorbeeld:
umount /dev/sda1
De swap partitie kan in een konsole unmount worden met:
swapoff -a
In principe is 5 GB voldoende voor een hd-installatie, maar hiermee kan je niet meer veel erbij installeren. Een zinvolle minimale grootte van 12 GB. Voor wie nieuw is bij Linux wordt geadviseerd om slechts 2 partities te gebruiken (root/home en swap). Hierdoor wordt de installatie eenvoudiger. Hierna kunnen extra partities worden aangelegd voor een separate /home en/of aanvullende data partities.
Een swap partitie is het equivalent voor de Windows swapfile (pagefile.sys), maar de werking is effectiver. Voor normal gebruik wordt een grootte van 2 keer RAM voor de swap-partitie geadviseerd.
Om data met Windows te kunnen uitwisselen, kan een data-partitie gebruikt worden die met vfat (fat32) of ext2 geformatterd is (als een MS Windows™ ext2-driver beschikbaar is). XFS wordt niet ondersteund. Ext2 Installable File System For MS Windows and also Writing on NTFS partitions with ntfs-3g.
It is wise to write down the names of the partitions for reference.
Here are some simple examples for different partition sizes:
1 TB for dual boot MS Windows and Linux
Disk | Size | Filesystem | Mountpoint/System |
---|---|---|---|
sda1 | 50 GB | NTFS | MS Windows System |
sdb1 | 100 GB | ext4 | / (includes home) |
sda3 | 300 GB | FAT32/ext2 | Data for MS Windows System and Linux |
sda2 | 550 GB | ext4 | Data for Linux |
sda4 | 2 GB | Linux Swap | Linux Swap |
120 GB hard drive with MS Windows, dual boot with Linux:
Disk | Size | Filesystem | Mountpoint/System |
---|---|---|---|
sda1 | 30 GB | NTFS | MS Windows System |
sda2 | 20 GB | ext3 | / |
sda3 | 20 GB | ext3 | /home |
sdb1 | 48 GB | FAT32/ext2 | Data exchange MS Windows and Linux |
sda4 | 2 GB | Linux Swap | Linux Swap |
60 GB for dual boot MS Windows and Linux:
Disk | Size | Filesystem | Mountpoint/System |
---|---|---|---|
sda1 | 24 GB | NTFS | MS Windows System |
sda2 | 10 GB | FAT32/ext2 | Data for MS Windows and Linux |
sda3 | 10 GB | FAT32/ext2 | Data for MS Windows and Linux |
sdb1 | 14 GB | ext4 | / (includes home) |
sda4 | 2 GB | Linux Swap | Linux Swap |
200GB hard drive:
Disk | Size | Filesystem | Mountpoint/System |
---|---|---|---|
sda1 | 20 GB | ext4 | / |
sda2 | 20 GB | ext4 | /home |
sda3 | 158 GB | ext2/3/4 | data |
sda4 | 2 GB | Linux Swap | Linux Swap |
160GB hard drive:
Disk | Size | Filesystem | Mountpoint/System |
---|---|---|---|
sda1 | 20GB | ext4 | / |
sda2 | 20GB | ext4 | /home |
sda3 | 59GB | ext4 | data |
sdb1 | 59GB | ext4 | data |
sda4 | 2 GB | Linux Swap | Linux Swap |
General
There are many ways to partition your hard drives. These examples should be enough for a start.
It makes good sense to purchase a USB hard drive to make a regular data back up should any of your hard drives fail. If dual booting with MS Windows™, always put MS on the first hard disk/partition.
For other partitioning options see Partitioning to use LVM - Logical Volume Manager and Installing to encrypted partitions - cryptroot.