How to boot a Linux image using virtual box?

Discussions related to using VirtualBox on Linux hosts.
Post Reply
venkat_k
Posts: 6
Joined: 22. Sep 2008, 07:34

How to boot a Linux image using virtual box?

Post 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?
chronoboy
Posts: 89
Joined: 21. Jul 2008, 07:11
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows
Location: Canada

Post 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.
Post Reply