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 ) id 1Qbf36-00086j-Pa for garchives@archives.gentoo.org; Tue, 28 Jun 2011 20:38:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60EE51C0B4 for ; Tue, 28 Jun 2011 20:38:20 +0000 (UTC) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.216.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 5D5A31C100 for ; Tue, 28 Jun 2011 19:38:05 +0000 (UTC) Received: by qyk9 with SMTP id 9so318031qyk.19 for ; Tue, 28 Jun 2011 12:38:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=PJbCroGGdpkR1mY10LjUmaK0Rq58X+z2Dnf/x1hhtHo=; b=EPKq0OGr3SAtuFGcKQDvcs4ByyQ3auRCAEVZVgi8E8nHnUkGMqz5b3rQRZHyH7crdF qau8DMbXpyuqZJwOOfzzlInXlIopjwTp3J42ypy0R1a+Sglrbk2E3p2/cESP5BwwN3/V NTkSFVGs02jt9dsuS5Y0tCkfTCeNtqT9unLXY= 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 Received: by 10.224.195.198 with SMTP id ed6mr6458220qab.228.1309289884686; Tue, 28 Jun 2011 12:38:04 -0700 (PDT) Received: by 10.224.61.14 with HTTP; Tue, 28 Jun 2011 12:38:04 -0700 (PDT) In-Reply-To: References: <87aad8avnj.fsf@newsguy.com> <871uyjb6xy.fsf@newsguy.com> <87wrgaakv8.fsf@newsguy.com> <87sjqyaeta.fsf_-_@newsguy.com> <87oc1mach1.fsf@newsguy.com> <87fwmxa9dy.fsf@newsguy.com> <877h89a1kv.fsf@newsguy.com> <8739ix9zyz.fsf@newsguy.com> <87pqm08yln.fsf@newsguy.com> <87hb7cwien.fsf@newsguy.com> <87y60nuzpm.fsf@newsguy.com> Date: Tue, 28 Jun 2011 12:38:04 -0700 Message-ID: Subject: Re: [gentoo-user] Re: WAS [.. min install isos] gentoo vm guest not booting From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 30eb01421d53266ca9c617f67a0029b2 On Mon, Jun 27, 2011 at 9:09 AM, Mark Knecht wrote: > As a follow-up to your problems, and because I'm just plain interested > in this /dev/null,console question, I decided to create a completely > new Gentoo VM myself from scratch this morning. I'm going FAR more > slowly than usual as, like you, I need to get other things done. Also > that I'd like to understand what the tarball does actually provide, > and also when everything in /dev really comes together correctly. (If > indeed it does come together correctly.) > > I'll post back how it's going. My first observation is that the stage3 > tarball only provides /dev/null as a normal file and nothing else. I > would guess that this is incorrect as I would think that if the normal > file is there then the special file won't get created later. =C2=A0I've > never studied how the /dev directory gets created so this will be a > learning experience for me. > > As for having to get some work done, I completely understand. Just > don't give up on us here in Gentoo land, be we real OR virtual... > > Cheers, > Mark > Harry, I got a few minutes this morning to finish the new Virtualbox VM test install of Gentoo. It worked fine for me. If you need any info about this let me know. Here's the main points, the biggest being the use of DEVTMPFS in the kernel. If you want the actual kernel config file get in touch off list. Cheers, Mark Notes: 1) I chose the PCNET-OCI II NIC and set it as bridged. 4 processors, 2GB me= mory 2) /etc/fstab: tux-test ~ # cat /etc/fstab /dev/sda1 /boot ext2 noauto,noatime 1 2 /dev/sda3 / ext3 noatime 0 1 /dev/sda2 none swap sw 0 0 /dev/cdrom /mnt/cdrom auto noauto,ro 0 0 tux-test ~ # 3) I added DEVTMPFS to the kernel config to get around the missing /dev stuff in the current tarballs: tux-test ~ # cat /usr/src/linux/.config | grep CONFIG_DEVTMPFS CONFIG_DEVTMPFS=3Dy CONFIG_DEVTMPFS_MOUNT=3Dy tux-test ~ # 4) Interestingly, it boots even though I didn't add udev to sysinit: tux-test ~ # rc-update show | sort fsck | boot mtab | boot root | boot sshd | default swap | boot devfs | sysinit dmesg | sysinit local | default net.lo | boot procfs | boot sysctl | boot hwclock | boot keymaps | boot modules | boot urandom | boot bootmisc | boot hostname | boot mount-ro | shutdown net.eth0 | default netmount | default killprocs | shutdown savecache | shutdown syslog-ng | default localmount | boot vixie-cron | default termencoding | boot udev-postmount | default tux-test ~ # 5) World file: tux-test ~ # cat /var/lib/portage/world app-admin/logrotate app-admin/syslog-ng app-portage/eix sys-apps/mlocate sys-apps/pciutils sys-boot/grub-static sys-kernel/gentoo-sources sys-process/vixie-cron tux-test ~ # 6) /etc/make.conf file which I stole from another machine. Some USE flags do not make sense in this context but they didn't hurt the build. tux-test ~ # cat /etc/make.conf CFLAGS=3D"-O2 -march=3Dnative -pipe" CXXFLAGS=3D"${CFLAGS}" CHOST=3D"x86_64-pc-linux-gnu" USE=3D"gstreamer jpeg2k ssse3 vdpau xvmc -bluetooth -cups -ipv6" MAKEOPTS=3D"-j9" GENTOO_MIRRORS=3D"http://gentoo.osuosl.org/ " SYNC=3D"rsync://rsync.namerica.gentoo.org/gentoo-portage" EMERGE_DEFAULT_OPTS=3D"--with-bdeps y" INPUT_DEVICES=3D"evdev" VIDEO_CARDS=3D"virtualbox" ALSA_CARDS=3D"hda-intel" LINGUAS=3D"en" ACCEPT_LICENSE=3D"dlj-1.1 PUEL AdobeFlash-10.1 skype-eula" tux-test ~ #