From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-123429-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QRItt-0001hk-FX
	for garchives@archives.gentoo.org; Tue, 31 May 2011 06:58:01 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 459A01C093;
	Tue, 31 May 2011 06:56:37 +0000 (UTC)
Received: from mail-iy0-f181.google.com (mail-iy0-f181.google.com [209.85.210.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id 16DCA1C093
	for <gentoo-user@lists.gentoo.org>; Tue, 31 May 2011 06:56:36 +0000 (UTC)
Received: by iyb26 with SMTP id 26so5797140iyb.40
        for <gentoo-user@lists.gentoo.org>; Mon, 30 May 2011 23:56:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:reply-to:in-reply-to:references
         :date:message-id:subject:from:to:content-type
         :content-transfer-encoding;
        bh=2oidoQkHGtx4xMNfxZJiQUtZ0r6HsNfzB+OA1Sg4kk8=;
        b=v986JC59GfrNRxxooidhOEps22OZUUi4MdQOq+oDlmnSkxsujB5u0TXgu4p3pHpDrx
         rlBUhDAndxwHKlooA0WUALr8zYmsxCGfqWj0b4ZKta9GKI8OQjEvUs9fgekf/Zkz0bqw
         79OEl5GhdWfOdJ//Z+lQrwAuY/mfd4XTVaUg0=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:reply-to:in-reply-to:references:date:message-id
         :subject:from:to:content-type:content-transfer-encoding;
        b=TYpCIQIicdVoIiGSxqd6Iy4yGTYMRvVWMbFJr0R/fLp+/TqB/5NLk12TG+Q6ZJKxTV
         Cx7Jdn2Mf826XiPIRsNztYrHuciYsdG99+iwhgQNAQofZ/Uu4HapfIbyzQJCsCr2zZWS
         N8RUDfeaq9BMocT5p2cDA7Fi7hAU/tgIQoNho=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.42.133.69 with SMTP id g5mr8605537ict.289.1306824996603; Mon,
 30 May 2011 23:56:36 -0700 (PDT)
Received: by 10.42.29.200 with HTTP; Mon, 30 May 2011 23:56:36 -0700 (PDT)
In-Reply-To: <BANLkTi=Zghh39h_xNRpCA9sKtf9siKpUjQ@mail.gmail.com>
References: <is1do3$bdf$1@dough.gmane.org>
	<BANLkTi=Zghh39h_xNRpCA9sKtf9siKpUjQ@mail.gmail.com>
Date: Tue, 31 May 2011 08:56:36 +0200
Message-ID: <BANLkTikCd_Xzyq0ZQ-pj4dyyeyq7ZOetFQ@mail.gmail.com>
Subject: Re: [gentoo-user] Anyone running a gentoo guest on virtualbox?
From: Alan McKinnon <alan.mckinnon@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: 5c3da702b1af1384efc6a7090965ed6b

On Tue, May 31, 2011 at 3:14 AM, Pandu Poluan <pandu@poluan.info> wrote:
> Meh, I clicked 'Send' too fast.
>
> *My* suggested solution:
>
> Generate an initramfs containing udev. The hands-down easiest way is
> using genkernel's 'only create an initramfs' switch (sorry I forgot
> what exactly).

good god no, please, anything but genkernel.

That thing is an attempt to emulate binary distros which require an
initramfs to work properly (for any sane definition of "work") as the
person building the installer has no idea what hardware the user will
have. In Gentoo the user knows exactly what they have so there's no
need for a gigantic hardware-detecting workaround at boot time.

> This needs to be done exactly once throughout the life of your VM.
>
> (To the herd of Gentoo graybeards, feel free to CMIIW)

Or wait a few days for vapier's (posting under his other name of
spanky) sane advice to be implemented. His proposal is the sole voice
of reason in that bug thread....


>
> Another alternative would be to mknod all required devices for
> booting. But, as evidenced in the bug I've linked to earlier, you
> might have to create more than 20 devs. Not a good use of time, if you
> ask me. Except if you're one of the guys doing the bug exorcising :)
>
> Oh, and please forgive my top-postings. Gmail's Java mobile client sucks.
>
> Rgds,
>
>
> On 2011-05-31, walt <w41ter@gmail.com> wrote:
>> In preparation for the upcoming "upgrade" to gnome3, I've installed
>> the latest gentoo snapshot to a new virtualbox machine. =C2=A0(So I can
>> trash my virtual gentoo machine instead of my real gentoo machine :)
>>
>> The virtual install went perfectly AFAICT, except for building a new
>> customized kernel for the gentoo virtualbox machine.
>>
>> Here's what I did to configure my new customized gentoo kernel:
>>
>> I booted the gentoo install iso image in virtualbox and did lspci -k
>> and wrote down all the drivers it displayed.
>>
>> I also booted my virtualbox ubuntu machine and did lspci -k and again
>> wrote down all the listed drivers. =C2=A0(Only one extra driver showed u=
p
>> in ubuntu and I included it in my list of drivers to-be-installed.)
>>
>> I configured my new gentoo custom kernel to use all of the drivers I'd
>> gathered from the steps above, and compiled and installed it without
>> any problems.
>>
>> However, when I reboot the virtual gentoo guest machine with my new
>> customized kernel, the boot hangs forever after discovering devices
>> and mounting the root partition.ro.
>>
>> Obviously I've configured my custom kernel incorrectly, but how?
>>
>> If any of you have virtualbox guest gentoo machines running with a
>> custom kernel, would you please post your guest .config file for my
>> edification?
>>
>> Many thanks!
>>
>>
>>
>
>
> --
> --
> Pandu E Poluan - IT Optimizer
> My website: http://pandu.poluan.info/
>
>



--=20
Alan McKinnon
alan dot mckinnon at gmail dot com