On Wed, Sep 15, 2021 at 01:59:08PM +0300, Ricky Tigg wrote:
> *OS:* Fedora | *Component:* parted-3.4-2.fc34.x86_64
> *parted mode: *interactive
> *Target device:* 256 MiB USB-storage
> *Starting state:* existence alone of partition table; then no partition.
> 
> Hello.
> 
>    - The creation of partition table and naming of partition when supported
>    by selected partition table, succeed.
>    - The creation of filesystem fails.
> 
> # parted /dev/sdc
> (...)
> (parted) mkpart primary ext4 0% 100%

parted does not create filesystems, to do that you need to run mkfs.ext4
on the new partition. The partition value in parted is to tell parted
what you plan to use it for so that it can setup the UUID or partition
type correctly.

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart




Reply via email to