Update windowsInit.sh

This commit is contained in:
Molly Lau 2023-07-04 18:02:32 +09:00 committed by GitHub
parent ae5a19c7c0
commit e025b80a46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,3 +67,5 @@ losetup $loopDevice $IncDisk
# get mapper partition
mapperDevice=$(kpartx -av $loopDevice | grep "$loopDeviceNum" | head -n 1 | awk '{print $3}')
# mount Windows dd partition to /mnt
ntfs-3g /dev/mapper/$mapperDevice /mnt