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 の *.img ファイルに bin ファイルを書き込むことができることを知っていました。ファイル サイズは bin ファイルと同じです。小さいため、他のファイルをこの img ファイルにコピーすることはできません。
dd if=a.bin of=a.img bs=512 count=1
既存の img ファイルに bin ファイルを書き込む方法
どうもありがとう
これは、次の 2 つのパスで実行できます。
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