Rolling Your Own Bootloader: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
Line 46: | Line 46: | ||
=== What if I get beyond the 512 bytes of the boot sector ? === |
=== What if I get beyond the 512 bytes of the boot sector ? === |
||
Use [[GRUB]] ;) -- nah, kidding |
Use [[GRUB]] ;) -- nah, kidding... just make sure the first 512 bytes are able to load the rest of your loader and you're safe. Some do this with a separate "second stage" loader, others by really inserting a '512-bytes' break in their ASM code, making sure the rest of the loader is put after the bootsector (that is, starting at 0x7e00 ;) |
||
=== What if I wish to offer the user the option to boot several OSes ? === |
=== What if I wish to offer the user the option to boot several OSes ? === |