[Clonezilla-live] usb live, makeboot.sh doesn't accept /dev/ub[a-z]
A partition and disk imaging/cloning program
Brought to you by:
steven_shiau
|
From: <tv....@go...> - 2009-07-07 23:53:59
|
Hello Clonezilla fans, I just made a Clonezilla live usb bootable stick, using the 20090701-jaunty.zip archive. All is well but my system (Debian) name usb devices with the /dev/ub[a-z][[:digit:]] form, and makeboot.sh doesn't accept that as a valid partition name. I modified the script this way (around line 70) : ###################################################################### # Make sure target_part is partition device name, not disk device name if [ -z "$(echo $target_part | grep -iE "/dev/[hsu][bd][a-z]+[[:digit:]]+")" ]; then [ "$BOOTUP" = "color" ] && $SETCOLOR_FAILURE echo "\"$target_part\" is NOT a valid partition name!" [ "$BOOTUP" = "color" ] && $SETCOLOR_NORMAL USAGE exit 1 fi ###################################################################### and then it ran fine. Maybe this could be corrected in the next update, I think newer Ubuntu also use the "ub[a-z]" names, and maybe other distributions as well. All the best, Tom |