From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-148373-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 995941381F3 for <garchives@archives.gentoo.org>; Mon, 1 Jul 2013 22:59:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AF871E0A87; Mon, 1 Jul 2013 22:59:10 +0000 (UTC) Received: from mail-we0-f173.google.com (mail-we0-f173.google.com [74.125.82.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 543ADE09CD for <gentoo-user@lists.gentoo.org>; Mon, 1 Jul 2013 22:59:09 +0000 (UTC) Received: by mail-we0-f173.google.com with SMTP id x54so3751687wes.4 for <gentoo-user@lists.gentoo.org>; Mon, 01 Jul 2013 15:59:08 -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=8+lGIPc+3l92z+D0XXhsmueNJHTYFeRANbyMuZXs8Es=; b=Dk+QRaI7AdcB2pEFuW1cGg32ZUtJm7dF/EbAMzs6rKQBLcy2wkaj7CuTKAOWjv41j3 Wqoamx3+LnxlKLQusRvWvpcIlq2DJ2i53lHZU4B7yaAvcgzjzNbqhiCTa1AHetP1n3p7 klT8C2LxsDi/GPt4hcoJi2hpqLKLI9Bs14glOHXb3eB28w1AxrJh+OtR3PrqR+s44Dmw CWDQaprWt4k7qAUPM5smWgYHhnJ/T4DMdWDmHplGCUTGtde/3dEHazA2nzw97ypRuSUB uniOSpE4t6CHxbRnJ2EiZQg8ld7Cgschmn5uQT6O9Q4sEr062+VR7PbFQ06Aq4MdBqVx /q8A== X-Received: by 10.180.89.101 with SMTP id bn5mr13449888wib.45.1372719547964; Mon, 01 Jul 2013 15:59:07 -0700 (PDT) Received: from [172.20.0.41] (196-210-126-108.dynamic.isadsl.co.za. [196.210.126.108]) by mx.google.com with ESMTPSA id b20sm19377252wiw.4.2013.07.01.15.59.05 for <gentoo-user@lists.gentoo.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 01 Jul 2013 15:59:07 -0700 (PDT) Message-ID: <51D2094C.7010209@gmail.com> Date: Tue, 02 Jul 2013 00:57:16 +0200 From: Alan McKinnon <alan.mckinnon@gmail.com> User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130701 Thunderbird/17.0.7 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Can't find init due to inconsistent drive order References: <kqstnb$n0l$1@ger.gmane.org> In-Reply-To: <kqstnb$n0l$1@ger.gmane.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 1bc2ac0e-3578-4af1-aa9d-db0daf7a85a1 X-Archives-Hash: 0fc71e9d0b385d2e90126be71d6ef604 On 01/07/2013 23:52, Grant Edwards wrote: > I've just recently run into a problem where sometimes when a machine > boots, the kernel can't find init. This appears to be because my grub > configuration line says "root=/dev/sda5" and _sometimes_ the drive > that contains my root partition is sdb instead of sda. AFAICT, for the > past 30 years the linux kernel was 100% consistent in the order that > hard drives were labelled -- but recently that has seems to have > changed. > > I use partition labels in my fstab, so that's not a problem, but after > all these years, the kernel still doesn't know how to grok parition > labels. > > Are we really expected now to set up an initrd just so that the kernel > can find the root partition?? > Where have you been for the past 6 months? Did you miss the entire clusterfuck debate about latest udev tricks? Those names depend only on the order in which devices are discovered, and that process has always been indeterminate. udev used to get in the middle and rename things in an arbitrary but defined order, it no longer does this. We discussed this whole subject *to death* over the last many months -- Alan McKinnon alan.mckinnon@gmail.com