Comment 23 for bug 1835124

Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

verified:

----

(k)rafaeldtinoco@cloudutils:~$ sudo fdisk /fakedisk.ext4

Welcome to fdisk (util-linux 2.33.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Command (m for help): d
Selected partition 1
Partition 1 has been deleted.

Command (m for help): n
Partition type
   p primary (0 primary, 0 extended, 4 free)
   e extended (container for logical partitions)
Select (default p):

Using default response p.
Partition number (1-4, default 1):
First sector (2048-204799, default 2048):
Last sector, +/-sectors or +/-size{K,M,G,T,P} (2048-204799, default 204799): +50MB

Created a new partition 1 of type 'Linux' and of size 48 MiB.

Command (m for help): w
The partition table has been altered.
Syncing disks.

(k)rafaeldtinoco@cloudutils:~$ sudo growpart /fakedisk.ext4 1
CHANGED: partition=1 start=2048 old: size=98304 end=100352 new: size=202719 end=204767

----

all good.