How to do a hexdump of first track of HDD?
- by Daniel Gratz
How would i do a hexdump in Ubuntu for the first track of a HDD?
I am looking for a winhex-esque output if that makes sense. The first track has 63 sectors, each 512 bytes long. I tried
dd if=/dev/sda bs=1 count=512 | hexdump -C
but that only gave me what appears to be the MBR, or first sector of the HDD. I guess i am confused about what bs and count should be. Bs means how many bytes to display and count is how many multiples of bs? Thanks!