mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 03:28:04 +02:00
also check for lba
This commit is contained in:
@@ -939,7 +939,7 @@ if [ "$1" = "kill-boot" ]; then
|
|||||||
partitionPath="/dev/${device}${separator}${partNumber}"
|
partitionPath="/dev/${device}${separator}${partNumber}"
|
||||||
echo "# checking ${partitionPath}"
|
echo "# checking ${partitionPath}"
|
||||||
if blkid "${partitionPath}" | grep -q "TYPE=\"vfat\"" && \
|
if blkid "${partitionPath}" | grep -q "TYPE=\"vfat\"" && \
|
||||||
parted "/dev/${device}" print | grep "^ *${partNumber}" | grep -q "boot\|esp"; then
|
parted "/dev/${device}" print | grep "^ *${partNumber}" | grep -q "boot\|esp\|lba"; then
|
||||||
bootPartition="${device}${separator}${partNumber}"
|
bootPartition="${device}${separator}${partNumber}"
|
||||||
partitionNumber="${partNumber}"
|
partitionNumber="${partNumber}"
|
||||||
break
|
break
|
||||||
|
Reference in New Issue
Block a user