From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7D2A71381F3 for ; Sun, 25 Aug 2013 21:51:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B53A3E0C76; Sun, 25 Aug 2013 21:51:08 +0000 (UTC) Received: from mail-we0-f175.google.com (mail-we0-f175.google.com [74.125.82.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6F8F6E0C39 for ; Sun, 25 Aug 2013 21:51:07 +0000 (UTC) Received: by mail-we0-f175.google.com with SMTP id n5so2125489wev.20 for ; Sun, 25 Aug 2013 14:51:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=UJNcWlFBpvSz+Oopey9OmOqxgA+lHf+bd8pAlN/bIVQ=; b=mLKcnyKJWDHyq3G2GMppAGzNDeI0RVDNMlnUTsLel/EViqpFzXZ6f79zJYNJaQRSmy s5/RP4kaJwCfCfHFYhU/O8uih7j3kYD1z84Kyp4UucsnfnCG8yjC5PuSAUsgVl0sDjqm E8rB+ATTh5+KAqwQiQCfisf9cim1AJUJTx/JXvdh7HxO8uDUaR3HJ1xE5qTEsqlb8g3b 9GgADR4ooDjMRMz037rGXee8EfCD5lTA2u1Igo2ZNisn9eBUxWduddbbU2mpbk95w0zS VBKS0dHZkD7UAnxix/vKoF/ncsoMwnZir9TRVY6nq/WbfHqUOdMYPzib5dOBem1fzXZJ /Kvw== X-Received: by 10.194.77.167 with SMTP id t7mr7462947wjw.27.1377467466032; Sun, 25 Aug 2013 14:51:06 -0700 (PDT) Received: from [172.20.0.41] (196-210-126-75.dynamic.isadsl.co.za. [196.210.126.75]) by mx.google.com with ESMTPSA id ei6sm13852588wid.11.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 25 Aug 2013 14:51:05 -0700 (PDT) Message-ID: <521A7B78.4000102@gmail.com> Date: Sun, 25 Aug 2013 23:47:36 +0200 From: Alan McKinnon User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130809 Thunderbird/17.0.8 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] gentoo on a kvm - can't install kernel sources References: <1753073.v6jMLBITqg@asterix> <521A5FEC.6000308@gmail.com> <20130825201917.GA18156@dethkomp> <2774396.Lfju1neXaL@asterix> In-Reply-To: <2774396.Lfju1neXaL@asterix> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: e0e961e4-71c0-4b2b-beec-09c57637d7d1 X-Archives-Hash: 7adf2e2480adf2fdabfea0b8d89353d0 On 25/08/2013 23:33, Michael Mair-Keimberger wrote: > > > On Monday 26 August 2013 01:49:17 Yohan Pereira wrote: > >> On 25/08/13 at 09:50pm, Alan McKinnon wrote: > >> > I'd recommend cross-building just a kernel and modules locally and > >> > copying that to the vm, it will only be about 6 to 8M > >> > > >> > > >> > Some food for thought: > >> > > >> > I do question the wisdom though of running Gentoo on a VM like that. > >> > I've always found that Gentoo (despite all it's fantastic awesomeness > >> > elsewhere) is really not fitted for that specific task very well - it > >> > tends to be a lot of pain and not much gain. > >> > > >> > Why do you want Gentoo on the vm? Is there a very good reason, or is it > >> > because you are familiar with it? > >> > > >> > If the second reason, you might want to have a look at FreeBSD or one of > >> > the binary distros based of Gentoo like Sabayon. You might find the best > >> > of both worlds in that space. > >> > >> Well I have a couple VM's running on 256 mb of RAM. While I'll admit I > >> initially chose gentoo because of familiarity. It seemed to work out fine > >> although I'll admit I've I haven't updated the kernel, just using the > >> kernel provided by the host. AFAIR the heaviest(memory wise) thing I did > >> on such a VM was running a java stock trading application in a virtual > >> screen that was accessed via VNC. > >> > >> I've never had problems(yet) compiling gcc etc. I remeber being able to > >> compile faster than my laptop's aging core 2 due processor. > >> > >> Currently I use one for my personal a mail server, quassel (irc client), > >> tt-rss, git/mecurial collaboration, development web hosting and other > >> random stuff. It hasn't borked on me yet but YMMV. Heres the output of > free > >> from the VM. > >> > >> $ free -m > >> total used free shared buffers > >> cached > >> Mem: 246 231 15 0 > >> 14 157 > >> -/+ buffers/cache: 59 187 > >> Swap: 494 57 437 > > > > Well, familiarity was my main reason but actually i though gentoo fits > anyway quite good on such weak systems? (well besides compiling on it) > You get a small system which needs not much space and performs quite > good. (thats why 5GB is actually enough for me - i don't store anything > there). > > FreeBSD might be a good alternative and in case gentoo is to much pain > i'll give it a try. :) > > > > BTW, i have an alix device at home which also has just 256MB Ram and > while the CF-Card (where the gentoo system is stored) has 8GB now, i've > started with an 4GB CF-Card and i did compile on this device - even > (hardened)kernels :) > > That was ~3 years ago, now i cross-compile for this device. However, > gentoo on such devices runs perfectly well and rock stable. :) If it works for you then it works :-) -- Alan McKinnon alan.mckinnon@gmail.com