writing boot sector to disk

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
DigitalKhaos

writing boot sector to disk

Post by DigitalKhaos »

Greetings all,

I'm having a bit of a problem with John Fine's Partcopy. I'm using the syntax 'partcopy boot.bin 0 200 -f0'

It is return an error: Divide error.

The floppy disk motor or drive light are not going on at all, no activity whatsoever. I'm using a fairly new laptop which does not include a 3.5 floppy drive, so I bought an external usb powered drive.

Has anyone had any experience with this, or may have some words of advise?

I'd appreciate anything at all.

THanks all,
John
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re:writing boot sector to disk

Post by bubach »

You could try and use rawrite for windows instead. It will write an image of any size to your floppy. And if you need to inlude more then the bootsector, for example if you have your kernel directly after it, try the command: copy /b boot.bin + kernel.bin image.img
before using rawrite.
HTH
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
DigitalKhaos

Re:writing boot sector to disk

Post by DigitalKhaos »

Thanks man, rawrite works perfectly.

Thanks again :)
Post Reply