Partcopy, Divide error writing boot sector

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
hall123
Posts: 9
Joined: Fri Apr 29, 2011 9:03 pm
Location: Australia

Partcopy, Divide error writing boot sector

Post by hall123 »

Hi, everyone I have this little problem:

I have written a small boot loader form the first Broken Thorn tutorial and I can compile it with NASM into boot.bin, then I use Imdisk to make a virtual floppy drive. When I enter "partcopy boot.bin 0 200 -f0" to command prompt, I get "Divide error". Changing drivers "-f1" makes no difference, I have no clue how to fix it.

Running windows XP, but tired this on two computers same result, tried different simple boot loaders, made no difference so I'm stuck.

Been looking on Internet for two days any help would be great

Daniel Hall
Garbage collection is only for programmers that make garbage and can't clean up for themselves.
User avatar
Love4Boobies
Member
Member
Posts: 2111
Joined: Fri Mar 07, 2008 5:36 pm
Location: Bucharest, Romania

Re: Partcopy, Divide error writing boot sector

Post by Love4Boobies »

Unrelated to your particular problem, but PARTCOPY also has problems with large file sizes. Since you're under Windows, you might want to consider RawWrite for Windows instead.
"Computers in the future may weigh no more than 1.5 tons.", Popular Mechanics (1949)
[ Project UDI ]
hall123
Posts: 9
Joined: Fri Apr 29, 2011 9:03 pm
Location: Australia

Re: Partcopy, Divide error writing boot sector

Post by hall123 »

Hi,

Thanks for you help I found the rawwite for windows worked perfectly thank you.

Daniel Hall
Garbage collection is only for programmers that make garbage and can't clean up for themselves.
Post Reply