New Question
0

no boot of Nano server

asked 2016-02-09 12:59:45 +0300

Carl gravatar image

Hi all

First thanks for the well done procedure Hyper-C Lab setup.

Everything went fine until the Windows 2016 setup. It hangs all the time into Grub... For normal Windows 2016, I could launch it manually in Grub via setting up correct boot.efi But for nano it's just impossible as the disk partitions are not seen by Grub. Any ideas?

Many thanks Carlos

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2016-02-09 17:40:54 +0300

avladu gravatar image

updated 2016-02-15 04:03:22 +0300

Hello Carlos,

In order to generate the Windows 2016 image for UEFI, you need to use the DiskLayout parameter:

New-MAASImage -WimFilePath $wimFilePath -ImageName $image.ImageName -MAASImagePath $targetPath -SizeBytes 20GB -Memory 2GB -CpuCores 2 -DiskLayout "UEFI"

Similar for the Windows Nano Server image generation:

.\NewNanoServerImage.ps1 -IsoPath $isoPath -TargetPath $targetPath -AdministratorPassword $password -Platform BareMetal -Compute -Storage -Clustering -MaxSize 1500MB -AddCloudbaseInit -AddMAASHooks -DiskLayout "UEFI"

Moreover, here is more information on how you can patch the grub2 in MAAS, if you are using Hyper-V Generation 2 VMs as MAAS nodes.:

http://wiki.cloudbase.it/maas
http://wiki.cloudbase.it/hyperv-uefi-grub

A full video tutorial of Hyper-C where Hyper-V Generation 2 VMs are used(with UEFI) can be found here: https://www.youtube.com/watch?v=jgApG...

Adrian.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2016-02-09 12:59:45 +0300

Seen: 417 times

Last updated: Feb 15 '16