Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Aug 2015 09:25:53 -0400
From:      Paul Kraus <paul@kraus-haus.org>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: USB stick and some help with it.
Message-ID:  <30011532-52BE-4C42-B062-5D1212EBE655@kraus-haus.org>
In-Reply-To: <55BF6AA0.2030802@bananmonarki.se>
References:  <55BF6AA0.2030802@bananmonarki.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On Aug 3, 2015, at 9:20, Bernt Hansson <bah@bananmonarki.se> wrote:

> Have an old usbstick that i bought 5-6 years ago it's a datatraveler =
150.
>=20
> I used dd to transfer a cd image to it and now i can't "clean" it of =
the stick.
>=20
> Tried dd if=3D/dev/random of=3D/dev/da1 bs=3D1m count=3D100 but dd =
just taunting me with this:
>=20
> dd: /dev/da1: Input/output error
> 1+0 records in
> 0+0 records out
> 0 bytes transferred in 65.558710 secs (0 bytes/sec)

I ran into this a bit ago with an SSD. Use gpart to add a partition map.

gpart add gpt /dev/da1

--
Paul Kraus
paul@kraus-haus.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?30011532-52BE-4C42-B062-5D1212EBE655>