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 E4CE81381F3 for ; Sun, 25 Aug 2013 20:17:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46F3DE0C10; Sun, 25 Aug 2013 20:17:40 +0000 (UTC) Received: from mail-pd0-f172.google.com (mail-pd0-f172.google.com [209.85.192.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 25F97E0B23 for ; Sun, 25 Aug 2013 20:17:38 +0000 (UTC) Received: by mail-pd0-f172.google.com with SMTP id z10so2638134pdj.31 for ; Sun, 25 Aug 2013 13:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=vNQVUAOU4XOoqmPNKkv6BDmdK41WLDJJgLvrTmr8Djk=; b=XA9zhNG75TlBd3GhKj2LXt0C+rJO5d1u3PLs0eg0DU/fA+CTHs6NlUka+oeZWWJGih Q+himGZK6X974PiQsa9/ahDYbcODYu768eUr5qkRMbjzkc6NFWFg4tq11+SwZn4lstqO h/m3Kvxrw8/MCCfXoMUHNn1f7XxbaMtGoHavJcFSBUJIY+ee2BtT2rXiPUOpXCuCwhuT vmDOmPcVd+CV4uP6wFBz0AyorU9PXUq+dcs5QLZWzFcMECf1qWq21YooxeTMBj0aRED0 OLlEGjsyAC23xlvXx3tBKapaqhY1NnJm9ljSTjc4Xa9IBBM4aNXGw/O0lEn1EG8WlUuL VoyQ== X-Received: by 10.68.241.198 with SMTP id wk6mr11507397pbc.122.1377461858034; Sun, 25 Aug 2013 13:17:38 -0700 (PDT) Received: from localhost (triband-mum-59.182.20.166.mtnl.net.in. [59.182.20.166]) by mx.google.com with ESMTPSA id w6sm13513697pbt.32.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 25 Aug 2013 13:17:37 -0700 (PDT) Date: Mon, 26 Aug 2013 01:49:17 +0530 From: Yohan Pereira To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] gentoo on a kvm - can't install kernel sources Message-ID: <20130825201917.GA18156@dethkomp> References: <1753073.v6jMLBITqg@asterix> <521A2F6B.5050603@gmail.com> <2077307.k2HumuzRxI@asterix> <521A5FEC.6000308@gmail.com> 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 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <521A5FEC.6000308@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Archives-Salt: 60930e1f-d903-49d7-a553-7b94befe5262 X-Archives-Hash: e865f23595f0b1e60016be2f699631cd 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 -- - Yohan Pereira The difference between a Miracle and a Fact is exactly the difference between a mermaid and a seal. -- Mark Twain