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 1RBT01-00027w-Ak for garchives@archives.gentoo.org; Wed, 05 Oct 2011 15:03:09 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 810A721C0DE; Wed, 5 Oct 2011 15:02:55 +0000 (UTC) Received: from mail-ey0-f181.google.com (mail-ey0-f181.google.com [209.85.215.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 5BD7021C0DE for ; Wed, 5 Oct 2011 15:01:55 +0000 (UTC) Received: by eyg5 with SMTP id 5so2014465eyg.40 for ; Wed, 05 Oct 2011 08:01:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:organization :x-mailer:mime-version:content-type:content-transfer-encoding; bh=A/H9AJJS5ivdy5gRgsf5+jVPQD8nRFiJ9FlwDQ12Sac=; b=sjw2jpjYOKqy0y9vF58m03sGzMyscM+5ZAkWKAELsXIJ1OY59bOkpL8aLf82B+Sm7U rsnX+Y+Ox5sWLjUYGA/eZipc07+L33WeiCI8NbkMtGA7HW8tVq49US8wzYboYYJWeYWc W2XVwlz7pkCbEcfR0HyNF/L0s6WVMb60IEp/o= Received: by 10.213.19.147 with SMTP id a19mr1245456ebb.79.1317826914454; Wed, 05 Oct 2011 08:01:54 -0700 (PDT) Received: from rohan.example.com ([196.215.144.38]) by mx.google.com with ESMTPS id 69sm1749596eeh.7.2011.10.05.08.01.51 (version=SSLv3 cipher=OTHER); Wed, 05 Oct 2011 08:01:52 -0700 (PDT) Date: Wed, 5 Oct 2011 17:01:46 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Is grub2 stable and who uses it? Message-ID: <20111005170146.57e3147e@rohan.example.com> In-Reply-To: References: <4E8AD6C4.7070901@gmail.com> <20111004110746.395635e0@zaphod.digimed.co.uk> Organization: Internet Solutions X-Mailer: Claws Mail 3.7.8 (GTK+ 2.24.4; x86_64-pc-linux-gnu) 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-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 1d486e59a75a6ba7645b4a5929c16083 On Wed, 5 Oct 2011 14:46:03 +0000 (UTC) Grant Edwards wrote: > > The *installer* portion of grub2 is aware of which pid#0 is running > > when it auto-creates the bootloader's configuration. That pid#0 is > > passed on to the kernel by the bootloader. > > OK. I that I understand. It seems a bit redundant to me: I've been > running Linux since the 0.99 days and never had to pass init= to a > kernel. But, I guess it won't hurt anything. It is indeed redundant and harmless. You no doubt already know the kernel's logic for launching the first userspace app - three paths are hardcoded and searched in sequence, first one found is launched. The third one is /sbin/init It makes for a wonderful prank, add "init=bin/bash" to someone's menu.lst and watch them get confused at next reboot :-) I suppose grub2 could search for and include a redundant init parameter for the sake of consistency with cases where a non-standard init was in use -- Alan McKinnnon alan.mckinnon@gmail.com