[SOLVED] [dd] Skip sector with dd
I'm playing around with a script to verify that no changes have been made to my MBR/boot-section.
I'm using dd to create files, and TrueCrypt to encrypt my entire system.
First I make a copy of my MBR+partition table with the command:
Well, that was the easy part. I'm reading an article about the "Evil Maid" attack on system encryption, that tells me that the Truecrypt unencrypted boot-sector is located at the first 63 sectors of /dev/sda/.
dd if=/dev/sda of=/tmp/mbr bs=512 count=1
Since I have just copied (and checked) the MBR, I'd want to exclude the first sector of 512 bytes from the next command.
Will this command skip the first 512 bytes?
dd if=dev/sda of=tmp/boot bs=512 count=62 skip=1