[PLUG] dd command for removable drive

श्रीधर नारायण श्रीधर नारायण
Mon Oct 2 20:49:42 PDT 2006


On Tuesday 03 October 2006 07:58, Rohan Dighe wrote:
> Inline reponses follow:-
>
> > Yes it can be when you have sata disks which are sd* because of scsi
> > emulation of sata. AFAIK, when you use dd the device should be
> > umounted. Can you tell more about the scenario when your partition
> > table crashed?
>
> I don't have any of the SATA disks. I had inserted my pen drive into
> USB2 slot and used this command, in sec's it crashed my entire
> partition table, i had 120Gb of important data on that.
> This is the command i had given
>
> dd if=diskboot.img of=/dev/<device> (device=sda1)

Did you check with dmesg tha /dev/sda1 was the device? IIRC, it should 
be /dev/sda. Pen drives don't have partitions..

 Shridhar



More information about the plug-mail mailing list