Skip to main content
added 252 characters in body
Source Link
sake
  • 1
  • 2

I would use parted instead of fdisk.

first do check what kind of partition table you actually created. EDIT: Yes fdisk supports gpt disk lables

$ sudo <device file> print 

check for : Partition Table: gpt

If needed create a gpt partition table

$ sudo parted <device file> mklabel gpt 

Then create a new partition

$ sudo parted <device file> mkpart primary <filesystem> 0% 100% 

After that you can create a new filessystem onto partition

$ sudo mkfs.<filesystem> <device file> 

Documentation for Parted: GNU Parted

Documentation for mkfs (not filesystem specific): man mkfs

I would use parted instead of fdisk.

first do check what kind of partition table you actually created. EDIT: Yes fdisk supports gpt disk lables

$ sudo <device file> print 

check for : Partition Table: gpt

If needed create a gpt partition table

$ sudo parted <device file> mklabel gpt 

Then create a new partition

$ sudo parted <device file> mkpart primary <filesystem> 0% 100% 

After that you can create a new filessystem onto partition

$ sudo mkfs.<filesystem> <device file> 

I would use parted instead of fdisk.

first do check what kind of partition table you actually created. EDIT: Yes fdisk supports gpt disk lables

$ sudo <device file> print 

check for : Partition Table: gpt

If needed create a gpt partition table

$ sudo parted <device file> mklabel gpt 

Then create a new partition

$ sudo parted <device file> mkpart primary <filesystem> 0% 100% 

After that you can create a new filessystem onto partition

$ sudo mkfs.<filesystem> <device file> 

Documentation for Parted: GNU Parted

Documentation for mkfs (not filesystem specific): man mkfs

added 42 characters in body
Source Link
sake
  • 1
  • 2

I would use parted instead of fdisk.

first do check what kind of partition table you actually created. EDIT: Yes fdisk supports gpt disk lables

$ sudo <device file> print 

check for : Partition Table: gpt

If needed create a gpt partition table

$ sudo parted <device file> mklabel gpt 

Then create a new partition

$ sudo parted <device file> mkpart primary <filesystem> 0% 100% 

After that you can create a new filessystem onto partition

$ sudo mkfs.<filesystem> <device file> 

I would use parted instead of fdisk.

first do check what kind of partition table you actually created.

$ sudo <device file> print 

check for : Partition Table: gpt

If needed create a gpt partition table

$ sudo parted <device file> mklabel gpt 

Then create a new partition

$ sudo parted <device file> mkpart primary <filesystem> 0% 100% 

After that you can create a new filessystem onto partition

$ sudo mkfs.<filesystem> <device file> 

I would use parted instead of fdisk.

first do check what kind of partition table you actually created. EDIT: Yes fdisk supports gpt disk lables

$ sudo <device file> print 

check for : Partition Table: gpt

If needed create a gpt partition table

$ sudo parted <device file> mklabel gpt 

Then create a new partition

$ sudo parted <device file> mkpart primary <filesystem> 0% 100% 

After that you can create a new filessystem onto partition

$ sudo mkfs.<filesystem> <device file> 
deleted 79 characters in body
Source Link
sake
  • 1
  • 2

I would use parted instead of fdisk.

first do check what kind of partition table you actually created. fdisk can only create MBR partiton tables and these can only be 2 GB in size.

$ sudo <device file> print 

check for : Partition Table: gpt

If needed create a gpt partition table

$ sudo parted <device file> mklabel gpt 

Then create a new partition

$ sudo parted <device file> mkpart primary <filesystem> 0% 100% 

After that you can create a new filessystem onto partition

$ sudo mkfs.<filesystem> <device file> 

I would use parted instead of fdisk.

first do check what kind of partition table you actually created. fdisk can only create MBR partiton tables and these can only be 2 GB in size.

$ sudo <device file> print 

check for : Partition Table: gpt

If needed create a gpt partition table

$ sudo parted <device file> mklabel gpt 

Then create a new partition

$ sudo parted <device file> mkpart primary <filesystem> 0% 100% 

After that you can create a new filessystem onto partition

$ sudo mkfs.<filesystem> <device file> 

I would use parted instead of fdisk.

first do check what kind of partition table you actually created.

$ sudo <device file> print 

check for : Partition Table: gpt

If needed create a gpt partition table

$ sudo parted <device file> mklabel gpt 

Then create a new partition

$ sudo parted <device file> mkpart primary <filesystem> 0% 100% 

After that you can create a new filessystem onto partition

$ sudo mkfs.<filesystem> <device file> 
Source Link
sake
  • 1
  • 2
Loading