Would you mind trying this, in a terminal:
Set variable PDRV to the drive (Flash stick) you are running SlaQ on, for example "sdc", and PDEV1 to the partition:
Code: Select all
# PDRV=sdc
# PDEV1=sdc2
Code: Select all
# START_PDEV1="$(cat /sys/block/${PDRV}/${PDEV1}/start)"
# SIZE_PDEV1="$(cat /sys/block/${PDRV}/${PDEV1}/size)"
# START_BEYONDS="`expr $START_PDEV1 + $SIZE_PDEV1`"
# DISK_INFO="$(sfdisk -F /dev/$PDRV)"
# SIZE_BEYONDS="$(echo "$DISK_INFO" | sed -e 's%^ *%%' | grep "^${START_BEYONDS} " | tr -s ' ' | cut -f 3 -d ' ')"
You can check each step as you do it, just use 'echo' to view the result.