Cool command. Thanks.
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 12G 3.4G 7.9G 30% /
/dev/sda7 16G 395M 16G 3% /home
/dev/sda3 100M 3.6M 96M 4% /media/HP_TOOLS
/dev/sda1 199M 29M 171M 15% /media/disk
/dev/sda2 203G 168G 35G 83% /media/disk-1
1 and 2 are Windows 7, 3 is HP and 5 and 7 are Linux.
12 and 16 gigs. Hmm.. why does Linus split these into separate partitions and how does it determine how many gigs to use for each one?
I told it to use 30 gigs of space. 12 + 16 = 28. Where are my other 2 gigs?
The installer split your 30GB into separate partitions, because, as Just19 explained, a separate /home partition allows you to keep user information and data separate from system files.
The 12GB partition, /(also called the root partation), is where your installed programs and system configuration are stored. The /home partition is where user configuration is stored, in addition to personal files. Normally, documents and user settings need more space than OS configuration, so that's how the installer configured it.
The other 2GB is probably used for your swap
partition, which is basically a virtual memory space allotted on your hard drive, to be used by the system when not enough RAM is available. df
does not show swap partitions and in your list partition sda6
is missing, which is what led to be suppose that sda6
(the remaining 2GB is swap.
To be sure, type fdisk -l
in a terminal, and paste the entire output in your next post.