public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alan McKinnon <alan.mckinnon@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 08:54:10 +0200	[thread overview]
Message-ID: <20111005085410.138c890a@rohan.example.com> (raw)
In-Reply-To: <CADPrc80XxAA6++P7nat3Nj2pT6tK63=umC+N39pAstYDUe0JoQ@mail.gmail.com>

On Tue, 4 Oct 2011 14:32:51 -0700
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.

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


-- 
Alan McKinnnon
alan.mckinnon@gmail.com



  parent reply	other threads:[~2011-10-05  6:55 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
2011-10-05  6:54                       ` Alan McKinnon [this message]
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=20111005085410.138c890a@rohan.example.com \
    --to=alan.mckinnon@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