Gentoo Archives: gentoo-user

From: Yohan Pereira <yohan.pereira@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] gentoo on a kvm - can't install kernel sources
Date: Sun, 25 Aug 2013 20:17:52
Message-Id: 20130825201917.GA18156@dethkomp
In Reply to: Re: [gentoo-user] gentoo on a kvm - can't install kernel sources by Alan McKinnon
1 On 25/08/13 at 09:50pm, Alan McKinnon wrote:
2 > I'd recommend cross-building just a kernel and modules locally and
3 > copying that to the vm, it will only be about 6 to 8M
4 >
5 >
6 > Some food for thought:
7 >
8 > I do question the wisdom though of running Gentoo on a VM like that.
9 > I've always found that Gentoo (despite all it's fantastic awesomeness
10 > elsewhere) is really not fitted for that specific task very well - it
11 > tends to be a lot of pain and not much gain.
12 >
13 > Why do you want Gentoo on the vm? Is there a very good reason, or is it
14 > because you are familiar with it?
15 >
16 > If the second reason, you might want to have a look at FreeBSD or one of
17 > the binary distros based of Gentoo like Sabayon. You might find the best
18 > of both worlds in that space.
19
20 Well I have a couple VM's running on 256 mb of RAM. While I'll admit I
21 initially chose gentoo because of familiarity. It seemed to work out fine
22 although I'll admit I've I haven't updated the kernel, just using the
23 kernel provided by the host. AFAIR the heaviest(memory wise) thing I did
24 on such a VM was running a java stock trading application in a virtual
25 screen that was accessed via VNC.
26
27 I've never had problems(yet) compiling gcc etc. I remeber being able to
28 compile faster than my laptop's aging core 2 due processor.
29
30 Currently I use one for my personal a mail server, quassel (irc client), tt-rss,
31 git/mecurial collaboration, development web hosting and other random stuff.
32 It hasn't borked on me yet but YMMV. Heres the output of free from the
33 VM.
34
35 $ free -m
36 total used free shared buffers
37 cached
38 Mem: 246 231 15 0
39 14 157
40 -/+ buffers/cache: 59 187
41 Swap: 494 57 437
42
43 --
44
45 - Yohan Pereira
46
47 The difference between a Miracle and a Fact is exactly the difference
48 between a mermaid and a seal.
49 -- Mark Twain

Replies

Subject Author
Re: [gentoo-user] gentoo on a kvm - can't install kernel sources Michael Mair-Keimberger <m.mairkeimberger@×××××.com>