LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to get the data of a disk anywhere? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-get-the-data-of-a-disk-anywhere-305420/)

nice007 03-24-2005 05:21 AM

how to get the data of a disk anywhere?
 
if I want to get the data from MBR,which is on 0 cylinder,0 track,1 sector.I can type:
dd if=/dev/hda of=~/mbr bs=512 count=1
but how to get the data of other place.may be it from 32 cyclinder,5 track, 30 sector or else.
can anyone help me?

bigearsbilly 03-24-2005 05:42 AM

dd had may options like 'seek=n' which will place it which will place it
n blocks along. (depending on bs=blocksize)

don't know how hard disks work exactly but this should help maybe?


All times are GMT -5. The time now is 08:57 PM.