Big time linux noob here.
A colleague helped me with partitioning my PC and I’m looking for help in resizing my /home partition. I am running opensuse leap 15.1. A few looks at my setup:
Via fdisk -l:
Disk /dev/nvme0n1: 238.5 GiB, 256060514304 bytes, 500118192 sectors
Disk model: SAMSUNG MZVLW256HEHP-000H1
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
Disk identifier: 3359DE43-E4A9-48A8-AF25-BE58355EB381
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 534527 532480 260M EFI System
/dev/nvme0n1p2 534528 567295 32768 16M Microsoft reserved
/dev/nvme0n1p3 567296 328194047 327626752 156.2G Microsoft basic data
/dev/nvme0n1p4 498178048 500107263 1929216 942M Windows recovery environment
/dev/nvme0n1p5 328194048 493983743 165789696 79.1G Linux filesystem
/dev/nvme0n1p6 493983744 498178047 4194304 2G Linux swap
Partition table entries are not in disk order.
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: TOSHIBA DT01ACA1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: E5D3001A-AAF0-47B7-AB22-7BCE8156676D
Device Start End Sectors Size Type
/dev/sda1 2048 264191 262144 128M Microsoft reserved
/dev/sda2 264192 825608191 825344000 393.6G Microsoft basic data
/dev/sda3 825608192 1953525134 1127916943 537.9G Linux filesystem
and via lsblk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 128M 0 part
├─sda2 8:2 0 393.6G 0 part
└─sda3 8:3 0 537.9G 0 part /tmp
sr0 11:0 1 1024M 0 rom
nvme0n1 259:0 0 238.5G 0 disk
├─nvme0n1p1 259:1 0 260M 0 part /boot/efi
├─nvme0n1p2 259:2 0 16M 0 part
├─nvme0n1p3 259:3 0 156.2G 0 part
├─nvme0n1p4 259:4 0 942M 0 part
├─nvme0n1p5 259:5 0 79.1G 0 part /home
└─nvme0n1p6 259:6 0 2G 0 part [SWAP]
I basically want to allocate some some of the sda3 partition to /home. 100 gb, let’s say. I tried to follow https://www.howtogeek.com/442101/how-to-move-your-linux-home-directory-to-another-hard-drive/ but I think attempting changes while on the mounted system wouldn’t let me unmount my partitions. This is the same issue I have had in trying to use the KDE Partition Manager.
Please let me know if I can restructure my question or provide any other command-line outputs to make my situation more clear.
Thanks.