You are not logged in.
Pages: 1
i have some room to resize my linux file system, but it was placed in wrong position like this
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 785G 0 part
├─sda2 8:2 0 1G 0 part /boot
└─sda3 8:3 0 145.5G 0 part /
zram0 254:0 0 4G 0 disk [SWAP]
nvme0n1 259:0 0 476.9G 0 disk
├─nvme0n1p1 259:1 0 260M 0 part
├─nvme0n1p2 259:2 0 16M 0 part
├─nvme0n1p3 259:3 0 475.9G 0 part
└─nvme0n1p4 259:4 0 802M 0 part
i want resize the sda3 using sda1 space, i tried to resize it using cf disk by deleting sda1 then try to resize sda3, but it didn't work. anyone have an idea to resize sda3?
Last edited by vincencio (2025-09-02 16:28:27)
Offline
Boot an ISO with gparted on it. Makes resizing a lot simpler.
Mandatory caveat: Resizing partitions regardless of the tool used is inherently risky. Make sure to have backups of your important data.
Never argue with an idiot, they will drag you down to their level and then beat you with experience.
It is better to light a candle than curse the darkness.
A journey of a thousand miles begins with a single step.
Offline
I don't think there is a way, to expand size of the sda3 partition without bypassing the sda2 or circling from end to start.
2 ways : Both ways do backup
1. Resize and shrink ( it will keep the disk bootable as you will not loose UUID )
- boot into arch liveusb
- make sda1 as free space
- use parted to expand the /boot partition upward
- shrink the /boot parition from downward ( parted will move the data )
- expand the sda3 upward.
2. Reformat and move ( it will remove the boot UUID )
- copy the /boot into the sda3
- make sda1 & sda2 free
- create the partition from start /boot
- copy the files
- expand the sda3
Offline
it worked, i used gparted live, all i do is resize the sda2 to maximal size (so it can moved to the first) then resize it to 1GB like before, then i just resize sda3 with all space i have. and it worked Thank you!
Offline
Sure, NP.
Offline
Pages: 1