开发者

How to test a small kernel in a VM?

开发者 https://www.devze.com 2023-01-11 00:17 出处:网络
Say I developed 开发者_JS百科a small kernel and I wanted to try it out in a VM. If I have the kernel image, how would I get it into a VM in VirtualBox, for example? More importantly, how do I get a b

Say I developed 开发者_JS百科a small kernel and I wanted to try it out in a VM.

If I have the kernel image, how would I get it into a VM in VirtualBox, for example? More importantly, how do I get a bootloader like Grub installed into the VM?


I think the easiest way might be to install some version of Linux, and then edit your grub config files to add in your own kernel, Add it as another boot option.

0

精彩评论

暂无评论...
验证码 换一张
取 消