Changeset 2057 in MondoRescue


Ignore:
Timestamp:
Oct 27, 2008, 12:25:39 PM (15 years ago)
Author:
Bruno Cornec
Message:

Back to using fdisk te delete the partitions. as we need to keep the MBR in place.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.8/mindi/mindi

    r2056 r2057  
    13721372    echo "Unmounting $USBDEVICE just in case" >> $LOGFILE
    13731373    umount $USBPART 2>> $LOGFILE 1>> $LOGFILE
    1374     echo "Erasing $USBDEVICE" >> $LOGFILE
    1375     dd if=/dev/zero of=$USBDEVICE bs=16k count=4096 >> $LOGFILE 2>> $LOGFILE
     1374    # If your key has no MBR it may cause an issue
     1375    # Use dd if=mbr.bin of=$USBDEVICE or ms-sys -s $USBDEVICE
    13761376    echo "Preparing $USBDEVICE" >> $LOGFILE
    13771377    $FDISK $USBDEVICE 2>> $LOGFILE 1>> $LOGFILE << EOF
     1378d
     1379d
     1380d
     1381d
    13781382n
    13791383p
Note: See TracChangeset for help on using the changeset viewer.