[yocto] Loading a Yocto kernel on Hyper-V hangs
Ang, Chin Huat
chin.huat.ang at intel.com
Tue Aug 6 02:06:30 PDT 2019
On master, using genericx86-64 machine with linux-yocto kernel I also see grub booted into a blank screen when none of the Hyper-V kernel configs are enabled.
I couldn’t find any Hyper-V kernel config fragments in yocto-kernel-cache or meta-virtualization, so I googled for “hyper-v kernel config” and used a trick [1] to apply the necessary kernel configs to get both core-image-minimal and core-image-sato boot up properly.
[1] https://wiki.yoctoproject.org/wiki/TipsAndTricks/QuickAndDirtyKernelConfig
--Chin Huat
From: yocto-bounces at yoctoproject.org <yocto-bounces at yoctoproject.org> On Behalf Of Yair Itzhaki
Sent: Monday, August 5, 2019 11:41 PM
To: yocto at yoctoproject.org
Subject: [yocto] Loading a Yocto kernel on Hyper-V hangs
Hi ,
I'm using Poky (Warrior).
Built a Plain Vanilla system for bare-metal x64, and put it on a hard-drive.
The system boots well on an Intel MB.
Then, added a WIC image target, and converted the disk iamge (using qemu-img) into a VMDK.
The image boots well (Grub prompt, followed by kernel loading) on a Windows VmWare (though I had to add some kernel features to make the root FS available).
Next, I converted the same image to VHDX using qemu-img.
Configured a HyperV Gen2 machine (to use UEFI). Security is turned off.
Grub2 loads well:
I get a Grub prompt, select the kernel – but once selected - the system hangs.
Tried on different Windows machine (Win10, Server 2016)
When replacing the kernel with a stock Ubuntu kernel – the kernel loads well.
Tried other (pre-built) kernels from http://downloads.yoctoproject.org/releases/yocto/yocto-x.y/.... – same odd behavior: Grub loads, kernel does not load.
Tried a different compression (other than gzip) – same.
Any idea?
Thanks,
Yair
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190806/04350856/attachment-0001.html>
More information about the yocto
mailing list