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
精彩评论