Forums

Forums (http://www.abandonia.com/vbullet/index.php)
-   Tech Corner (http://www.abandonia.com/vbullet/forumdisplay.php?f=23)
-   -   How to extract a VHD File's contents using 7-ZIP (http://www.abandonia.com/vbullet/showthread.php?t=33852)

MrThrall 30-04-2017 12:22 AM

How to extract a VHD File's contents using 7-ZIP
 
Ok guys, this will be as simple as possible, so if you need help, just message me.

Stuff you will need:
  • a VHD file (Obviously)
  • 7-ZIP (it's free)
  • an external Hard drive (again Obviously)

Skill level: Novice

ok now that we got all that out of the way, let's get started :D

ok so 1st off, get 7-ZIP because it's free and you'll need it. here's the link: http://www.7-zip.org/download.html

https://gohrvw-ch3302.files.1drv.com...&cropmode=none

Once you've installed it, navigate to the VHD file you want to extract and right click it, and select "open with". (i'm using my windows 95 vhd)

https://euhrvw-ch3302.files.1drv.com...&cropmode=none

find and select "7-ZIP File Manager" or "7-ZIP FM". if it's not on the list navigate to "C:\Program Files\7-Zip" and select "7zFM.exe"

https://fphrvw-ch3302.files.1drv.com...&cropmode=none

Once you've done that, 7-ZIP will open showing the contents of the VHD file

https://eehrvw-ch3302.files.1drv.com...&cropmode=none

Then all you have to do is extract the files to the device you want to use (i don't have a hard drive on hand, so I'll just use a directory)

https://fohrvw-ch3302.files.1drv.com...&cropmode=none

https://ephrvw-ch3302.files.1drv.com...&cropmode=none

https://huhrvw-ch3302.files.1drv.com...&cropmode=none

and you're done, all you have to do now is just insert the hard drive into whatever device you want to boot...

Now for some quick notes:
  • If you see this on other forums, don't be alarmed. I will have posted it myself, and that's because not everyone knows about winworld, so i'm just spreading the word to more than one source so everyone can see it and know how to do it.

    also, i've put black boxes (censors) around my name for privacy reasons. if want to get in contact with me either message me in this forum or use my email "cnugent9499@yandex.com"

zirkoni 01-05-2017 06:00 PM

You know Windows has built-in support for mounting vhd disk images, right? You can just right click on the vhd-file, select the first option (in my Finnish Windows 10 it just says "Enable") and you can browse the files like on any normal drive.

Or if you prefer using the command prompt:
Code:

C:\Windows\system32>diskpart

Microsoft DiskPart version 10.0.14393.0

Copyright (C) 1999-2013 Microsoft Corporation.
On computer: ZPC

DISKPART> select vdisk file="C:\Users\zirkoni\VirtualBox VMs\FreeDOS\FreeDOS.vhd"

DiskPart successfully selected the virtual disk file.

DISKPART> attach vdisk

  100 percent completed

DiskPart successfully attached the virtual disk file.

DISKPART>


MrThrall 03-05-2017 06:19 PM

Quote:

Originally Posted by zirkoni (Post 467643)
You know Windows has built-in support for mounting vhd disk images, right? You can just right click on the vhd-file, select the first option (in my Finnish Windows 10 it just says "Enable") and you can browse the files like on any normal drive.

Or if you prefer using the command prompt:
Code:

C:\Windows\system32>diskpart

Microsoft DiskPart version 10.0.14393.0

Copyright (C) 1999-2013 Microsoft Corporation.
On computer: ZPC

DISKPART> select vdisk file="C:\Users\zirkoni\VirtualBox VMs\FreeDOS\FreeDOS.vhd"

DiskPart successfully selected the virtual disk file.

DISKPART> attach vdisk

  100 percent completed

DiskPart successfully attached the virtual disk file.

DISKPART>


you do have a good point there... this is just the method i've always used, so i just went with it. :)

you can also get 7-ZIP on Mac and Ubuntu, so this guide could also be followed using the UNIX paths. :smile2:

can I ask for your permission to make a guide using the diskpart method you mentioned?

zirkoni 03-05-2017 07:02 PM

Quote:

Originally Posted by MrThrall (Post 467664)
can I ask for your permission to make a guide using the diskpart method you mentioned?

No, you can't ask my permission. :mischief:

Kidding, do whatever you like. It's not like I invented this anyway, it's documented somewhere by Microsoft (and others).

MrThrall 08-05-2017 06:23 PM

ok, i appreciate the feedback and a How-to will be coming within the week. :D


The current time is 03:23 PM (GMT)

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