All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Millan <rmh@aybabtu.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Some ideas about new features of grub
Date: Sat, 11 Jul 2009 20:27:08 +0200	[thread overview]
Message-ID: <20090711182708.GA18506@thorin> (raw)
In-Reply-To: <ca0f59980907102353n68fbad0fta5575b9a421ae4af@mail.gmail.com>

On Sat, Jul 11, 2009 at 02:53:13PM +0800, Bean wrote:
> On Sat, Jul 11, 2009 at 5:27 AM, BandiPat<magicpage91@earthlink.net> wrote:
> > Actually Zenwalk provides os-prober as well.  The gentleman that provides
> > the installer of our Grub2 uses os-prober to detect all OS's installed, so
> > they may be added to the original grub.cfg.  Works very well, although not
> > perfect, but we are pretty pleased with the results thus far.
> >
> > We also do not have to run any of the Grub2 programs after installing new
> > kernels.  The developer of our installer patched Grub2 for Zenwalk, so that
> > no changes were necessary after kernel updates.  He tried to offer this to
> > you guys as well earlier, but got little response, so we use it for Zenwalk
> > exclusively at the moment.
> 
> Hi,
> 
> IIRC, os-prober is a collection of shell script to detect os, but grub
> already have them in util/grub.d.

They have a different purpose.  The other grub.d scripts are targeted at
generating the _native_ boot setup.  os-prober is meant for the rest.

Our own scripts for native boot setup are more robust than the os-prober
approach.  For example, they can determine if Linux will support UUIDs
by checking for /dev/by-uuid nodes, etc.

> Another problem is the drive number. It's impossible to decide bios
> drive number from inside linux, so we can't insert the correct
> drivemap command required to boot DOS/Windows from secondary drive.
> This information must be gathered at boot time.

This is not a problem anymore.  grub-mkconfig uses UUIDs in its default
setup, and avoids hardcoding BIOS drive numbers.  In the very weird
situations in which this is not possible, it aborts install rather than
hardcoding a drive number.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."



  parent reply	other threads:[~2009-07-11 18:27 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-02  8:48 Some ideas about new features of grub Bean
2009-07-02 17:51 ` Pavel Roskin
2009-07-02 18:38   ` Duboucher Thomas
2009-07-02 20:44     ` Pavel Roskin
2009-07-02 19:38   ` Vladimir 'phcoder' Serbinenko
2009-07-02 21:23     ` Pavel Roskin
2009-07-02 21:37       ` Vladimir 'phcoder' Serbinenko
2009-07-04  4:57         ` Pavel Roskin
2009-07-31  8:18   ` Marco Gerards
2009-07-04 20:18 ` Robert Millan
2009-07-05  3:13   ` Bean
2009-07-07 18:39     ` Robert Millan
2009-07-08  6:19       ` Pavel Roskin
2009-07-10 17:11         ` Robert Millan
2009-07-10 21:27           ` BandiPat
2009-07-11  6:53             ` Bean
2009-07-11 16:20               ` Michal Suchanek
2009-07-11 18:32                 ` Colin Watson
2009-07-11 18:55                   ` Robert Millan
2009-07-11 18:33                 ` Felix Zielcke
2009-07-11 18:27               ` Robert Millan [this message]
2009-07-12 13:40               ` Pavel Roskin
2009-08-23 12:55 ` Robert Millan
2009-08-23 12:56 ` Robert Millan
2009-08-23 15:22   ` adrian15
2009-08-23 16:58     ` Vladimir 'phcoder' Serbinenko
2009-08-23 23:02       ` Robert Millan
2009-09-11 21:48   ` Pavel Roskin

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=20090711182708.GA18506@thorin \
    --to=rmh@aybabtu.com \
    --cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.