Extending a partition on usb

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Mercuzio
Level 3
Level 3
Posts: 175
Joined: Mon May 09, 2016 3:49 pm
Location: Verona /Ξ\ Italy

Extending a partition on usb

Post by Mercuzio »

Ciao. I've created a full bootable Linux usb. Is it possible to extend the ext4 partiton from 25 Gb to 50 Gb or should create a new full installation ?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
gm10

Re: Extending a partition on usb

Post by gm10 »

You can use e.g. GParted for that (may have to install it first).
Mercuzio
Level 3
Level 3
Posts: 175
Joined: Mon May 09, 2016 3:49 pm
Location: Verona /Ξ\ Italy

Re: Extending a partition on usb

Post by Mercuzio »

gm10 wrote: Thu Sep 27, 2018 12:33 pm You can use e.g. GParted for that (may have to install it first).
From the same o.s. ?
gm10

Re: Extending a partition on usb

Post by gm10 »

Mercuzio wrote: Thu Sep 27, 2018 12:36 pm
gm10 wrote: Thu Sep 27, 2018 12:33 pm You can use e.g. GParted for that (may have to install it first).
From the same o.s. ?
Yes. As long as all you want to do is increase the partition size as you said then there's no problem, GParted should let you do that even to a mounted root partition.

It's only moving or shrinking partitions that cannot safely be done to a mounted partition because it involves moving data, but extending a partition just involves changing a few values in the partition table, that's safe.
Mercuzio
Level 3
Level 3
Posts: 175
Joined: Mon May 09, 2016 3:49 pm
Location: Verona /Ξ\ Italy

Re: Extending a partition on usb

Post by Mercuzio »

gm10 wrote: Thu Sep 27, 2018 12:54 pm
Mercuzio wrote: Thu Sep 27, 2018 12:36 pm
gm10 wrote: Thu Sep 27, 2018 12:33 pm You can use e.g. GParted for that (may have to install it first).
From the same o.s. ?
Yes. As long as all you want to do is increase the partition size as you said then there's no problem, GParted should let you do that even to a mounted root partition.

It's only moving or shrinking partitions that cannot safely be done to a mounted partition because it involves moving data, but extending a partition just involves changing a few values in the partition table, that's safe.
Great
Locked

Return to “Storage”