How to make a bootable IMG file and put your OS on USB
Posted: Thu Oct 13, 2016 2:19 pm
Hey guys, it's andrewthompson555. Want to put a bootloader onto a bootable IMG file but want more files in it? Sick and tired of getting many problems with trying to copy your kernel into your USB? You've come to the right place!
Anyway, whoever wants to make their OS work on the BIOS on a USB. This will make a FAT12 image! WARNING! This might stop Windows from letting you get data from the stick. Do 'format /q <USB DRIVE>' if this happens.
1) Download fat_imgen and Rufus
2) Put a BPB (BIOS Parameter Block) into your bootloader
3) Compile it with NASM
4) Put it in with the exe file of fat imgen
5) Do 'fat_imgen -c -f os.img -s boot.bin
6) Open Rufus
7) Select DD Image and your USB drive
8 ) Select the .img file by pressing that button near the create bootable option
9) Press the start and it will make your USB into FAT12 as well
10) Restart your PC and enable F12 boot manager in the BIOS
11) Search for USB FDD (There might be duplicate so try the bottom and top)
12) Kaboom! It's right there.
Anyway, whoever wants to make their OS work on the BIOS on a USB. This will make a FAT12 image! WARNING! This might stop Windows from letting you get data from the stick. Do 'format /q <USB DRIVE>' if this happens.
1) Download fat_imgen and Rufus
2) Put a BPB (BIOS Parameter Block) into your bootloader
3) Compile it with NASM
4) Put it in with the exe file of fat imgen
5) Do 'fat_imgen -c -f os.img -s boot.bin
6) Open Rufus
7) Select DD Image and your USB drive
8 ) Select the .img file by pressing that button near the create bootable option
9) Press the start and it will make your USB into FAT12 as well
10) Restart your PC and enable F12 boot manager in the BIOS
11) Search for USB FDD (There might be duplicate so try the bottom and top)
12) Kaboom! It's right there.