I am trying to read a single specific sector from the disk directly. I\'ve currently run out of ideas and any suggestions how to go about it would be great!
The other folks have pretty much covered it. You need to
access to the disk's device file (either be root or, better, change the permissions on it)
use the file IO functions to read sectors = chunks of (usually) 512 bytes from said disk.