assembly - How To Boot 512byte bootloader from USB (ARMx86) -
it simple non-os-specific assembly program designed work pc's architecture. compiled nasm's linux version.
i tried place usb , when selected boot usb in bios, did try boot usb. , silence. hardware kept running program supposed print characters screen. black screen flashing white cursor on top left (i think belongs bios).
maybe bios didn't count "file" boot sector.
here usb content (screenshot win7, not in english can understand is):
properties
need make usb drive bootable? need partition master boot record?
a few years ago created bootable shell emulator supposed boot usb drive, stucked many times figuring out issue, in order make happen need put mbr boot program @ first sector of drive, special boot signature, has 512 bytes long, there can boot other sector on drive contain rest of bootable programs. make sure boot loader code correct , @ first sector of drive.
http://wiki.osdev.org/bootloader
http://forum.osdev.org/viewtopic.php?f=1&t=20561
also make sure system supports usb boot feature, can figure out bios boot settings.
Comments
Post a Comment