From 780ac52ba2192855c7a20d718b52d5d20928474c Mon Sep 17 00:00:00 2001 From: GNUxeava Date: Wed, 6 Apr 2022 19:05:06 +0530 Subject: [PATCH] finish mount windows --- ...ount-and-unmount-a-partition-in-windows.md | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/content/post/mount-and-unmount-a-partition-in-windows.md b/content/post/mount-and-unmount-a-partition-in-windows.md index 4261df6..6db20af 100644 --- a/content/post/mount-and-unmount-a-partition-in-windows.md +++ b/content/post/mount-and-unmount-a-partition-in-windows.md @@ -41,3 +41,38 @@ sequenceDiagrams: --- + +Open elevated Command Prompt by hitting **Win+R > cmd > Ctrl+Shift+Enter > Yes**. + +## Using DiskPart +Type in `diskpart` and hit Enter. + +Next, enter `list vol`. It will list all drives and partitions. + +Note the volume number of the desired partition and enter `sel vol `. + +### Mount +Assign it a drive letter currently not in use. It can be done by entering `assign letter = `. If you see **DiskPart assigned the drive letter or mount point**, then the partition mounted successfully. + +{{% center %}} +{{% figure src="/img/diskpart.png" title="This is what it looks like on my laptop" alt="Screenshot of diskpart with the above mentioned operations" %}} +{{% /center %}} + +Leave diskpart by typing `exit`. Now you can use it as normal from File Explorer. Enter `start :` to open the partition in File Explorer. Do not forget the colon (:). + +### Unmount +Enter `remove letter = ` in diskpart. If you get **DiskPart successfully removed the drive letter or mount point**, then it unmounted successfully. + +## Using mountvol +### Mount +Enter `mountvol`. It will list all connected volumes with their UUID. Copy the UUID and mount it to a mount point by entering `mounvol `. Now you should be able to open it as normal from File Explorer. To do it, enter `start `. + +{{% center %}} +{{% figure src="/img/mountvol.png" title="On my laptop it looks like this" alt="Screenshot of mountvol with the above mentioned operations" %}} +{{% /center %}} + +### Unmount +Enter `mountvol /P`. It should unmount the partition. + +## Next Step +Take care.