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 1RBSkz-0007lx-I9 for garchives@archives.gentoo.org; Wed, 05 Oct 2011 14:47:37 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB3FD21C136; Wed, 5 Oct 2011 14:47:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 1F1FA21C0E5 for ; Wed, 5 Oct 2011 14:46:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id A26361B4035 for ; Wed, 5 Oct 2011 14:46:33 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -5.403 X-Spam-Level: X-Spam-Status: No, score=-5.403 required=5.5 tests=[AWL=1.196, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id elhz1LFpynMP for ; Wed, 5 Oct 2011 14:46:26 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 23E2F1B4013 for ; Wed, 5 Oct 2011 14:46:24 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RBSjg-0003nN-Kl for gentoo-user@gentoo.org; Wed, 05 Oct 2011 16:46:16 +0200 Received: from dsl.comtrol.com ([64.122.56.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Oct 2011 16:46:16 +0200 Received: from grant.b.edwards by dsl.comtrol.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 05 Oct 2011 16:46:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Grant Edwards Subject: [gentoo-user] Re: Is grub2 stable and who uses it? Date: Wed, 5 Oct 2011 14:46:03 +0000 (UTC) Message-ID: References: <4E8AD6C4.7070901@gmail.com> <20111004110746.395635e0@zaphod.digimed.co.uk> 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-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: dsl.comtrol.com User-Agent: slrn/pre0.9.9-102 (Linux) X-Archives-Salt: X-Archives-Hash: ded478b729fa40eceb75a30be672e003 On 2011-10-05, Pandu Poluan wrote: >> I give up. I've absolutely no idea what grub2 has to do with the OS's >> init system, and none of what you've written makes any sense to me. > > I think what he meant was: I assume you mean PID#1 (typically /sbin/init). On Unixes with PID#0, it's usually the swapper or scheduler task that's internal to the kernel. > 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... > The *bootloader* portion of grub2 don't know and don't care what is > being used as pid#0 by the OS. All it knows is that the installer > portion has specified something to be passed to the OS. And that's > what it does, without understanding anything about pid#0. And the set of init scripts that belong to grub2 are just to try to auto-magically generate the config file? -- Grant Edwards grant.b.edwards Yow! They collapsed at ... like nuns in the gmail.com street ... they had no teen appeal!