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

Re: Oops - copied iso image to wrong device



On Sun 13 Oct 2013 at 00:54:44 +0000, mark ryan wrote:

> I was creating a bootable USB stick from an installer image on another
> external hard drive. I did a cat debian-7.1.0-i386-netinst.iso > /dev/sdb
> when I meant /dev/sdc. sdb was my external drive with the iso on it, and
> other files. I am now unable to mount that drive. What, if anything, can I
> do to recover that drive?

The data on the drive are gone. Do

   dd if=/dev/zero of=/dev/sdb count=10000

to remove all traces of the iso you put on it and start from scratch.


Reply to: