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 1QQnz6-0001gQ-R4 for garchives@archives.gentoo.org; Sun, 29 May 2011 21:57:21 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 372D41C078; Sun, 29 May 2011 21:55:55 +0000 (UTC) Received: from mail-ww0-f53.google.com (mail-ww0-f53.google.com [74.125.82.53]) by pigeon.gentoo.org (Postfix) with ESMTP id DD9111C078 for ; Sun, 29 May 2011 21:55:54 +0000 (UTC) Received: by wwj40 with SMTP id 40so3022069wwj.10 for ; Sun, 29 May 2011 14:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:reply-to:to:subject:date:user-agent :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=dLsZDuK6xEY1APi1MjDaXNacc7goNtyqiSrZh41Rces=; b=aMfyRUerXwEYqlHai8nNMRKOXtp/l9beQxcvjmv1N+Q42CaNvGc8XZWjoVyDL5piWt 1yf7QssFkmQ0LI4VFcAqrh2JOjHS26QQMGrkWtdT7G8VVb037JZyOyveiFiqxMirPpzL cStavDUnG8bQs+lDmWrIY3DaAtqaKm4ljBv8g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=Kb010A8ldj9p+8hiyP8oyIrkRwHJt0iTKSbotQRFzQChqwKvKHe5zvNa8xEF5hOHSx wz0ao8Y0MZcRK7KqriDOLbONe1cNQEa0nE0aAM/f7ONUhmpzGbmoCIqfBwezU/Rnsfc9 LHLIsQp2G6y87miSG5Z4HYDv19fC90Y8qJn+g= Received: by 10.216.79.7 with SMTP id h7mr603255wee.105.1306706154118; Sun, 29 May 2011 14:55:54 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id g2sm2157121weg.38.2011.05.29.14.55.52 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 May 2011 14:55:53 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Install issue Date: Sun, 29 May 2011 22:56:20 +0100 User-Agent: KMail/1.13.7 (Linux/2.6.37-gentoo-r4; KDE/4.6.2; x86_64; ; ) References: <201105292257.22071.alan.mckinnon@gmail.com> In-Reply-To: <201105292257.22071.alan.mckinnon@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: multipart/signed; boundary="nextPart42166419.mvnmiQYBQW"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201105292256.31682.michaelkintzios@gmail.com> X-Archives-Salt: X-Archives-Hash: 01aa481772d5413ab19d2ded1672965a --nextPart42166419.mvnmiQYBQW Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Sunday 29 May 2011 21:57:21 Alan McKinnon wrote: > Apparently, though unproven, at 22:35 on Sunday 29 May 2011, Colleen Beam= er >=20 > did opine thusly: > > Hi, > >=20 > > I've been trying to update my gentoo system for a couple of months and > > couldn't seem to resolve block issues. Since it has been a couple of > > years or more since i did a fresh install, I decided to do one. > >=20 > > I followed the handbook - 1st run, I screwed up and missed a step, 2nd > > run, I was careful that I didn't miss anything and I couldn't boot, the > > 3rd time I rechecked everything and the same issue arose. > >=20 > > I am able to get my boot menu, the drivers appear to load - the last one > > being tg3 which is the one that was typically loaded last on my old > > gentoo install. However, after this I get this message: > >=20 > > ERROR: your real /dev is missing files required to boot (console and > > null).. > >=20 > > When I was in the chroot'd environment and after I had done the 'mount > > --rbind /dev ....' command, I checked and there appeared to be a console > > file there. This is just and fyi > >=20 > > Anyway, I did a google search and this was one of the responses: > >=20 > > Some "stage3" archives lack few items (like /dev/console and /dev/null) > > necessary for boot. > > To fix your installation, you need to: > > - mount your gentoo root device in read/write mode (for example to > > /mnt/gentoo) > > - create missing pseudo-files (something like the following): > > mknod /mnt/gentoo/dev/console c 5 1 > > mknod /mnt/gentoo/dev/null c 1 3 > > - unmount your gentoo root device or execute "sync" command > > - reboot > >=20 > > Since I am a "chicken-shit", I am deferring to the more knowledgeable > > people on this list and asking, is this a valid fix or is there a better > > one. >=20 > Google is correct, just do it. All you are doing is making files somewhere > that have special characteristics (i.e. you are not unleashing Armageddon > or looking Medusa in the eye) >=20 > But you looked in the wrong place. null and console must be in /dev on the > root partition *before* mounting /dev, you looked after. The reason it mu= st > be there before is that null and console are needed very early in the boot > process at a point before udev runs. After udev runs it is no longer > relevant as udev will provide those nodes. >=20 > I wonder if you haven't just tripped over a bug in baselayout or recent > stage3's. I just did a new install here but used an old stage3 that was > still baselayout-1. I did not run into the issues you did. What does > b.g.o. say? I'm sure that I've come across the same problem some time in the distant pa= st=20 and had to create these two nodes manually. However, it should be easy to prove if this is a bug or not - look in the=20 stage3 tar file for /dev/console and /dev/null? =2D-=20 Regards, Mick --nextPart42166419.mvnmiQYBQW Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk3iwQ8ACgkQVTDTR3kpaLaO/ACgoCyEQVXFMTMjs9bFnI0uTzPZ VeUAoORN3+huZxHQPQJdv2UCY3evZE+g =z7qP -----END PGP SIGNATURE----- --nextPart42166419.mvnmiQYBQW--