Resize partitions

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
fcupdt
Posts: 20
Joined: Sun Nov 29, 2020 3:05 pm

Resize partitions

Post by fcupdt »

Hello everybody
another silly question for a problem I can't solve
how to do I resize partitions?

I have a ext4 of around 3TB and a NTFS partition of around 1 TB

/dev/sda2: UUID="d4a1319e-39f9-4629-96b7-1fe442c909ce" TYPE="ext4" PARTUUID="6a138620-ac3e-4f5c-972b-6979042301da"
/dev/sda3: LABEL="NTFS EXT" UUID="2838B1E338B1B064" TYPE="ntfs" PARTUUID="e5fb99cf-078a-4a4f-bbe8-beb91fe4a9db"

how do I resize to ext4 1,5TB and NTFS 2.5TB?
User avatar
Joulinar
Posts: 6035
Joined: Sat Nov 16, 2019 12:49 am

Re: Resize partitions

Post by Joulinar »

Hi,

many thanks for your question. Easiest one would be to use a tool like GParted https://gparted.org/

Connect your drive to a computer, boot into GParted and resize your drive.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
fcupdt
Posts: 20
Joined: Sun Nov 29, 2020 3:05 pm

Re: Resize partitions

Post by fcupdt »

Thanks!

I assume I cannot do it from the Raspberry, correct?

Asking because I’ve formatted one partition with drive-manager and tried to resize using disk utility on MacOS Big Sur but I’m getting an error saying that partitions can’t be resized :?

Thanks again, awesome support!
User avatar
Joulinar
Posts: 6035
Joined: Sat Nov 16, 2019 12:49 am

Re: Resize partitions

Post by Joulinar »

If possible go with a GParted Live USB stick and you will have latest version of GParted running

There is as well a Debian apt package available but this was not updated for more than 2 years. See note on GParted download web site https://gparted.org/download.php

Next to this you would need to have a (remote) desktop environment running
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply