Go Back   Forums > Community Chatterbox > Tech Corner
Memberlist Forum Rules Search Today's Posts Mark Forums Read
Search Forums:
Click here to use Advanced Search

Reply
 
Thread Tools Display Modes
Old 08-05-2017, 11:04 PM   #1
MrThrall
Newbie
 
MrThrall's Avatar

 
Join Date: Apr 2017
Posts: 6
Exclamation How to use DISKPART to mount a .VHD file (With Screenshots)

Ok, so to beginners, this will look sorta Complicated, but trust me when I say that it's easier than it looks.

Shoutout to "zirkoni" for telling me about this method

Ok lets get on with it, shall we?

Step 1: Opening "command prompt"

Simple enough, right?



Step 2: Navigate to "C:\WINDOWS\System32" and run "DISKPART"

Again, simple enough. just use these commands:

Code:
"cd .." x2
"cd Windows"
"cd System32"
"DISKPART"
Sorry for the cluttered desktop BTW, I'm a heavy user.



Now one of 2 things should happen:

If you ran 'Command Prompt" as an Administrator, "Diskpart" should start in the command prompt window without any hassle.



Or if you ran it normally, you'll get a UAC or "User Account Control" window pop-up asking if you want to let DISKPART make changes to the disk... and then DISKPART should run in a separate window.





Step 3: Selecting and Mounting the .VHD file
This is where is can look complex, but it's really easy if you've done it before.

Now I'm gonna use my newly created Windows 98 VHD in the "Virtualbox VMs" folder. Ok, my name is Carter Nugent, and I'm only telling you this because I'm sick of having to make sure my name is censored in every screenshot.
Anyways, use this command to select the VHD file:

Code:
select vdisk file="c:\Users\{Username}\VirtualBox VMs\Windows 98 SE\Windows 98 SE.vhd"


And now it should say "DiskPart successfully selected the virtual disk file",
now from here all you need to type is:
Code:
attach vdisk
And your VHD should appear as any other drive (for me it actually popped-up as it was attached).



and you're done, that was easy right?
again, special thanks "zirkoni" for telling me this method .
__________________
If anything in my posts confuses you, lemme know either by PM or my email (cnugent9499@yandex.com) and I'll clarify...

And yes, my name is Carter Nugent, not a big deal, right? it's just annoying having to censor my name in every screenshot...
also, my avatar is my Minecraft skin... it's a shoutmon.

Last edited by MrThrall; 09-05-2017 at 04:31 PM. Reason: Fixed some grammar issures and typos
MrThrall is offline                         Send a private message to MrThrall
Reply With Quote
Reply


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount & Blade TheChosen Gaming Zone 21 22-05-2011 12:16 PM
Mount&Blade RP ianfreddie07 Forum Games 0 21-03-2009 03:56 AM
Mount And Blade TheGiantMidgit Gaming Zone 1 03-05-2005 01:24 PM
How to mount a CD-rom in DOSbox indigoboy Troubleshooting 10 30-03-2005 03:20 PM
How to mount a CD-rom in DOSBox Tom Henrik Troubleshooting Archive 0 25-08-2004 03:56 PM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump
 


The current time is 05:44 PM (GMT)

 
Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.