| modified | Friday 3 October 2025 |
|---|
/home/ is too small and I don’t need the separationmkdir disk and mkdir homemount /dev/nvme0n1p2 disk and mount /dev/nvme0n1p3 homecp -r home/emad disk/home//home desk line from disk/etc/fstab. I commented mine just in case.umount homecfdisk /dev/nvme0n1. removed the /home partition (p3) and resize (p2) to fill the rest of the space. cfdisk will default to the rest of the space. very helpfulumount diskchown -R emad:emad /home/emaddf -h . still shows the root size = 20G. that’s because we resized the partition but the filesystem still thinks it’s 20G.
sudo resize2fs /dev/nvme0n1p2