Configuring Gentoo Kernel for VMware Player – Automatic Configuration

Written: 11/10/13

Last Updated: 11/16/13

This techtorial is the third option of the fifth article in my installing Gentoo in VMware Player series. This article covers how to automatically configuring the kernel, via genkernel, for a Gentoo build inside of VMware Player and follows chapter seven of the Gentoo handbook. If you would like to manually configure the kernel, please refer to either the basic or optimized kernel configuration techtorials. If you are just now coming to this series, start with my first article.

Using genkernel is by far the easiest approach for building the Gentoo kernel. That being said, it takes a lot of fun out of the process. To fully experience a Gentoo installation, you should go through the process of manually building the kernel. It is not as scary as everyone says it is.

Anyway, I digress, start off with emerging genkernel.

emerge genkernel

Gentoo - Kernel Automatic Configuration - 1

Now all you have to do is tell genkernel to build the kernel and wait for it to finish. This process will take quite some time, so please be patient.

genkernel all

Gentoo - Kernel Automatic Configuration - 2

That is all there is to it. Your kernel should now be successfully built. My next article, once finished will cover how to configure your system (chapter 8 and 9 of the Gentoo Handbook).

Discussion (8)

There are 8 responses to “Configuring Gentoo Kernel for VMware Player – Automatic Configuration”.

  1. WCB responded:

    · Reply

    Late to the game here, but did you ever write the next article? I’ve made it this far and can try to transition to the handbook, but find your process so much more accessible, informative, and — ah — less intimidating. 😉

    • I’m glad it’s been helpful, thus far! I intended to finish the series, but have had numerous life circumstances put me behind. The handbook has been updated, since I wrote this, to a new format, but it should still be easy enough to transition to. The most difficult parts have already been covered, so hopefully you can make it through! If you get stuck, let me know and I will try to help 🙂

  2. evi responded:

    · Reply

    Me too – I have just entered this tutorial, and i found your method very usefull and clear. do you have any indication on when the next installement chapter 8 & 9 will be posted ?

    • I do want to finish this series, but I can’t give a good estimate at this time. I just got married and I am trying to finish up my MS thesis. It will be sometime after that, so I will hopefully be able to resume this in March ’16. I have the VM saved, so in theory it should be as easy as firing up VMware Player and continuing.

      I realize that this is a while from now, so I recommend trying to finish up with the handbook. If you do get stuck, please let me know, and I will try to help.

  3. max_pizda responded:

    · Reply

    how can i boot this installation directly in the virtualmachine?

    • If I understand you correctly, you are looking for a VM image that you can download? If so, I apologize for any confusion. This is a guide to help you create your own VM, not a repo for downloading one.

      If; however, you are wondering what to do next, please follow the directions in the Gentoo Handbook. If you were following my series from the beginning, you should be able to finish. The rest of the steps that I would write follow the recommendations from the handbook. The only thing different that I planned to discuss were various desktops (e.g. KDE, Gnome, etc…), as the current state leaves you with just a terminal.

  4. Hi, you said the next part of the article would be out in March 2016 and it is June. Did you ever get around to making the next part? Sorry, I just really like this article and how step-by-step it is so I can just get this done quickly and get to the more important part of my project, the developing.

    • I’m glad you have been enjoying this series. My thesis work ended up taking longer than expected – I just finished things up a couple of week ago. I still intend to finish this series (I really don’t like leaving things incomplete!). I’m planning to pick this up again soon.

Leave a Reply