หน้าแรก | กระดานข่าว |  ปฏิทิน |  ค้นหา |  ติดต่อเรา VMWARE.IN.TH | Largest unofficial VMware Thailand User
หน้า: [1]   ลงล่าง
  พิมพ์  
ผู้เขียน หัวข้อ: How to Open VHD File and Mount VHD File without using Virtual PC  (อ่าน 658 ครั้ง)
vmware.in.th
"วีเอ็มแวร์ อิน ไทย" .. สังคมคน virtualization ออน์ไลน์
Administrator
Hero Member
*****
ออฟไลน์ ออฟไลน์

กระทู้: 1,251


pumpithu@gmail.com
ดูรายละเอียด เว็บไซต์ อีเมล์
มาเปิดไฟล์ .vhd กันดีกว่าาา แต่จะทำอย่างไงลองดูวิธีนี้นะครับ ..​

แหล่งที่มา : http://www.kodyaz.com/tools/how-to-mount-vhd-file-virtual-disk-without-virtual-pc-vpc.aspx

Microsoft Virtual PC (VPC) is a great virtualization tool where IT professionals like administrators, developers, and testers are using a lot.
It is easy to build a virtual pc on your computer without affecting your host system.
On the other hand virtual pc users frequently require to mount vhd file while they used as a virtual disk of your virtual operating system hard disk.
In this short step-by-step tutorial, I will try to demonstrate how to open vhd file and mount vhd file using free tool Gizmo

First let's start by talking about "What is VHD file format"
VHD or Virtual Hard Disk (VHD) Image Format Specification is created and developed by Microsoft for specifying a virtual machine hard disk. Using this VHD file format specification, third party software producers can build virtualization tools reading and writing virtual machine hard disk.

Now let's continue to mount a VHD file using Gizmo tool after a short detailed information about VHD file format.
First of all, you can download free vhd mounting tool from Arainia Solutions web site Gizmo Central v2.7 download pages.

After you restart your computer, Gizmo Manager toolbar will place itself on the system tray.
Open the Gizmo Manager tool, and select the Virtual Drives from the left hand side panel in the http://arainia.com/software/gizmo/download.html

Click on an empty Virtual Drive record in the Virtual Drives tab. Open the context menu on the empty slot and select "Mount Image" menu item to open vhd file.



virtual-disk-mount-image-mount-vhd-file-using-gizmo-free-tool

When the Mount Image dialog wizard is displayed, you can select details like virtual disk vhd file path that you want to mount as a disk drive to your computer disk management.
You can also assign a desired letter for the mounted disk image of the related virtual vhd file.
If you want to map disk as a drive everytime you restart your computer, you can automate mounting or openning vhd file by checking the option "Remount image when Windows starts up".
You have also the option to open vhd file in read-only mode which prevents an accidental loss of data in the virtual vhd disk file.
When you select "Mount image as read-only", you will avoid file deletion in the Virtual PC vhd virtual disk.



virtual-disk-mount-image-disk-drive-mount-vhd-file-gizmo

After you press the OK button the virtual disk mount operation is completed and Gizmo will open Windows Explorer.
On the Windows Explorer, the contents of the virtual disk vhd file contents are displayed.
The virtual disk is mapped using the letter selected as a new disk drive.


virtual-disk-mount-vhd-file-without-vpc

As you see, to mount vhd file and open vhd file with contents readable and even editable is so simple with Gizmo Centra
After you complete download vhd mount tool, where the total download size is approximately 8 MB, run the setup.

Note that before using Gizmo Central mount vhd tool, you should restart your computer.
This requirement for reboot is the only disadvantage of using Gizmo Central as a solution to open vhd files.
บันทึกการเข้า

Freelance implementer Microsoft, Linux System, Data Storage and Virtualization Technology.

Twitter : http://twitter.com/pumpithu
Facebook : http://www.facebook.com/pumpithu
 
cb_ok
Newbie
*
ออฟไลน์ ออฟไลน์

กระทู้: 4


ดูรายละเอียด เว็บไซต์ อีเมล์
มีวิธีทำง่ายๆ มาแบ่งปันกัน สำหรับ Windows Server 2008 หรือ Windows 7

