by emax20000 » Tue Apr 23, 2013 7:22 pm
$this->bbcode_second_pass_quote('karog', '')$this->bbcode_second_pass_quote('emax20000', 't')here are a way to check if partition 1 and mbr are written?
I wrote some scripts that can read the files back available as
sataread.tar.gzsataread.tar.gz contains 5 scripts: sataread, satareadmagic, satareadstage1, satareadboot, satareaduimage.
The latter four all use sataread which must be accessible via PATH. They all take two arguments, the filename into which the data is to be stored and the device as sdX eg sda, not /dev/sda. The scripts first validate the device among sda, sdb, sdc, sdd, or sde. If you need some other device, the scripts will need to be modified.
The individual sataread's contain the exact number of bytes to read that is dependent on the versions when I wrote this so if they have changed, the scripts must be adjusted.
You can then compare the data thus obtained with what you believe should have been written.