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 1RBDHC-0005og-AU for garchives@archives.gentoo.org; Tue, 04 Oct 2011 22:15:50 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C95E621C1CA; Tue, 4 Oct 2011 22:15:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CC64021C052 for ; Tue, 4 Oct 2011 22:14:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 512E01B401D for ; Tue, 4 Oct 2011 22:14:48 +0000 (UTC) X-Virus-Scanned: by amavisd-new using ClamAV at gentoo.org X-Spam-Score: -5.396 X-Spam-Level: X-Spam-Status: No, score=-5.396 required=5.5 tests=[AWL=1.203, 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 bfN5DyI7-5r6 for ; Tue, 4 Oct 2011 22:14:41 +0000 (UTC) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by smtp.gentoo.org (Postfix) with ESMTP id 53FA81B4027 for ; Tue, 4 Oct 2011 22:14:38 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RBDG1-00069d-0L for gentoo-user@gentoo.org; Wed, 05 Oct 2011 00:14:37 +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 00:14:36 +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 00:14:36 +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: Tue, 4 Oct 2011 22:14:25 +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: 99ffc06c64000149130c2c2de2eeefa0 On 2011-10-04, Canek Pel??ez Vald??s wrote: > On Tue, Oct 4, 2011 at 2:24 PM, Grant Edwards wrote: >> On 2011-10-04, Canek Pel??ez Vald??s wrote: >> >>> Then any boot loader will need to call something to start it. >>> Understand this: any Linux/Unix init system (systemd, SysV, Upstart, >>> OpenRC) is simply a program... that the Linux kernel itself executes. >> >> I know. ??What I don't understand is the statement that grub2 calls (or >> connects to) the init system. >> >>> That's the init= command line in the kernel. >>> >>> The bootloader calls an operating system. The init system (if at all) >>> that the OS uses doesn't matter: so if you have an operating system, >>> any bootloader should be able to boot it (bearing things like being >>> able to understand the filesystem etc.) >> >> I know how bootloaders like LILO and grub-legacy work. ??What I don't >> understand is the statement that grub2 is somehow aware of the booted >> OS's init system. > > Oh. The configuration file of GRUB2 is autogenerated, and this means > that the init=systemd has to be passed to the kernel line. > > In that sense, GRUB2 is "aware" of it. So to use grub2 you have to replace the normal "init" program that's started by the kernle as PID#1 with something else? -- Grant Edwards grant.b.edwards Yow! Where does it go when at you flush? gmail.com