Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我知道使用dd if=a.bin of=a.img bs=512 count=1commond 可以在 ubuntu 15.10 中将 bin 文件写入 *.img 文件,我得到的文件大小等于 bin 文件,它很小,我无法将任何其他文件复制到这个 img 文件
dd if=a.bin of=a.img bs=512 count=1
如何将 bin 文件写入现有的 img 文件
多谢
这可以分两遍完成:
dd if=a.bin of=a_m.img bs=512 count=1 dd if=a.img of=a_m.img conv=notrunc oflag=append bs=512 skip=1