1. copy .vhd ไว้ในเครื่อง 2008  หรือ Windows 7
2. เปิด Command Prompt พิมพ์คำสั่ง diskpart
3. พิมพ์คำสั่ง  select vdisk ระบุ ชื่อไฟล์.vdk
4. พิมพ์คำสั่ง  attach vdisk
5. สลับไปหน้า disk manager  แล้วจะเห็น storage  เพิ่มขึ้นมาแล้ว assign drive letter
« แก้ไขครั้งสุดท้าย: กรกฎาคม 05, 2011, 23:51 โดย cb_ok » บันทึกการเข้า

 
vmware.in.th
"วีเอ็มแวร์ อิน ไทย" .. สังคมคน virtualization ออน์ไลน์
Administrator
Hero Member
*****
ออฟไลน์ ออฟไลน์

กระทู้: 1,251


pumpithu@gmail.com
ดูรายละเอียด เว็บไซต์ อีเมล์
ขอบคุณครับ แบบนี้ก็ทำให้เห็น Data ได้ใช่ไหมครับ แต่ ถ้าจะต้อง on มันต้องลง Microsoft Virtual Server หรือ Hyper-V ใช่ไหมครับ
บันทึกการเข้า

Freelance implementer Microsoft, Linux System, Data Storage and Virtualization Technology.

Twitter : http://twitter.com/pumpithu
Facebook : http://www.facebook.com/pumpithu
 
cb_ok
Newbie
*
ออฟไลน์ ออฟไลน์

กระทู้: 4


ดูรายละเอียด เว็บไซต์ อีเมล์
ที่เจอคำสั่ง เพราะลองเปิดไฟล์ .vhd ที่สร้างมาจาก hyper-v ใน diskpart ด้วยความสงสัย หลายวันมาแล้ว

ตอนที่พิมพ์คำสั่งใน board นี้ทดลองกับ pc Win7ก่อน ผมให้คำสั่งแบบจัดเต็มไปทดลองสร้าง แล้วลองเอาไฟล์นี้ไป attach กับ guest ใน hyper-v ก็ได้ด้วย
ตัวอย่าง ::
เปิดเข้าไปใน diskpart
crea vdis file="c:\a.vhd" maximum=10
sele vdis file="c:\a.vhd"
atta vdis
สลับหน้าจอไป disk manager ที่เป็น gui ก็จะเห็น   (10=10 MB)

การสร้าง vhd แบบนี้สามารถนำไปใช้กับ iSCSI target software ของ Microsoft ได้ด้วยครับ
บันทึกการเข้า

 
cb_ok
Newbie
*
ออฟไลน์ ออฟไลน์

กระทู้: 4


ดูรายละเอียด เว็บไซต์ อีเมล์
คำสั่งนี้ไม่ run บนเครื่องที่ไม่มี  Hyper-V แค่เป็น Win7 ธรรมดาก็ได้ครับ
บันทึกการเข้า

 
vmware.in.th
"วีเอ็มแวร์ อิน ไทย" .. สังคมคน virtualization ออน์ไลน์
Administrator
Hero Member
*****
ออฟไลน์ ออฟไลน์

กระทู้: 1,251


pumpithu@gmail.com
ดูรายละเอียด เว็บไซต์ อีเมล์
อ้อ มันสร้างไฟล์ .VHD เพื่อเอาไปใช้งาน ตอนนี้อยากให้มัน รัน ได้ ไม่งั้นคงต้องลง Hyper-V จริง ๆ ซะแล้วละ ..
บันทึกการเข้า

Freelance implementer Microsoft, Linux System, Data Storage and Virtualization Technology.

Twitter : http://twitter.com/pumpithu
Facebook : http://www.facebook.com/pumpithu
 
cb_ok
Newbie
*
ออฟไลน์ ออฟไลน์

กระทู้: 4


ดูรายละเอียด เว็บไซต์ อีเมล์
เมื่อเรา attach .vhd ก็ใช้งานเหมือน local diskได้เลย write,read,execute ได้ ไม่เกี่ยวกับ hyper-v แต่เอาไปใส่ใน guest ของ hyper-v ได้

เหมือน microsoft  จะสร้างรูปแบบนี้มาตราฐานทั่วๆไปไม่เจาะจงเฉพาะ virtual ครับ

บันทึกการเข้า

 
หน้า: [1]   ขึ้นบน
  พิมพ์  
 
กระโดดไป:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2008, Simple Machines LLC | Thai language by ThaiSMF Valid XHTML 1.0! Valid CSS!