howto write bootsector to HDD ? ("now what")

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.
JoeKayzA

Re:now what

Post by JoeKayzA »

@kataklinger: AFAIK it's possible to store your bootsector as a 512-byte-file on Windows' system drive and let NTLDR chainload it. This works with all Linux-bootloaders I've seen, so you might give it a try. Put the bootsector into a file called 'c:\myos.bin' for example, the add the line

Code: Select all

C:\myos.bin="My OS"
to the file 'c:\boot.ini'. If necessary, increase the timeout value (should be around 25 seconds by default).

cheers Joe
User avatar
kataklinger
Member
Member
Posts: 381
Joined: Fri Nov 04, 2005 12:00 am
Location: Serbia

Re:now what

Post by kataklinger »

Hmm... I didn't know that, I'll try right away. Thanks
Post Reply