开发者

Create bootable USB drive from binary file?

开发者 https://www.devze.com 2023-03-08 21:56 出处:网络
I have a bin file that I compiled from ASM source via nasm -f bin -o helloworld.bin helloworld.asm. How can I write helloworld.bin to a USB flash drive. I DO NOT want to write it to a floppy disk! I w

I have a bin file that I compiled from ASM source via nasm -f bin -o helloworld.bin helloworld.asm. How can I write helloworld.bin to a USB flash drive. I DO NOT want to write it to a floppy disk! I wouldn't mind using 开发者_运维百科Unix or MS-DOS or a third-party software to do this, as long as it writes to a USB Flash Drive and NOT a floppy disk.


How about dd(1) ? Something like

dd if=helloworld.bin of=/dev/sdc
0

精彩评论

暂无评论...
验证码 换一张
取 消