View previous topic :: View next topic |
Author |
Message |
Rob-i-di-bob n00b
Joined: 21 May 2024 Posts: 2
|
Posted: Tue May 21, 2024 1:01 am Post subject: Kernel Configuration Virtualbox |
|
|
After a few goes and lots of referring to the Gentoo Handbook (AMD64) I have been able to get Gentoo to boot in a Virtualbox Guest (running on a Linux Mint Host). I basically get a login prompt. Yeehaa!!
During this first installation I ignored the Virtualbox settings as mentioned here: https://wiki.gentoo.org/wiki/VirtualBox#Gentoo_guests.
Although I have used Linux for several years I have never ventured under the hood to play with Kernel stuff. Despite reading the section in the Handbook on Kernel Configuration I'm still a little lost as to how I now need to configure the Kernel to accomodate the Virtualbox Kernel requirements as documented here: https://wiki.gentoo.org/wiki/VirtualBox#Gentoo_guests.
Any guidance or suggestions on how to go about this would be muchly appreciated.
Robert |
|
Back to top |
|
|
Taigo Tux's lil' helper
Joined: 09 Nov 2022 Posts: 105 Location: the Netherlands
|
Posted: Tue May 21, 2024 8:56 am Post subject: Re: Kernel Configuration Virtualbox |
|
|
Rob-i-di-bob wrote: | After a few goes and lots of referring to the Gentoo Handbook (AMD64) I have been able to get Gentoo to boot in a Virtualbox Guest (running on a Linux Mint Host). I basically get a login prompt. Yeehaa!!
During this first installation I ignored the Virtualbox settings as mentioned here: https://wiki.gentoo.org/wiki/VirtualBox#Gentoo_guests.
Although I have used Linux for several years I have never ventured under the hood to play with Kernel stuff. Despite reading the section in the Handbook on Kernel Configuration I'm still a little lost as to how I now need to configure the Kernel to accomodate the Virtualbox Kernel requirements as documented here: https://wiki.gentoo.org/wiki/VirtualBox#Gentoo_guests.
Any guidance or suggestions on how to go about this would be muchly appreciated.
Robert |
Your kernel needs to be configured how you want it (which is obivously why it is a thing) and you include evertyhing you need. But there are a lot of options in the kernel configuration that can be set but from what i know the defaults are minimaly functional mostly. I don't think it differs much on a VM. There is a manual kernel configuration page in the installation handbook too.
(Of course you can use a binary kernel or genkernel but what is the fun in that) |
|
Back to top |
|
|
Rob-i-di-bob n00b
Joined: 21 May 2024 Posts: 2
|
Posted: Tue May 21, 2024 9:38 am Post subject: Re: Kernel Configuration Virtualbox |
|
|
Taigo wrote: | Rob-i-di-bob wrote: | After a few goes and lots of referring to the Gentoo Handbook (AMD64) I have been able to get Gentoo to boot in a Virtualbox Guest (running on a Linux Mint Host). I basically get a login prompt. Yeehaa!!
During this first installation I ignored the Virtualbox settings as mentioned here: https://wiki.gentoo.org/wiki/VirtualBox#Gentoo_guests.
Although I have used Linux for several years I have never ventured under the hood to play with Kernel stuff. Despite reading the section in the Handbook on Kernel Configuration I'm still a little lost as to how I now need to configure the Kernel to accomodate the Virtualbox Kernel requirements as documented here: https://wiki.gentoo.org/wiki/VirtualBox#Gentoo_guests.
Any guidance or suggestions on how to go about this would be muchly appreciated.
Robert |
Your kernel needs to be configured how you want it (which is obivously why it is a thing) and you include evertyhing you need. But there are a lot of options in the kernel configuration that can be set but from what i know the defaults are minimaly functional mostly. I don't think it differs much on a VM. There is a manual kernel configuration page in the installation handbook too.
(Of course you can use a binary kernel or genkernel but what is the fun in that) |
I did some more reading and was able to sort things out.
Loving the Gentoo learning curve to teach me more about Linux under the hood.
Have decided to have a go at a manual build. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54577 Location: 56N 3W
|
Posted: Tue May 21, 2024 10:10 am Post subject: |
|
|
Rob-i-di-bob,
There is noting special about a guest is a virtual machine.
The virtualiser, whatever it is, exposes some virtual/fake hardware to the guest and you configure the guest kernel to suit.
Some of the knobs on the virtualiser affect the virtual/fake hardware shown to the guest, so take care changing those settings after the kernel build.
It's exactly like changing real hardware for a bare metal install.
-- edit --
For completeness, if you have control of the host and guest kernels you way be able to set up virtio devices.
That needs support in both places.
If the guest must run unmodified, then you are fared to use the virtual/fake hardware.
The virtual/fake hardware is faster than the real hardware it pretends to be too. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|