mirror of
https://github.com/leitbogioro/Tools.git
synced 2024-11-15 13:44:50 +08:00
Update windowsInit.sh
This commit is contained in:
parent
ae5a19c7c0
commit
e025b80a46
1 changed files with 2 additions and 0 deletions
|
@ -67,3 +67,5 @@ losetup $loopDevice $IncDisk
|
||||||
# get mapper partition
|
# get mapper partition
|
||||||
mapperDevice=$(kpartx -av $loopDevice | grep "$loopDeviceNum" | head -n 1 | awk '{print $3}')
|
mapperDevice=$(kpartx -av $loopDevice | grep "$loopDeviceNum" | head -n 1 | awk '{print $3}')
|
||||||
|
|
||||||
|
# mount Windows dd partition to /mnt
|
||||||
|
ntfs-3g /dev/mapper/$mapperDevice /mnt
|
||||||
|
|
Loading…
Reference in a new issue