How do I convert a .bin file into a .iso file for usb use

I have a .bin file that I would like to convert to an iso to burn to a usb. The .bin file is clearly bootable; The output of

file os-image.bin

is

../os-image.bin: DOS/MBR boot sector

and I can boot it in qemu.

but when I convert it to iso:

genisoimage -o drip.iso os-image.bin

or bchunck or PowerISO or bin2iso

the output of the file command is:

drip.iso: ISO 9660 CD-ROM filesystem data 'CDROM'

and rufus won't write it to usb, and qemu won't boot.

Also, when I write the bin to the usb with rufus, it won't boot on a regular computer.

5

1 Answer

So I have figured out the issue.

My image that I was using for writing wasn't for UEFI so it didn't want to boot on newer PCs.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like