Compartilhar via


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? ?? ??? ?????.

   https://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 ???? ???? ?? ?? ?? ?????.

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

   Tool Download :

   Vista SP1 / Windows Server 2008

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

   Windows 7

   https://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 ? ?????.

   https://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? ?????.

   https://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 ????.

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

   https://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 ?? ??? ? ????.

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

8. Windows Deployment Services

   Windows Deployment Services ? VHD ???? ???? ????? ????? ???? ????.

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

9. Disk2vhd

   Disk2vhd ?? Microsoft Virtual PC ?? Hyper-V virtual machines ?? ??? ? ?? ???? ???? VHD?

   ???? Utility ???.

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

10. Powershell

   Powershell script ? nstall-WindowsImage.ps1 ? ?????.

   https://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:\