
Originally Posted by
smnesmwhr
You should use filesystem type ntfs in the mount command, instead of vfat.
/dev/sdax shows your partition number as reported by Linux fdisk command or its variants, you have to substitute your partition number correctly; and it can be /dev/hdax as well, just look at the output of your fdisk command in Linux (x is the partition number here, e.g., 1 or 3)
Doing a man <command> will tell you what the command is about, e.g., man dd (you can also type this in google search: manual dd linux)
mkdir -p is used to create directory hierarchy.
mount is used to mount a file-system under the chosen directory., e.g., to mount your c:\ drive under /mount/windows directory. Mounting makes it accessible as if it were a local directory.
dd is used to read and write raw bytes and can access boot records etc. (provided you know where on hard-disk the boot record is). In the example, we are reading off 512 bytes from the beginning of /dev/sda1 and writing them to a file, effectively capturing the boot record of Windows. Some people prefer to copy 1024 bytes instead. Very briefly, a boot record is a small program which ultimately transfers control to a pre-set or a configurable location (varies among boot records of different OS).