LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   Custom Kernel on VirtualBox Slackware Guest (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/custom-kernel-on-virtualbox-slackware-guest-784777/)

daidoji 01-26-2010 02:18 AM

Custom Kernel on VirtualBox Slackware Guest
 
Hi,
A longtime Slackware user, one thing I always like to do when starting out is pare down hugesmp kernel to one much more manageable. Over the years I have managed to do so on vanilla hardware and understand what I need in building a custom kernel. However, now I'm running Slackware as a Guest under virtualbox and I'm not really sure how this whole process works. Do I compile in hardware support for the hardware on my physical box or are there "fake" virtualbox connectors that it uses to interact with the host OS? Sun's forums are horrendous and I haven't been able to get a clear answer so far and Google is rendering me nothing, perhaps because I don't know the correct search terms.

Any tips, pointers, FAQs documentation, ect... about compiling custome kernels on a Linux Guest OS would be greatly appriciated.

carltm 01-26-2010 06:07 PM

For some devices you will see the real hardware, for others you'll
see virtual hardware. My suggestion would be to install Slackware
in a vm and then see what modules get loaded. You can also run
lspci and dmidecode to find out about the hardware in the vm.

daidoji 01-26-2010 08:48 PM

Thanks, I'll give that a try. Just wondering if there was anything that wouldn't show up there that I should enable to help/not hurt Virtualization so that it runs faster in the VM. However, your plan is probably the most straightforward.

carltm 01-27-2010 08:00 PM

The only suggestion I have is to install the Guest Additions after
you've installed the OS on the vm. It will install new video and
network drivers and allow the vm to stay time synchronized with
the host system.


All times are GMT -5. The time now is 09:57 AM.