Page 1 of 1

How to boot a Linux image using virtual box?

Posted: 10. Feb 2009, 15:42
by venkat_k
I am new to Linux. I have downloaded Linux kernel source, compiled and prepared an image. Can i use this image and boot using virtual box? If so, how to do it?

Posted: 12. Feb 2009, 20:54
by chronoboy
VirtualBox is used to Virtualize an entire computer system, and is not really useful when it comes to kernel development.

Here are your solutions:

1. Create a VM in VirtualBox, and install a Linux distro onto it. Replace the stock kernel in this distro with the one you compiled.

2. Use QEMU to boot the Linux kernel image and a ramdisk directly with no need for a virtual hard disk.