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!
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!
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)
Oh yeah, because it stands for
list block devices