I would like to create an image of a Linux Mint disc.
Then I'd like to copy it to a bigger disc and extend its partition to the full size of the disc.
I have already copied the disc using WinImage
to another PC, wrote the data on a bigger disc and turned it on.
I have been searching for some mechanism to extend a partition with Linux without success.
With GParted
it works perfectly, but I would like to do it in a console. I have been trying to do this using parted
, GPart
or lvextend
but I cannot find any option which allows me to extend a partition size without unmounting it.
EDIT
Type of file system is ext4
, which I checked with parted
command.