From: "Canek Peláez Valdés" <caneko@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Re: Is grub2 stable and who uses it?
Date: Wed, 5 Oct 2011 09:51:24 -0700 [thread overview]
Message-ID: <CADPrc83zi5OsFn4ag-qyhf59fOzJuMBjhYz0=-dD7X-DAdi3og@mail.gmail.com> (raw)
In-Reply-To: <j6hnla$oui$1@dough.gmane.org>
On Wed, Oct 5, 2011 at 6:55 AM, 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 3:14 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 2:24 PM, Grant Edwards <grant.b.edwards@gmail.com> wrote:
>>>>> On 2011-10-04, Canek Pel??ez Vald??s <caneko@gmail.com> 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?
>>
>> No.
>
> 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.
Others explain it too. The GRUB2 bootloader has nothing to do with the
init system, except for passing thi init= command line, and it is not
required that it does.
The GRUB2 userspace, used to generate the config file, can be made
aware of what init system is to be used, making the bootloader to pass
the init= command line to the kernel.
That is all.
Regards.
--
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México
next prev parent reply other threads:[~2011-10-05 16:52 UTC|newest]
Thread overview: 96+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-04 9:49 [gentoo-user] Is grub2 stable and who uses it? Dale
2011-10-04 10:07 ` Neil Bothwick
2011-10-04 10:16 ` Pandu Poluan
2011-10-04 12:56 ` Michael Orlitzky
2011-10-05 16:20 ` ny6p01
2011-10-05 16:47 ` Jonas de Buhr
2011-10-05 23:18 ` Peter Humphrey
2011-10-06 8:12 ` Neil Bothwick
2011-10-06 11:01 ` Alan McKinnon
2011-10-06 13:47 ` Neil Bothwick
2011-10-06 15:17 ` Alan McKinnon
2011-10-06 15:25 ` Michael Mol
2011-10-06 15:35 ` Alan McKinnon
2011-10-06 15:37 ` Neil Bothwick
2011-10-06 16:40 ` Sebastian Beßler
2011-10-07 0:08 ` Peter Humphrey
2011-10-07 0:42 ` Michael Mol
2011-10-07 7:38 ` Alan McKinnon
2011-10-06 8:20 ` [gentoo-user] OT: change and improvement (was: Is grub2 stable and who uses it?) Jonas de Buhr
2011-10-06 19:27 ` [gentoo-user] OT: change and improvement Michael Orlitzky
2011-10-06 19:42 ` Dale
2011-10-06 20:21 ` Mick
2011-10-07 3:19 ` Dale
2011-10-06 21:00 ` Jonas de Buhr
2011-10-06 21:23 ` Michael Orlitzky
2011-10-06 21:30 ` Paul Hartman
2011-10-06 22:33 ` Canek Peláez Valdés
2011-10-06 23:42 ` Jonas de Buhr
2011-10-07 0:55 ` Michael Orlitzky
2011-10-07 7:36 ` Jonas de Buhr
2011-10-07 13:59 ` Michael Orlitzky
2011-10-07 14:46 ` Brennan Shacklett
2011-10-07 15:03 ` Michael Orlitzky
2011-10-07 16:16 ` Jonas de Buhr
2011-10-07 17:02 ` Michael Orlitzky
2011-10-07 19:15 ` [gentoo-user] " Grant Edwards
2011-10-07 8:47 ` [gentoo-user] " Neil Bothwick
2011-10-07 13:43 ` Michael Orlitzky
2011-10-07 14:29 ` Alan Mackenzie
2011-10-07 14:55 ` Michael Orlitzky
2011-10-07 15:18 ` Dale
2011-10-07 15:43 ` Paul Hartman
2011-10-07 1:41 ` [gentoo-user] " Grant Edwards
2011-10-07 1:40 ` Grant Edwards
2011-10-07 3:32 ` Dale
2011-10-07 3:39 ` Michael Mol
2011-10-07 4:42 ` Michael Orlitzky
2011-10-07 5:01 ` Michael Mol
2011-10-07 5:09 ` Canek Peláez Valdés
2011-10-07 19:11 ` Grant Edwards
2011-10-07 19:20 ` Dale
2011-10-04 14:35 ` [gentoo-user] Re: Is grub2 stable and who uses it? Grant Edwards
2011-10-04 14:53 ` Dale
2011-10-04 20:13 ` Alan McKinnon
2011-10-04 20:52 ` Grant Edwards
2011-10-04 21:20 ` walt
2011-10-04 21:26 ` Grant Edwards
2011-10-04 15:08 ` Canek Peláez Valdés
2011-10-04 18:31 ` Grant Edwards
2011-10-04 18:56 ` Canek Peláez Valdés
2011-10-04 20:33 ` pk
2011-10-04 20:50 ` Grant Edwards
2011-10-04 20:53 ` Canek Peláez Valdés
2011-10-04 21:02 ` Grant Edwards
2011-10-04 21:14 ` Canek Peláez Valdés
2011-10-04 21:24 ` Grant Edwards
2011-10-04 21:32 ` Canek Peláez Valdés
2011-10-04 22:14 ` Grant Edwards
2011-10-04 22:21 ` Canek Peláez Valdés
2011-10-05 13:55 ` Grant Edwards
2011-10-05 14:33 ` Pandu Poluan
2011-10-05 14:46 ` Grant Edwards
2011-10-05 15:01 ` Alan McKinnon
2011-10-05 15:29 ` Neil Bothwick
2011-10-05 16:56 ` Canek Peláez Valdés
2011-10-05 18:42 ` Grant Edwards
2011-10-05 19:10 ` Canek Peláez Valdés
2011-10-05 19:33 ` Alan McKinnon
2011-10-05 14:36 ` Sebastian Beßler
2011-10-05 16:51 ` Canek Peláez Valdés [this message]
2011-10-05 6:54 ` Alan McKinnon
2011-10-04 21:33 ` Michael Schreckenbauer
2011-10-04 21:46 ` Canek Peláez Valdés
2011-10-04 22:04 ` Michael Schreckenbauer
2011-10-05 0:09 ` Dale
2011-10-05 3:16 ` Canek Peláez Valdés
2011-10-05 8:26 ` Neil Bothwick
2011-10-04 20:11 ` Alan McKinnon
2011-10-04 20:36 ` Canek Peláez Valdés
2011-10-05 8:31 ` Neil Bothwick
2011-10-04 22:31 ` Neil Bothwick
2011-10-06 12:51 ` Harry Putnam
2011-10-06 13:03 ` Tanstaafl
2011-10-06 13:51 ` Neil Bothwick
2011-10-06 17:48 ` Harry Putnam
2011-10-06 19:15 ` Alan McKinnon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADPrc83zi5OsFn4ag-qyhf59fOzJuMBjhYz0=-dD7X-DAdi3og@mail.gmail.com' \
--to=caneko@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox