From a400fd8842a2ccb2d21fd772022c4f07f5b20a9b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 14 Feb 2014 21:34:09 -0200 Subject: Comment about erasing MBR --- share/hydra/bootless | 4 ++++ 1 file changed, 4 insertions(+) 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." -- cgit v1.2.3