Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Install in virtual box (and small introduction) [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
motaito
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2014
Posts: 102

PostPosted: Wed May 28, 2014 10:36 pm    Post subject: Install in virtual box (and small introduction) [SOLVED] Reply with quote

Hi guys,

I am quite new to linux in general and gentoo specific. I had a couple of problems with linux. Rather than giving up I decided to go for an arch install since that requires you to do some more work. I figured that I could learn some more about linux and that would help to fix issues. Installing wasn't that much of a problem but I didn't feel like I learned much in the prcess and still would not find good solutions to anything that would come up. I recently figured I might go a bit further down the rabbit hole and try a gentoo install :) My biggest obstace is that I have slight dyslexia. So text comprehension is not exactly my strenght. I guess that's why I could not find the right info about arch issues. Going through the gentoo handbook was also a bit of an issue. In order to understand what was going on, I ended up checking several different tutorials on the web and on youtube. I finally came up with a combination of them and made my own tutorial. It's purpose is not that other people have a proper guide but rather that it helped me to understand something when reading the gentoo handbook. It seams to have work to some extent. The installation part in the gentoo handbook now makes sense to me :) Still for now you can check it out on www.motaito.com. It's the only thing on there. If I ever have the time to make a proper website it might disappear again.

For now I have a running system in virtual box, but nothing on there. I wanted to install xserver and a KDE environment. However, when starting x I get a fatal error. Not sure how to copy the text from virtual box so here is the gist of it. Towards the end of the file it reads:

LoadModule: "vboxvideo"
Warning, couldn't open module vboxvideo
UnloadModule: "vboxvideo"
Unloading vboxvideo
Failed to load module "vboxvideo" (module does not exist, 0)

I get the same thing for
- modestting
- fbdev
- vesa

Finally it reads:
Fatal server error:
no screens found(EE)


In case the xserver version is important, in the beginning of the file it has:
X.org X Server 1.15.0
Release Date: 2013-12-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.12.20-gentoo x86_64 Gentoo


Does anyone have a clue how to fix that and get xserver running in virualbox?
Is it an issue with the kernel configuration or rather a missing driver?

p.s. Sorry if this is a bit of a noob question. I guess you have to start somewhere... If you need further info let me know.

Thanks, for your input.


Last edited by motaito on Thu May 29, 2014 1:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
ttysteale
n00b
n00b


Joined: 25 Aug 2013
Posts: 7

PostPosted: Thu May 29, 2014 7:54 am    Post subject: Reply with quote

Hi motaito,

Welcome to Gentoo, make sure you stick with it, the more you use it, the more fun it becomes :D

The probable issue here is not having the xf86-video-virtualbox package installed (I think that's the right name). Portage will help you in installing this with the VIDEO_CARDS variable you can put in.

To have portage automatically resolve this for you put in your /etc/portage/make.conf file the following 2 variables

VIDEO_CARDS="virtualbox"
INPUT_DEVICES="evdev" (may want to check google but I think evdev works for vbox)

Then reinstall xorg-server - That should automatically pull in the right packages for you. Let me know if that works for you

p.s - when you have everything up and running worth installing http://wiki.gentoo.org/wiki/VirtualBox#Linux_Guests
Back to top
View user's profile Send private message
motaito
Tux's lil' helper
Tux's lil' helper


Joined: 28 May 2014
Posts: 102

PostPosted: Thu May 29, 2014 12:20 pm    Post subject: Install in virtual box (and small introduction) [SOLVED] Reply with quote

Hi ttysteale,

I adjusted the /etc/portage/make.conf to read

VIDEO_CARDS="virtualbox"
INPUT_DEVICES="evdev"

At first it still didn't work then I noticed that I was using
emerge -pv xorg-drivers

which shows me some options but doesn't actually do anything... (Yup, I'm a noob :)) I changed it to:
emerge --ask xorg-drivers

That pulled in the drivers needed. It still wasn't quite working. Xserver would start and immediately close. However, the log file showed that it could not find xterm. That was easy enough. So here is all I added in order to make it work.

- Adjust the /etc/portage/make.conf as you mentioned
- then use these commands:

emerge --ask xorg-drivers
emerge --ask xorg-server
env-update
source /etc/profile
emerge --ask xterm

Now I have x running and can proceed to installing KDE environment.

Thanks a lot for your input!

edit: I added a solved remark in the subject, could not find a mark as solved button
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum