How to resize discrete partition?

I used to have a dual boot on my SSD drive, manjaro and windows 10, and I moved win10 to a new SSD. Now I want to expand the manjaro partition. The disk was parted as this:


the 149G unused partition which followed by the manjaro(from /dev/nvme0n1p4 to /dev/nvme0n1p8) is the previous windows partiton.

And here’s ‘/etc/fstab’:
# /etc/fstab: static file system information.
#
# Use ‘blkid’ to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
#
UUID=6005-3C16 /boot/efi vfat umask=0077 0 2
UUID=15e1e8f2-4bd2-465c-8e4a-3da30d08a9c1 /boot ext4 defaults,noatime 0 2
UUID=e3d685fd-10b0-436c-ae05-a5f6a8e78b96 swap swap defaults,noatime 0 2
UUID=f9aa9f8c-7fe9-463c-a4c2-4c0d0d8f894f / ext4 defaults,noatime 0 1
UUID=cf4184e1-ff03-4b70-8d0b-7abf79ba2561 /home ext4 defaults,noatime 0 2

Assuming that you want to expand your /home partition, one way could be using gparted (booted from live USB) to:

  1. move all your ‘mvne0n1px’ partitions down to fill up the 149 GB empty space
  2. resize ‘mvne0n1p8’ to fill up the remaining free 199GB

I did all the changes in live cd. After that, I also update grub. Maybe because there’s some problem with hard drive, l changed bios settings by following this link:
https://forum.manjaro.org/t/error-symbol-grub-calloc-not-found/35207/2
After that everything works as well as before.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.