summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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."