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












-1















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.










share|improve this 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


















-1















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.










share|improve this 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
















-1












-1








-1








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.










share|improve this question
















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






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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
















  • 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












0






active

oldest

votes

















0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes

Popular posts from this blog

How to reconfigure Docker Trusted Registry 2.x.x to use CEPH FS mount instead of NFS and other traditional...

is 'sed' thread safe

How to make a Squid Proxy server?