Welcome to TechNet Blogs Sign in | Join | Help

Escape From The Troubles

한국 마이크로소프트 플랫폼팀 블로그
VHD (Virtual Hard Disk)를 생성하고 설정하는데 사용하는 툴

 

VHD (Virtual Hard Disk)를 생성하고 설정하는 등의 작업 및 관련된 작업들을 수행하는데 사용할 수 있는 Tools 에 대해 정리해 보았습니다.

 

1. Diskpart

   Diskpart 는 별도로 제공되기도 하며, Windows 7/2008R2 에 포함되어, 아래와 같은 VHD 작업들을 지원합니다.

-       Create vdisk : 새로운 VHD 생성합니다. 이것은 빈 VHD 파일로 만들 수도 있고 기존 VHD로부터의 이미지를 포함할 수 있습니다.

-       Attach vdisk : VHD 를 연결시키고 드라이브 문자를 할당합니다.

-       Detach vdisk : VHD를 분리시킵니다.

-       Compact vdisk : VHD의 크기를 주립니다. VHD 내의 파일들을 삭제할 경우라도 이 파일 크기는 자동으로 줄어들지 않습니다.

-       Expand vdisk : VHD 에서 사용 가능한 최대 크기를 확장합니다.

-       Merge vdisk : Child disk Parent disk 와 병합합니다.

-       Detail vdisk : VHD에 대한 정보를 표시합니다.

   http://technet.microsoft.com/en-us/library/cc766465(WS.10).aspx

 

2. 디스크 관리자 콘솔

   - Create VHD : 새로운 VHD 생성합니다. 이것은 빈 VHD 파일로 만들 수도 있고 기존 VHD로부터의 이미지를 포함할 수 있습니다.

   - Attach VHD : VHD 를 연결시키고 드라이브 문자를 할당합니다.

   - Detach VHD : VHD를 분리시킵니다.

  

3. ImageX

   ImageX 는 파일 기반의 디스크 이미지를 Capture, Modify 등의 작업에 사용할 수 있는 Command-line 툴로서,

   Windows image (.wim) 파일 또는 Windows 설치, Windows Deployment Service, SMS Operating System Feature

   Deployment pack 과 같은 .wim 이미지를 사용하는 기술 등과 같이 사용됩니다.

   http://technet.microsoft.com/en-us/library/dd744298(WS.10).aspx

 

   Tool Download :

   Vista SP1 / Windows Server 2008

   http://www.microsoft.com/downloads/details.aspx?familyid=94BB6E34-D890-4932-81A5-5B50C657DE08&displaylang=en

   Windows 7

   http://www.microsoft.com/downloads/details.aspx?familyid=696DD665-9F76-4177-A811-39C26D3B3B34&displaylang=en

 

4. Sysprep

   System Preparation (Sysprep) 은 여러 대의 컴퓨터에 Windows OS를 구현하는 것을 필요로 하는 시스템 관리자, OEMs,

   또는 그 밖의 사람들을 위해 디자인된 툴입니다. 새로운 단일 OS를 설치 후 Sysprep 툴을 실행함으로서 해당 OS상의

   사용자와 컴퓨터의 특정 정보를 삭제하여  다른 컴퓨터들에 클론(Clone)을 만들어 마이그레이션할 수 있도록 합니다.

   만약 P2V 또는 V2P 를 이용한 물리적인 컴퓨터 사이의 VHD 기반의 OS 를 마이그레이션하고자 한다면, 생성된 이미지에서

   Sysprep 을 실행합니다.

   http://technet.microsoft.com/en-us/library/dd744263(WS.10).aspx

 

5. BCDBoot

   BCDBoot 는 새로운 BCD stores BCD boot entires 를 생성하고 관리하는데 사용하는 Command-line 툴입니다.

   만약 VHD로부터 부팅하도록 컴퓨터를 설정하려면, BCDBoot 를 사용하여 새로운 BCD boot entry를 생성합니다.

   http://technet.microsoft.com/en-us/library/dd744347(WS.10).aspx

 

6. Deployment Image Servicing and Management Tool (DISM)

   Deployment Image Servicing and Management Tool (DISM) 은 오프라인 Windows 이미지, 오프라인 Windows PE

   이미지, 그리고 VHD 이미지에 Windows features, packages, drivers, 기타 설정들을 설치, 제거, 설정 및 업데이트 등

   배포 전에 서비스하는데 사용할 수 있는 Command-line 툴입니다.

   http://www.microsoft.com/downloads/details.aspx?familyid=886cd1dd-91aa-4bf4-8557-decedef7fa5d&displaylang=en

   http://technet.microsoft.com/en-us/library/dd744256(WS.10).aspx

 

7. Hyper-V 관리자

   Hyper-V관리자는 VHD 이미지 생성을 지원하며, VHD 의 형식, 크기 등을 지정할 수 있습니다. Hyper-V Hyper-V

   Role 이 설치된 Windows Server 2008/2008 R2 에서 사용할 수 있습니다.

   http://technet.microsoft.com/en-us/library/dd446676(WS.10).aspx

 

8. Windows Deployment Services

   Windows Deployment Services VHD 이미지를 물리적인 컴퓨터상에 구현하는데 사용되는 툴입니다.

   http://technet.microsoft.com/en-us/library/dd363560(WS.10).aspx

 

9. Disk2vhd

   Disk2vhd 툴은 Microsoft Virtual PC 또는 Hyper-V virtual machines 에서 사용할 수 있는 물리적인 디스크의 VHD

   생성하는 Utility 입니다.

   http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx

 

10. Powershell

   Powershell script nstall-WindowsImage.ps1 를 사용합니다.

   http://code.msdn.microsoft.com/InstallWindowsImage/Release/ProjectReleases.aspx?ReleaseId=2662

 

   Example)

   PS > help .\Install-WindowsImage.ps1 detailed

 

   NAME

       Install-WindowsImage.ps1

   

   SYNOPSIS

       Lists or applies Windows Images in .WIM containers.

   

   SYNTAX

       C:\Vhd\Install-WindowsImage.ps1 -WIM <String> [<CommonParameters>]

       C:\Vhd\Install-WindowsImage.ps1 -WIM <String> -Apply -Index <Int32> -Destination <String> [<CommonParameters>]

   

   DESCRIPTION

     

   PARAMETERS

       -WIM <String>

           Specifies the .WIM file to examine and/or apply images from.

       

       -Apply [<SwitchParameter>]

           Specifies that the specified image index should be applied to the specified Destination.

       

       -Index <Int32>

           Specifies the image index of the Windows Image to apply to the specified Destination.

       

       -Destination <String>

           The drive or folder to apply the specified Windows Image to.

       

       <CommonParameters>

           This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,

           WarningVariable, OutBuffer and OutVariable. For more information, type, "get-help about_commonparameters".

   

       -------------------------- EXAMPLE 1 --------------------------

   

       C:\PS>This example will list the available images in the D:\Sources\Install.wim container.

   

       .\Install-WindowsImage.ps1 -WIM D:\Sources\Install.wim

  

       -------------------------- EXAMPLE 2 --------------------------

   

       C:\PS>This example will apply image number 8 from D:\Sources\Install.wim to X:\.

   

       .\Install-WindowsImage.ps1 -WIM D:\Sources\Install.wim -Apply -Index 8 -Destination X:\

Posted: Tuesday, October 13, 2009 3:44 AM by escapetrouble

Comments

No Comments

Anonymous comments are disabled
Page view tracker