dd if=/dev/zero of=RISCPC.IMG.new bs=1 count=512
dd if=RISCPC.IMG of=RISCPC.IMG.new bs=512 seek=1
dd if=/dev/zero bs=1 count=512 >> RISCPC.IMG.new
mv RISCPC.IMG{.new,}
Se você puder usar cat
, considere isto:
cat > RISCPC.IMG.new \
<(dd if=/dev/zero bs=512 count=1) \
RISCPC.IMG \
<(dd if=/dev/zero bs=512 count=1)
mv RISCPC.IMG{.new,}