Reputation: 2094
I want to make a qcow2 image of Linux Kernel 4.1.1. I found the following to convert .img image
qemu-img convert -f raw -O qcow2 kernel.img kernel.qcow2
But how to get kernel.img file. I have tried making kernel 4.1.1,but it only produced a bzimage inside arch/x86/boot directory
I am new to linux image building and all... thank you for your time
Upvotes: 1
Views: 2396
Reputation: 311
I think your question is a little mislead because I see that you're trying to use the kernel image as a hard disk image and it won't work that way. However I also understand that you want to test the kernel 4.1.1 on qemu and as I see it you have 2 choices:
Qemu is a great project but the documentation is dispersed all over the internet so maybe for every step you'll have to make some searches. Maybe you can help to make better documentation like creating a tutorial on the wikibook4 "my first virtual machine" or something.
Upvotes: 1