On 06/13/2010 06:51 AM, Neel Mehta wrote:
> Hi.
>
> I have compiled a linux kernel version 2.6.33.5, and wish to boot the
> kernel in virtual box. How do I do it? My vbox version is 3.2.0, and
> host OS is Ubuntu 10.04.
>
> Thanks and Regards,
> Neel Mehta
> Third year Undergraduate student,
> Electrical Engineering,
> IIT Bombay
>
Even though your question doesnot fit this list, I will attempt to
answer it in one posible way (there are others):
First of all, Assuming your VM's existing kernel is a close predecessor
to kernel 2.6.33.5, such as 2.6.30 or even 2.6.31. I really do not
know if you can install 2.6.33 kernel on a system whose existing kernel
is a much older release - say 2.6.2 or 2.6.5. I wonder
if that might create problems for you.
1. If you compiled it from a source rpm, then all you have to do
is place the resulting binary rpm into a shared folder. Once
you boot up your vbox VM, then mount the shared folder, and
sudo rpm -ivh <path-to-the-binary-rpm-package-in-the-shared-folder>
and reboot the VM.
2. If you built it from source tarball, then share the directory in
which you built the kernel with your VM.
Boot your VM, and again mount the shared folder, and cd to the
dir where you built the kernel and
sudo make modules_install install fw_install
Reason why you want to do modules_install first is because
if you do make install before modules_install, the install
script will complain that /lib/modules/2.6.34.5....etc does
not exist. Whereas if you specify modules_install first, it will
create the directory and you will not see any error messages.
This has been my experience.
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community