Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge gentoo-sources fails on Virtualbox Windows7-64 Host
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
acidmonkey
n00b
n00b


Joined: 27 Feb 2010
Posts: 39

PostPosted: Thu Feb 02, 2012 9:35 pm    Post subject: emerge gentoo-sources fails on Virtualbox Windows7-64 Host Reply with quote

I am trying to install gentoo on as a guest on virtualbox.

After doing emerge gentoo-sources it downloads it, installs patches, has the image ready in /var/ and then I get the error.
Several portage related messages and "Cannot allocate Memory" at the end
Is there some special things to consider when installing gentoo as a virtualbox guest?
Any more information needed to establish what's wrong?

thanks.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13985

PostPosted: Fri Feb 03, 2012 3:39 am    Post subject: Reply with quote

Please post the exact error message and the preceding context lines.
Back to top
View user's profile Send private message
acidmonkey
n00b
n00b


Joined: 27 Feb 2010
Posts: 39

PostPosted: Fri Feb 03, 2012 5:20 pm    Post subject: Reply with quote

I can give you this screenshot...

http://img859.imageshack.us/img859/6296/clipboard01n.png
Back to top
View user's profile Send private message
reiayanami
n00b
n00b


Joined: 17 Feb 2012
Posts: 1

PostPosted: Fri Feb 17, 2012 1:12 pm    Post subject: Same Here Reply with quote

Same problem here, anyone has a clue ? I'm trying to install Gentoo 64 bits on a virtualbox guest, on a Mac OS X virtualbox setup.
_________________
Old hopes are better than new failures !
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13985

PostPosted: Sat Feb 18, 2012 5:22 am    Post subject: Reply with quote

What is the output of free -m?
Back to top
View user's profile Send private message
acheron2
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jan 2007
Posts: 106

PostPosted: Fri Jun 08, 2012 9:55 pm    Post subject: Reply with quote

I am having the same problem. I install x86 Gentoo to VirtualBox running under Gentoo AMD64, and every time I try to emerge gentoo-sources in a chrooted environment, I get "Failed to install sys-base/gentoo-sources-3.2.12" error. No other errors appear during the installation.

Interestingly, when I tried
Code:

ebuild gentoo-sources-3.2.12 unpack
ebuild gentoo-sources-3.2.12 install
ebuild gentoo-sources-3.2.12 merge

everything installed without errors.

Hu wrote:
What is the output of free -m?


Code:

           total used free shared buffers cached
Mem:         248  245    3      0      20    161
-/+ buffers/cache: 63 184
Swap:       0      0    0


I wanted to write that increasing virtual machine memory size from default 256M to 2G helps, but I was mistaken. It does not.

Update: Somehow it stopped failing after I installed app-portage/gentoolkit.
Back to top
View user's profile Send private message
nkichukov
n00b
n00b


Joined: 16 Oct 2012
Posts: 6
Location: Amstelveen, Netherlands

PostPosted: Tue Oct 16, 2012 1:32 pm    Post subject: Reply with quote

Hi all,
Same here except that I am installing on a laptop with only 256MB of memory. The exact same oom message appears and the installation is terminated.

I am installing linux-3.6.3-pf inside chroot jail.

free -m
total used free shared buffers cached
Mem: 240 126 113 0 81 11
-/+ buffers/cache: 33 206
Swap: 244 53 190


I have installed gentoolkit, but again no luck in installing the kernel. Any pointers are appreciated.

I have removed -pipe from make.conf CFLAGS to make gcc consume less memory.

Thank you!
-Nik
Back to top
View user's profile Send private message
nkichukov
n00b
n00b


Joined: 16 Oct 2012
Posts: 6
Location: Amstelveen, Netherlands

PostPosted: Wed Oct 17, 2012 6:15 am    Post subject: Reply with quote

By allowing more swap all 3 phases went fine. Sorry for the noise.
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