从emmc启动

背景

锐角云作为hyper-V server,将hyper-V安装至emmc(因为没配ssd)。但hyper-V server 在安装至emmc后,无法从emmc启动。退而求其次选择 server core

方法

主要参考 https://gist.github.com/PatrickLang/820aa9e8c60654da051c139fb245fae8
与原帖的区别在于:注意copy 所有sd作为驱动,从server 2019 datacenter (desktop)提取

配置 server core

  1. # 配置server
  2. sconfig.cmd
  3. # 更换productkey 注意与网上的区别是 ServerDataCenterCor
  4. Dism /online /Set-Edition:ServerDataCenterCor /AcceptEula /ProductKey:WMDGN-G9PQG-XVVXX-R3X43-63DFG
  5. # 后续kms激活即可,不行的化就kms38

https://social.technet.microsoft.com/Forums/ie/en-US/1a845281-fb9a-4390-b781-37327cd41b47/convert-windows-2019-serverstandardevalcor-to-serverstandard?forum=ws2019

下载文件

$ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest "https://github.com/dotnet/corefx/archive/master.zip" -OutFile "D:\temp\master.zip"