GParted shrink partition error e2fsck upgrade.

Опубликовано: 20 Май 2026
на канале: Virtualbay
69
1

Upgrade the e2fsck 1.45.5 to version 1.47.1 so that GParted is able to check newer file systems or to shrink a partition.

GParted (e2fsck 1.45.5 (07-Jan-2020) upgrade to 1.47.1)
https://e2fsprogs[dot]sourceforge[dot]net/
==================================

e2fsck -V
sudo apt-get install gcc
sudo apt-get install make

./configure
make
sudo make install

Start GParted and choose the partition to 'check' with the right mouse button or put one of these commands in the terminal:
e2fsck -pf /dev/sda
e2fsck -f /dev/vgname/lvname

After that you can shrink the drive normally with GParted!

Recreate the SWAP drive:

SwapOFF
Delete Swap + Extended Partition (977MB)
Create Extended Partition + Swap (977MB)
SwapON