Re: Oops - copied iso image to wrong device

2013-10-15 Thread mark ryan
On Sun, Oct 13, 2013 at 1:55 AM, Ralf Mardorf ralf.mard...@alice-dsl.netwrote: The problem is that you didn't delete it, but you've overwritten the data, OTOH the ISO is very small, so not very much is overwritten. First you need to try to recover the partition table. Assumed this should

Re: Oops - copied iso image to wrong device

2013-10-15 Thread mark ryan
On Sun, Oct 13, 2013 at 10:00 AM, Brian a...@cityscape.co.uk wrote: On Sun 13 Oct 2013 at 00:54:44 +, 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.

Re: Oops - copied iso image to wrong device

2013-10-14 Thread Jonathan Dowland
On Sun, Oct 13, 2013 at 10:52:33PM +0100, Brian wrote: The dd command was recommended on the off-chance GRUB might be put on the drive now or in the future; it will refuse to install. I see, I didn't know that, thank you. Apparently grub-setup is the bit that complains, and it can be made to

Re: Oops - copied iso image to wrong device

2013-10-13 Thread Brian
On Sun 13 Oct 2013 at 00:54:44 +, 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

Re: Oops - copied iso image to wrong device

2013-10-13 Thread Hans
Am Sonntag, 13. Oktober 2013, 11:00:50 schrieb Brian: On Sun 13 Oct 2013 at 00:54:44 +, 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

Re: Oops - copied iso image to wrong device

2013-10-13 Thread Jonathan Dowland
On Sun, Oct 13, 2013 at 11:00:50AM +0100, Brian wrote: The data on the drive are gone. Do dd if=/dev/zero of=/dev/sdb count=1 to remove all traces of the iso you put on it and start from scratch. …why? As things currently stand, the user could possibly reconstruct the partition

Re: Oops - copied iso image to wrong device

2013-10-13 Thread Brian
On Sun 13 Oct 2013 at 21:49:40 +0100, Jonathan Dowland wrote: On Sun, Oct 13, 2013 at 11:00:50AM +0100, Brian wrote: The data on the drive are gone. Do dd if=/dev/zero of=/dev/sdb count=1 to remove all traces of the iso you put on it and start from scratch. …why? As things

Oops - copied iso image to wrong device

2013-10-12 Thread mark ryan
Howdy all, 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,

Re: Oops - copied iso image to wrong device

2013-10-12 Thread Ralf Mardorf
The problem is that you didn't delete it, but you've overwritten the data, OTOH the ISO is very small, so not very much is overwritten. First you need to try to recover the partition table. Assumed this should work, then mount the drive read only and use a tool to undelete files for the original