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.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Extending a partition on usb
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.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Extending a partition on usb
You can use e.g. GParted for that (may have to install it first).
Re: Extending a partition on usb
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.
Re: Extending a partition on usb
Greatgm10 wrote: ⤴Thu Sep 27, 2018 12:54 pmYes. 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.