aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGene Cumm <gene.cumm@gmail.com>2013-06-23 12:19:08 -0400
committerGene Cumm <gene.cumm@gmail.com>2013-06-23 12:19:08 -0400
commit2e6ccfe2bc38f11dd4696ea1bb4b1c32f47c9c91 (patch)
tree098e74658d204cf8819118718c4e1b6545d184fa
parent3bb57724dbcf5d5eb54f568c1fb0ea2b0c948b6a (diff)
downloadsyslinux-2e6ccfe2bc38f11dd4696ea1bb4b1c32f47c9c91.tar.gz
syslinux-2e6ccfe2bc38f11dd4696ea1bb4b1c32f47c9c91.tar.xz
syslinux-2e6ccfe2bc38f11dd4696ea1bb4b1c32f47c9c91.zip
txt/syslinux.txt: rewrap long command
Signed-off-by: Gene Cumm <gene.cumm@gmail.com>
-rw-r--r--txt/syslinux.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/txt/syslinux.txt b/txt/syslinux.txt
index b47ea28d..59666635 100644
--- a/txt/syslinux.txt
+++ b/txt/syslinux.txt
@@ -191,8 +191,8 @@ the partition as active.
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