OSDev.org

The Place to Start for Operating System Developers
It is currently Sat Apr 20, 2024 5:56 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Partcopy, Divide error writing boot sector
PostPosted: Fri Apr 29, 2011 9:26 pm 
Offline

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


Top
 Profile  
 
 Post subject: Re: Partcopy, Divide error writing boot sector
PostPosted: Sat Apr 30, 2011 5:53 pm 
Offline
Member
Member
User avatar

Joined: Fri Mar 07, 2008 5:36 pm
Posts: 2111
Location: Bucharest, Romania
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 ]


Top
 Profile  
 
 Post subject: Re: Partcopy, Divide error writing boot sector
PostPosted: Mon May 02, 2011 3:51 am 
Offline

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 37 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group