Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 May 2015 09:37:53 -0600
From:      jd1008 <jd1008@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to restore a USB drive converted to bootable
Message-ID:  <5544EF51.5070506@gmail.com>
In-Reply-To: <44wq0r2e22.fsf@lowell-desk.lan>
References:  <5543FAA3.7050907@hiwaay.net> <441tiz3wrx.fsf@lowell-desk.lan> <5544DBA2.1030102@hiwaay.net> <44wq0r2e22.fsf@lowell-desk.lan>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help


On 05/02/2015 09:29 AM, Lowell Gilbert wrote:
> "William A. Mahaffey III" <wam@hiwaay.net> writes:
>
>> On 05/02/15 09:06, Lowell Gilbert wrote:
>>> "William A. Mahaffey III" <wam@hiwaay.net> writes:
>>>
>>>> I am about to do some OS installs (NetBSD & OpenBSD, as it happens) on
>>>> boxen under construction. I would also like to use UBCD on a flash
>>>> drive to memcheck those boxen prior to installation. If I prep a USB
>>>> thumb drive as either a bootable UBCD drive or an over-the-WWW
>>>> installer, I wipe out the drive for its original use. Is there a way
>>>> to restore the drive back to its original functionality if I wanted to
>>> Is "wipe the drive and reformat" what you need to hear, or do you have
>>> more requirements that you haven't made clear?
>>>
>>
>> Wipe & reformat, preferably from CLI under FBSD 9.3R-p13 for
>> convenience, is what I'm after. Clearly creating a bootable UBCD or
>> installer will wipe out whatever was
>> there before, so I just want to get back to 'virgin' USB drive.
>>
All you do (as root) is

dd if=/dev/zero  of=/dev/whatever-your-usb-flash-drive's-name-is bs=1M





Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?5544EF51.5070506>