[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to format

parted has helped me format drives in the past too.  It should work on
debian too.  In archlinux I did:
Then checked id of new drive on system.  If it's sdb
parted -a optimal /dev/sdb
Then I did:
unit mib
Then I did:
That shows what if anything is already on the disk.
If the type of disk is good, msdos or gpt you don't need to use the
mklabel command.
If not what you want
mklabel msdos or mklabel gpt.
Then mkpart command and set the type of partition.
mkpart help if memory serves should show you the required parameters.

Jude <jdashiel at panix dot com> "There are four boxes to be used in
defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)


On Sat, 29 Oct 2022, K0LNY_Glenn wrote:

> Hi,
> I have a 64 GB thumb drive I plugged into my Debian Bullseye, CLI, no GUI.
> In the old days I used parted to format drives, and fdisk does not seem to
> have that feature.
> How does one format a drive in the CLI?
> Thanks.
> Glenn

Reply to: