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 1RBLNv-0007VY-2Y for garchives@archives.gentoo.org; Wed, 05 Oct 2011 06:55:19 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DF42E21C12D; Wed, 5 Oct 2011 06:55:08 +0000 (UTC) Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41]) by pigeon.gentoo.org (Postfix) with ESMTP id BD52821C037 for ; Wed, 5 Oct 2011 06:54:16 +0000 (UTC) Received: by wwf10 with SMTP id 10so5814878wwf.4 for ; Tue, 04 Oct 2011 23:54:16 -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=glFrM7v1LxUtvVh29ixtChagquNxztXkZ/4FURJarfY=; b=GG9yIgu0ZLaA5NgnWjP84BCzyDpIy9vLWjhVx+H5ilEcBP6WDVC27fE97OWWiNfHh3 tuL5fkMXkYAXVsHN5t+hQBgsRaldQDhmUI5sNMvVZKsOy9ZF/Tttmhe6RE+GRP0AwCtQ SFnJy0A7FvTGQAa72fBWZWsU9pXzSl0NO57Hc= Received: by 10.227.10.139 with SMTP id p11mr2632764wbp.61.1317797655959; Tue, 04 Oct 2011 23:54:15 -0700 (PDT) Received: from rohan.example.com ([196.215.144.38]) by mx.google.com with ESMTPS id i29sm1063548wbp.22.2011.10.04.23.54.13 (version=SSLv3 cipher=OTHER); Tue, 04 Oct 2011 23:54:14 -0700 (PDT) Date: Wed, 5 Oct 2011 08:54:10 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Is grub2 stable and who uses it? Message-ID: <20111005085410.138c890a@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=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 92948021fca2ceb59fe7d004bcc7b058 On Tue, 4 Oct 2011 14:32:51 -0700 Canek Pel=C3=A1ez Vald=C3=A9s 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. =C2=A0What I don't understand is the statement that grub2 calls > > (or connects to) the init system. > > > >> That's the init=3D 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. =C2=A0What I don= 't > > understand is the statement that grub2 is somehow aware of the > > booted OS's init system. >=20 > Oh. The configuration file of GRUB2 is autogenerated, and this means > that the init=3Dsystemd has to be passed to the kernel line. >=20 > In that sense, GRUB2 is "aware" of it. Possibly what you meant to say is that grub2 is not aware of the OS but the grub2 installer does. Like grub and lilo before it, the installer is a Linux app; and can figure out the correct kernel parameters to use by examining the file system --=20 Alan McKinnnon alan.mckinnon@gmail.com