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 1RBCeM-0006F4-5G for garchives@archives.gentoo.org; Tue, 04 Oct 2011 21:35:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2714321C1C6; Tue, 4 Oct 2011 21:35:16 +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 285AE21C2CA for ; Tue, 4 Oct 2011 21:32:51 +0000 (UTC) Received: by wwf10 with SMTP id 10so5406041wwf.4 for ; Tue, 04 Oct 2011 14:32:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=qFcucfM1xe+S9s9CvNK0wDURfbq5gOAPO9qYYl1TSCI=; b=VY+lRM03dNtBemqjJf0miKNkdg3/MbRzD35n//6BUwveMnmAwiBRuW1wUYIRmOhLfN Y8L8cM3B9p58a//5ZPms2lIP6+FeGigkZIR7ge+MEtCSRWimc2gBtKzZgVjzTJ+zfDrz /PdzWnA7PqCX04MmrtDhz0F17A54FWUWCTu0w= 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 Received: by 10.216.133.219 with SMTP id q69mr1971495wei.79.1317763971386; Tue, 04 Oct 2011 14:32:51 -0700 (PDT) Received: by 10.216.132.80 with HTTP; Tue, 4 Oct 2011 14:32:51 -0700 (PDT) In-Reply-To: References: <4E8AD6C4.7070901@gmail.com> <20111004110746.395635e0@zaphod.digimed.co.uk> Date: Tue, 4 Oct 2011 14:32:51 -0700 Message-ID: Subject: Re: [gentoo-user] Re: Is grub2 stable and who uses it? From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 81368f0994008a212890074afc536df1 On Tue, Oct 4, 2011 at 2:24 PM, Grant Edwards w= rote: > 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. Oh. The configuration file of GRUB2 is autogenerated, and this means that the init=3Dsystemd has to be passed to the kernel line. In that sense, GRUB2 is "aware" of it. Regards. --=20 Canek Pel=C3=A1ez Vald=C3=A9s Posgrado en Ciencia e Ingenier=C3=ADa de la Computaci=C3=B3n Universidad Nacional Aut=C3=B3noma de M=C3=A9xico