Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
For altmbr.bin, an easy way to overwrite the MBR boot block and specify
the partion number is:
+
- printf '\1' | cat altmbr.bin - | dd bs=440 count=1 iflag=fullblock \
- conv=notrunc of=/dev/sda
+ printf '\1' | cat altmbr.bin - | dd bs=440 count=1 \
+ iflag=fullblock conv=notrunc of=/dev/sda
+
Note: using 'cat' for writing the MBR can under some circumstances cause
data loss or overwritting. For this reason, using 'dd' is recommended