How did you partition your disk before installing Linux? Do you regret how you set it up?
I’m looking for some real users experiences about this and I’m trying to find the best approach for my setup.
Thank you for sharing!
In 20 years of using Linux my partition scheme has always been to say yes to whatever the OS suggests.
It’s usually that way for a reason, is my thinking
I just use the automatic thingy on my distro so like:
- Esp: 2GB (Limine + btrfs snapshot booting)
- root: all the drive
/boot/efi, /root
I enjoy the way OpenSuse Tumbleweed set it up:
Laptop:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS nvme0n1 259:0 0 476.9G 0 disk ├─nvme0n1p1 259:1 0 1G 0 part /boot/efi └─nvme0n1p2 259:2 0 475.9G 0 part └─cr_nvme-eui.044a5011215f41f7-part2 254:0 0 475.9G 0 crypt ├─system-root 254:1 0 168G 0 lvm /var │ /usr/local │ /srv │ /root │ /opt │ /boot/grub2/x86_64-efi │ /boot/grub2/i386-pc │ /.snapshots │ / ├─system-swap 254:2 0 2G 0 lvm [SWAP] └─system-home 254:3 0 305.9G 0 lvm /home $ sudo fdisk -l Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors Disk model: UMIS RPIRJ512VME2OWD Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Device Start End Sectors Size Type /dev/nvme0n1p1 2048 2099199 2097152 1G EFI System /dev/nvme0n1p2 2099200 1000215182 998115983 475.9G Linux LVM
Desktop:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS nvme0n1 259:0 0 931.5G 0 disk ├─nvme0n1p1 259:1 0 512M 0 part /boot/efi └─nvme0n1p2 259:2 0 931G 0 part └─cr-auto-1 254:1 0 931G 0 crypt ├─system-root 254:2 0 610G 0 lvm /var │ /usr/local │ /root │ /srv │ /opt │ /boot/grub2/x86_64-efi │ /boot/grub2/i386-pc │ /.snapshots │ / ├─system-swap 254:3 0 62.5G 0 lvm [SWAP] └─system-home 254:4 0 1.2T 0 lvm /home nvme1n1 259:3 0 931.5G 0 disk └─nvme1n1p1 259:4 0 931.5G 0 part └─cr-auto-2 254:0 0 931.5G 0 crypt └─system-home 254:4 0 1.2T 0 lvm /home $ sudo fdisk -l /dev/nvme?n1 Disk /dev/nvme0n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: WD_BLACK SN850X 1000GB Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Device Start End Sectors Size Type /dev/nvme0n1p1 2048 1050623 1048576 512M EFI System /dev/nvme0n1p2 1050624 1953525134 1952474511 931G Linux LVM Disk /dev/nvme1n1: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors Disk model: WD_BLACK SN850X 1000GB Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Device Start End Sectors Size Type /dev/nvme1n1p1 2048 1953525134 1953523087 931.5G Linux LVM
what command did you use to get that tree view, I thought it was a df flag but its not.
Oh I didn’t notice I didn’t include the command (twice!).
It’s
lsblk
without any arguments.Thank you. Odd it doesnt show network attached storage (I was going to use this method to show my partitions but I have like 3 NFS drives I use for personal, med, and long term storage)
I setup a media PC with an SSD for boot / OS and spinning rust for the videos, music, etc.
So, I thought LVM would be a good idea… put the whole lot into a logical pool and then carve out large parts for the media which could be adjusted in the future.
No.
Resizing actually just chops up the drives even more (so, partition fragmentation)
Gparted can’t see it, so adjustments are terrible CLI commands
And my favourite system backup tool (clonezilla) cant backup the OS without backing up the entire system.
I used to split my drive in half to dual boot. But I’ve never booted back into windows since installing Linux Mint.
Should have just wiped the drive and installed Linux
I set up a dual boot over the winter, I’ve gone back to windows maybe 3 times at most.
I’ll still keep it around in case I ever decide to dabble in games that use rootkit anticheat (though since quitting destiny 2 I don’t see that happening lmao) and for other very occasional utility, but I’m definitely thinking of shrinking that partition even further