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 <gentoo-user+bounces-129327-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1RBCpZ-0008VS-8H
	for garchives@archives.gentoo.org; Tue, 04 Oct 2011 21:47:17 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A332621C203;
	Tue,  4 Oct 2011 21:47:08 +0000 (UTC)
Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181])
	by pigeon.gentoo.org (Postfix) with ESMTP id 1AF5AE06BE
	for <gentoo-user@lists.gentoo.org>; Tue,  4 Oct 2011 21:46:07 +0000 (UTC)
Received: by wyf19 with SMTP id 19so1286826wyf.40
        for <gentoo-user@lists.gentoo.org>; Tue, 04 Oct 2011 14:46:07 -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=ZdeNAD3UaPmOtUdduruop7hyrcwF6i9ujKfg6tXPyww=;
        b=f+NnSj8l6ZkvaCOZPkJ5f0pwbMkFOhYlGZo3WNy8yKadVnBmgFsDR6BIOjVuTeLfVj
         uuY//NQIa4NpfmWe7BJ/Gy2Rok4gVdZylYDDXdbiaPT7f5EL+MiVG5Kdc6F2LQv+gSeb
         qEqu0mWt/etkG8unPk1kTOw6EUxS+H+qbDLUM=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.216.9.201 with SMTP id 51mr1945908wet.94.1317764767090; Tue,
 04 Oct 2011 14:46:07 -0700 (PDT)
Received: by 10.216.132.80 with HTTP; Tue, 4 Oct 2011 14:46:07 -0700 (PDT)
In-Reply-To: <15152608.IZfVaM36bk@pc>
References: <4E8AD6C4.7070901@gmail.com>
	<j6fs96$2pd$1@dough.gmane.org>
	<CADPrc82Fc5bsupp1F5DA_oVau9=1QfEV1AauadrCT-DVfkCqBQ@mail.gmail.com>
	<15152608.IZfVaM36bk@pc>
Date: Tue, 4 Oct 2011 14:46:07 -0700
Message-ID: <CADPrc80BMzqZH5Em8sk2Lmsfb-fHSE3YJc8-Kj9k8e4wMebnAA@mail.gmail.com>
Subject: Re: [gentoo-user] Re: Is grub2 stable and who uses it?
From: =?UTF-8?B?Q2FuZWsgUGVsw6FleiBWYWxkw6lz?= <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: 9ad243c206a99f37acc7906fd233e2e7

On Tue, Oct 4, 2011 at 2:33 PM, Michael Schreckenbauer <grimlog@gmx.de> wro=
te:
> On Tuesday, 4. October 2011 14:14:24 Canek Pel=C3=A1ez Vald=C3=A9s wrote:
>> On Tue, Oct 4, 2011 at 2:02 PM, Grant Edwards <grant.b.edwards@gmail.com=
>
> wrote:
>> > On 2011-10-04, Canek Pel??ez Vald??s <caneko@gmail.com> wrote:
>> >> On Tue, Oct 4, 2011 at 1:50 PM, Grant Edwards <grant.b.edwards@gmail.=
com>
> wrote:
>> >>> On 2011-10-04, Canek Pel??ez Vald??s <caneko@gmail.com> wrote:
>> >>>>>> That it's not true. It connects to whatever init system do you
>> >>>>>> have
>> >>>>>> (OpenRC, SysV, systemd, Upstart),
>> >>>>>
>> >>>>> I'm curious: what if you don't have one? ??I use grub-legacy to
>> >>>>> boot
>> >>>>> stuff other than Unix.
>> >>>>
>> >>>> When I said "it connects", I mean "calls". The same way it calls
>> >>>> whatever thingy Window uses.
>> >>>
>> >>> Right. ??And what about non-windows, non-Unix systems that don't
>> >>> have
>> >>> any thingy to call?
>> >>
>> >> Then you don't have an operating system.
>> >
>> > Yes, I do.
>>
>> 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.
>> That's the init=3D command line in the kernel.
>
> Correct, the *kernel* executes it.
>
> Quoted from an earlier mail in this thread:
>
> "That it's not true. It connects to whatever init system do you have
> (OpenRC, SysV, systemd, Upstart)"
>
> The kernel executes the initsystem, the initsystem takes care of the rest=
.
> Care to explain, why grub2 needs to connect to (or call) the initsystem?

It connects via the kernel via init=3D, as always. Maybe not the best
choice of words, but the important thing is that the statement about
GRUB2 having its "own init system and it's own set of init scripts" is
false. I noted the "connection" between the bootloader and the init
system (via the init=3D command line) to emphasize that GRUB2 has not
its own init system. Nor init scripts.

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