How Do You Partition Your Drives - Desktop Customization & Workflow

Users browsing this thread: 1 Guest(s)
mort
Members
I like to keep my partitioning as simple as possible. Since I use UEFI, that means one /boot partition and one / partition:

Code:
martin@ubun ~ $ lsblk
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
nvme0n1     259:0    0 953.9G  0 disk
├─nvme0n1p1 259:1    0   512M  0 part /boot/efi
└─nvme0n1p2 259:2    0 953.4G  0 part /

Swap file is in /swapfile. I don't like having a separate swap partition, because there are times when you just need to change the amount of swap your system has; keeping it as a file lets me balance swap and storage much more dynamically. In the same vein, I hate having /var as a separate partition (like Debian's installer used to do); it's stupid to run out of space for new packages or for logs when the disk isn't even close to full.

My desktop is more complex, out of necessity, since it has two SATA SSDs (one for Windows, one for Linux), one M.2 SSD and one HDD:

Code:
martin@magni ~ $ lsblk
NAME   MAJ:MIN RM    SIZE RO TYPE MOUNTPOINT
sda      8:0    0  978.1G  0 disk
└─sda1   8:1    0  978.1G  0 part /mnt/M.2
sdb      8:16   0  111.8G  0 disk
├─sdb1   8:17   0    529M  0 part
├─sdb2   8:18   0    100M  0 part
├─sdb3   8:19   0     16M  0 part
└─sdb4   8:20   0  111.2G  0 part
sdc      8:32   0  111.8G  0 disk
├─sdc1   8:33   0    512M  0 part /boot/efi
└─sdc2   8:34   0  111.3G  0 part /
sdd      8:48   0    2.7T  0 disk
├─sdd1   8:49   0 1006.4G  0 part /mnt/WinDD
└─sdd3   8:51   0    1.7T  0 part /mnt/LinDD

Here, sdc is the Linux boot drive, sdb is the Windows boot drive, sda is the M.2 SSD (EXT4-formatted, Linux only), and sdd is the HDD which is split into two partitions, WinDD (NTFS) for Windows and LinDD (EXT-4) for Linux.

Again though, the Linux boot drive is as simple as possible, with a /boot and a /. Here I have multiple levels of swap files; a 2GB one in /, a 16GB one in /mnt/M.2, and a disabled-by-default 32GB one in /mnt/LinDD which I can enable at any time should I need immense amounts of RAM.


Messages In This Thread
How Do You Partition Your Drives - by cjm - 07-08-2014, 05:39 PM
RE: How Do You Partition Your Drives - by kirby - 08-08-2014, 04:59 AM
RE: How Do You Partition Your Drives - by xero - 08-08-2014, 11:19 AM
RE: How Do You Partition Your Drives - by pvtmert - 09-08-2014, 09:32 AM
RE: How Do You Partition Your Drives - by venam - 28-09-2020, 02:10 AM
RE: How Do You Partition Your Drives - by mort - 28-09-2020, 04:03 AM
RE: How Do You Partition Your Drives - by freem - 28-09-2020, 06:56 AM
RE: How Do You Partition Your Drives - by z3bra - 28-09-2020, 11:54 AM
RE: How Do You Partition Your Drives - by movq - 28-09-2020, 12:15 PM
RE: How Do You Partition Your Drives - by mcol - 01-10-2020, 05:09 PM