X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/6ded3355272edb9af63d97aad646bbd7c6f12583..261ddcef45ede2f9440342a5b3dd474e26df1679:/IMG/cpio/ventoy/hook/tinycore/ventoy-disk.sh diff --git a/IMG/cpio/ventoy/hook/tinycore/ventoy-disk.sh b/IMG/cpio/ventoy/hook/tinycore/ventoy-disk.sh index 5fc8bf1..90ebbaf 100644 --- a/IMG/cpio/ventoy/hook/tinycore/ventoy-disk.sh +++ b/IMG/cpio/ventoy/hook/tinycore/ventoy-disk.sh @@ -36,7 +36,7 @@ if [ "$vtdiskname" = "unknown" ]; then exit 0 fi -if echo $vtdiskname | egrep -q "nvme.*p[0-9]$|mmc.*p[0-9]$"; then +if echo $vtdiskname | egrep -q "nvme.*p[0-9]$|mmc.*p[0-9]$|nbd.*p[0-9]$"; then vPart="${vtdiskname}p2" else vPart="${vtdiskname}2"