컴퓨터/VHD
-
VHD 생성시 Block size / Sector size 변경컴퓨터/VHD 2015. 9. 25. 14:10
1. Hyper-V, Powershell, diskpart 기본생성 2. Powershell Block size / Sector size 변경 가능(win10pro에서는 BlockSizeBytes 128MB적용시 부팅이 안됨?) PS C:\> New-VHD -Path c:\LargeSectorBlockSize.vhdx -BlockSizeBytes 32MB -LogicalSectorSize 4KB -sizeBytes 20GB 3. Powershell VHD 생성후 마운트, 초기화 및 포맷 완료 PS C:\> $vhdpath = "C:\VHDs\Test.vhdx" PS C:\> $vhdsize = 127GB PS C:\> New-VHD -Path $vhdpath -Dynamic -SizeBytes $vhds..
-
PowerShell VHD 명령어컴퓨터/VHD 2015. 9. 16. 18:47
https://technet.microsoft.com/en-us/library/hh848458(v=wps.640).aspx New-VHD PS C:\> New-VHD –Path c:\LargeSectorBlockSize.vhdx –BlockSizeBytes 128MB –LogicalSectorSize 4KB –SizeBytes 1TB Differencing-VHD PS C:\> New-VHD –ParentPath c:\Base.vhdx –Path c:\Diff.vhdx -Differencing Optimize-VHD PS C:\> Optimize-VHD –Path c:\test\dynamic.vhdx –Mode Full Convert-VHD PS C:\> Convert-VHD -Path c:\test\t..