How to make a bootable hard disk image?

Mulyadi Santosa mulyadi.santosa at
Thu Jan 31 00:51:36 EST 2013

On Thu, Jan 31, 2013 at 2:52 AM, horseriver <horserivers at> wrote:
> hi:)
>    I want to boot kernel from hard disk image ,because i am using a virtual machine .
>    How to make this bootable image   ?
>    After I  make it ,how do I put kernel Image into this image?

If you are using qemu or kvm, you don't need to put the kernel inside
the virtual machine image.

Just use -kernel (or possibly -initrd) parameter and pass the path and
file name of your kernel image and you're good to go.


Mulyadi Santosa
Freelance Linux trainer and consultant


More information about the Kernelnewbies mailing list