How can I write a binary file to the first sector of a hard disk [closed]

Multi tool use
For the past few months I have been researching on how to write a binary file to the first sector of an hard disk but I did not seem to find any results. I have found many results about writing to floppy disks and USB sticks but none about hard disks. Please can any one help me out with this? I am really stuck here.
hard-drive binary-files
closed as too broad by Ramhound, DavidPostill♦ Jan 8 at 20:07
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
|
show 2 more comments
For the past few months I have been researching on how to write a binary file to the first sector of an hard disk but I did not seem to find any results. I have found many results about writing to floppy disks and USB sticks but none about hard disks. Please can any one help me out with this? I am really stuck here.
hard-drive binary-files
closed as too broad by Ramhound, DavidPostill♦ Jan 8 at 20:07
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
2
But the methods are exactly the same for all three disk types, aren't they?
– grawity
Jan 8 at 16:55
@grawity No they are not, I have tried using windows debug command and it shows me an error that it cannot access the hard disk. I tried using Linux dd's command and it claims to be successful but I do not notice any changes. I have triple checked my binary files and they are OK.
– preciousbetine
Jan 8 at 16:58
3
Then please show the exact commands that you've used for writing the data, and the methods that you've used for checking whether data has been written.
– grawity
Jan 8 at 17:03
related: stackoverflow.com/questions/32893607/…
– BadSnowflake
Jan 8 at 17:04
2
Check out the DD utility commands. At the bottom, it shows you how to list all writable devices and then choose the one you want to write to. A floppy is an example, but you can choose any of them and then just change the size. chrysocome.net/dd
– Narzard
Jan 8 at 17:13
|
show 2 more comments
For the past few months I have been researching on how to write a binary file to the first sector of an hard disk but I did not seem to find any results. I have found many results about writing to floppy disks and USB sticks but none about hard disks. Please can any one help me out with this? I am really stuck here.
hard-drive binary-files
For the past few months I have been researching on how to write a binary file to the first sector of an hard disk but I did not seem to find any results. I have found many results about writing to floppy disks and USB sticks but none about hard disks. Please can any one help me out with this? I am really stuck here.
hard-drive binary-files
hard-drive binary-files
edited Jan 8 at 17:25


BadSnowflake
489519
489519
asked Jan 8 at 16:54


preciousbetinepreciousbetine
992
992
closed as too broad by Ramhound, DavidPostill♦ Jan 8 at 20:07
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as too broad by Ramhound, DavidPostill♦ Jan 8 at 20:07
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
2
But the methods are exactly the same for all three disk types, aren't they?
– grawity
Jan 8 at 16:55
@grawity No they are not, I have tried using windows debug command and it shows me an error that it cannot access the hard disk. I tried using Linux dd's command and it claims to be successful but I do not notice any changes. I have triple checked my binary files and they are OK.
– preciousbetine
Jan 8 at 16:58
3
Then please show the exact commands that you've used for writing the data, and the methods that you've used for checking whether data has been written.
– grawity
Jan 8 at 17:03
related: stackoverflow.com/questions/32893607/…
– BadSnowflake
Jan 8 at 17:04
2
Check out the DD utility commands. At the bottom, it shows you how to list all writable devices and then choose the one you want to write to. A floppy is an example, but you can choose any of them and then just change the size. chrysocome.net/dd
– Narzard
Jan 8 at 17:13
|
show 2 more comments
2
But the methods are exactly the same for all three disk types, aren't they?
– grawity
Jan 8 at 16:55
@grawity No they are not, I have tried using windows debug command and it shows me an error that it cannot access the hard disk. I tried using Linux dd's command and it claims to be successful but I do not notice any changes. I have triple checked my binary files and they are OK.
– preciousbetine
Jan 8 at 16:58
3
Then please show the exact commands that you've used for writing the data, and the methods that you've used for checking whether data has been written.
– grawity
Jan 8 at 17:03
related: stackoverflow.com/questions/32893607/…
– BadSnowflake
Jan 8 at 17:04
2
Check out the DD utility commands. At the bottom, it shows you how to list all writable devices and then choose the one you want to write to. A floppy is an example, but you can choose any of them and then just change the size. chrysocome.net/dd
– Narzard
Jan 8 at 17:13
2
2
But the methods are exactly the same for all three disk types, aren't they?
– grawity
Jan 8 at 16:55
But the methods are exactly the same for all three disk types, aren't they?
– grawity
Jan 8 at 16:55
@grawity No they are not, I have tried using windows debug command and it shows me an error that it cannot access the hard disk. I tried using Linux dd's command and it claims to be successful but I do not notice any changes. I have triple checked my binary files and they are OK.
– preciousbetine
Jan 8 at 16:58
@grawity No they are not, I have tried using windows debug command and it shows me an error that it cannot access the hard disk. I tried using Linux dd's command and it claims to be successful but I do not notice any changes. I have triple checked my binary files and they are OK.
– preciousbetine
Jan 8 at 16:58
3
3
Then please show the exact commands that you've used for writing the data, and the methods that you've used for checking whether data has been written.
– grawity
Jan 8 at 17:03
Then please show the exact commands that you've used for writing the data, and the methods that you've used for checking whether data has been written.
– grawity
Jan 8 at 17:03
related: stackoverflow.com/questions/32893607/…
– BadSnowflake
Jan 8 at 17:04
related: stackoverflow.com/questions/32893607/…
– BadSnowflake
Jan 8 at 17:04
2
2
Check out the DD utility commands. At the bottom, it shows you how to list all writable devices and then choose the one you want to write to. A floppy is an example, but you can choose any of them and then just change the size. chrysocome.net/dd
– Narzard
Jan 8 at 17:13
Check out the DD utility commands. At the bottom, it shows you how to list all writable devices and then choose the one you want to write to. A floppy is an example, but you can choose any of them and then just change the size. chrysocome.net/dd
– Narzard
Jan 8 at 17:13
|
show 2 more comments
0
active
oldest
votes
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
jI3Bdp3gqb0L,RCAGwWQMs2Xpb CNBS4 51ycijepBf v8WvUZCJsedY42MWibDBTu9Kgy0 OvudDn3h
2
But the methods are exactly the same for all three disk types, aren't they?
– grawity
Jan 8 at 16:55
@grawity No they are not, I have tried using windows debug command and it shows me an error that it cannot access the hard disk. I tried using Linux dd's command and it claims to be successful but I do not notice any changes. I have triple checked my binary files and they are OK.
– preciousbetine
Jan 8 at 16:58
3
Then please show the exact commands that you've used for writing the data, and the methods that you've used for checking whether data has been written.
– grawity
Jan 8 at 17:03
related: stackoverflow.com/questions/32893607/…
– BadSnowflake
Jan 8 at 17:04
2
Check out the DD utility commands. At the bottom, it shows you how to list all writable devices and then choose the one you want to write to. A floppy is an example, but you can choose any of them and then just change the size. chrysocome.net/dd
– Narzard
Jan 8 at 17:13