I saw the parameter changed Alien Bob:
Quote:
On Slackware 13.37:
Code:
-A number
Make the indicated partition(s) active, and all others inactive.
On Slackware 14.1:
Code:
-a, --activate device [partition-number...]
Switch on the bootable flag. If no partition-number is speci-
fied, then all partitions with an enabled flag are listed.
OPTIONS
-A, --append
Don't create a new partition table, but only append the speci-
fied partitions.
|
But in Slackware64 14.1, where "-a, --activate device [partition-number...]" in sfdisk command, the script usbimg2disk.sh is "-A" and not "-a".
Check you self
http://mirrors.slackware.com/slackwa...usbimg2disk.sh
The same in Slackware-current.
http://mirrors.slackware.com/slackwa...usbimg2disk.sh
See the code
Code:
...
makebootable() {
# Only parameter: the name of the USB device to be set bootable:
USBDRV="$1"
# Sanity checks:
if [ ! -b $USBDRV ]; then
echo "*** Not a block device: '$USBDRV' !"
exit 1
fi
# Set the bootable flag for the first partition:
/sbin/sfdisk -A $USBDRV 1
}
...
Thank you for your kindness.