From e025b80a4625125e53f2af691f614467488e1805 Mon Sep 17 00:00:00 2001 From: Molly Lau Date: Tue, 4 Jul 2023 18:02:32 +0900 Subject: [PATCH] Update windowsInit.sh --- Linux_reinstall/Windows/windowsInit.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Linux_reinstall/Windows/windowsInit.sh b/Linux_reinstall/Windows/windowsInit.sh index 8b6ba40..98a01cc 100644 --- a/Linux_reinstall/Windows/windowsInit.sh +++ b/Linux_reinstall/Windows/windowsInit.sh @@ -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