Format USB dongle

Hello,


Going on configuring and discovering FreeBSD on my laptop (I'm a beginner), I try, unsuccessfully to format a 256Go USB Key to GPT (freebsd-UFS) (-> to use it)
I used gpart.

gpart destroy -F /dev/da0
gpart create -s gpt da0
gpart add -t freebsd-ufs /dev/da0

the result mounting in KDE is a msdosfs 779,0 kio at /dev/da0p1
the /dev/da0p2 with 219,7 Gio doesn't appear.

I read other posts, but I'm not sure to understand.

Did I forget something ?

Thank you.
 
First off I like to totally wipe the stick.
dd if=/dev/zero of=/dev/da0 bs=8M status=progress

Then create a partition and format it.
gpart create -s gpt da0
gpart add -t freebsd-ufs da0
newfs -U /dev/da0p1
 
Last edited:
Hello,


Going on configuring and discovering FreeBSD on my laptop (I'm a beginner), I try, unsuccessfully to format a 256Go USB Key to GPT (freebsd-UFS) (-> to use it)
I used gpart.

gpart destroy -F /dev/da0
gpart create -s gpt da0
gpart add -t freebsd-ufs /dev/da0

the result mounting in KDE is a msdosfs 779,0 kio at /dev/da0p1
the /dev/da0p2 with 219,7 Gio doesn't appear.

I read other posts, but I'm not sure to understand.

Did I forget something ?

Thank you.
When using gpart() you don't need to prefix the device with '/dev/'.
 
Hello Phishfry and balanga,
thank you for your help.
I followed what you sent me. KDE is not showing the key.
I see it with utilities, but nothing in Dolphin.
Have you got an idea ?
 

Attachments

  • Screenshot_20210308_140624.png
    Screenshot_20210308_140624.png
    169.1 KB · Views: 77
  • Screenshot_20210308_140723.png
    Screenshot_20210308_140723.png
    34.7 KB · Views: 79
Unfortunately, the procedure did no work
I just posted it in KDE part following your advice.
maybe I'll have an explanation. The key is brand new.
As soon as I get an answer, I'll close this one
 
Back
Top