USB stick and some help with it.

Paul Kraus paul at kraus-haus.org
Mon Aug 3 14:01:10 UTC 2015


On Aug 3, 2015, at 9:30, Bernt Hansson <bah at bananmonarki.se> wrote:

> On 2015-08-03 15:25, Paul Kraus wrote:
> 
>> gpart add gpt /dev/da1
> 
> Thank you. But i only get this;
> 
> gpart add gpt /dev/da1

Sorry, too early, not enough coffee

gpart create -s gpt /dev/da1 

That will create a new GPT partition map and should wipe out what is there. If you really want to overwrite all the data, then add a partition that fills the entire drive and dd /dev/random to it

gpart add -t <type> /dev/da1

The type should be mostly immaterial in this case as you are just using the partition to allow you to write to the entire drive. I would use freebsd-ufs.

--
Paul Kraus
paul at kraus-haus.org



More information about the freebsd-questions mailing list