ishanthilina / USB-FAT32-Bootloader

A simple FAT32 bootloader written in assembly to boot from USB drives.
http://blog.ishans.info/2012/01/19/a-simple-fat32-bootloader-written-in-assembly-to-boot-from-usb-drives/
74 stars 23 forks source link

Copying Bootloader Specifics #1

Closed jaredjones closed 7 years ago

jaredjones commented 9 years ago

I was wondering if you could be more specific in step #4 about how to copy the boot loader to the USB drive. I couldn't figure out how to to do it with MKDOSFS so I ended up using DD. The only problem though is that while the USB drive will show the name: "QUASI OS" I am not able to boot it. If I try to boot it from my Macbook Pro or my Intel Ivy Bridge based motherboard it won't show up as bootable. If I select "Boot from usb" in my UEFI/BIOS it'll skip it and just go straight to loading Windows 8.

So I'm not sure if the boot loader was copied over properly since I used DD.

akoimeexx commented 9 years ago

@jaredjones I noticed the same issue, the duplicated command from formatting the drive in step three. I believe dd is the correct way to write the bootloader to the disk.

Do either of your systems support booting from a non-EFI bootloader? You may have to change the settings in your UEFI setup.

ammaratef45 commented 7 years ago

I have the same issue

ishanthilina commented 7 years ago

Hi All,

My bad. Please use the following command to copy the boot.bin . Make sure you map the drives correctly.

dd if=boot.bin of=/dev/fd0