diff --git a/build/install-os-k.sh b/build/install-os-k.sh index cfe6b19..e4e440e 100755 --- a/build/install-os-k.sh +++ b/build/install-os-k.sh @@ -44,6 +44,11 @@ fi mountpoint=$(udisksctl info -b $lpblock | grep MountPoint | cut -d ':' -f 2 | sed 's/ //g') +if [ -z $mountpoint ]; +then + mountpoint=$(udisksctl mount -b $lpblock | cut -d ' ' -f 2 | sed 's/\.//g') +fi + if [ -z $mountpoint ]; then echo Impossible to mount the image at $lpblock. Fatal error !