summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-02-14 21:34:09 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-02-14 21:34:09 -0200
commita400fd8842a2ccb2d21fd772022c4f07f5b20a9b (patch)
treed6fba33f306e847125e302a93634571d079058a8 /share
parent99e9b95b57fddb565b2084d482af775b5c2686dd (diff)
downloadhydra-a400fd8842a2ccb2d21fd772022c4f07f5b20a9b.tar.gz
hydra-a400fd8842a2ccb2d21fd772022c4f07f5b20a9b.tar.bz2
Comment about erasing MBR
Diffstat (limited to 'share')
-rwxr-xr-xshare/hydra/bootless4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/hydra/bootless b/share/hydra/bootless
index cc3e79f..457ba8d 100755
--- a/share/hydra/bootless
+++ b/share/hydra/bootless
@@ -295,6 +295,10 @@ function hydra_bootless_device {
local device="$1"
local subdevice="$2"
+ # Erase disk MBR
+ # http://askubuntu.com/questions/158299/why-does-installing-grub2-give-an-iso9660-filesystem-destruction-warning
+ #sudo dd if=/dev/zero of=/dev/${usbdevice} bs=512 seek=1 count=2047
+
# Check if device is mounted
if [ "`mount | grep ${subdevice}`" != "" ]; then
echo "Error: device \"${subdevice}\" is mounted."