From: lsorense@csclub.uwaterloo.ca (Lennart Sorensen)
To: The development of GNU GRUB <grub-devel@gnu.org>
Cc: rmh@gnu.org
Subject: Re: future of grub commands setup and install ?
Date: Fri, 10 Sep 2010 10:17:42 -0400 [thread overview]
Message-ID: <20100910141742.GQ2632@caffeine.csclub.uwaterloo.ca> (raw)
In-Reply-To: <COL109-W249AB66129C3295EEE2DA5FF740@phx.gbl>
On Fri, Sep 10, 2010 at 09:46:53AM +0200, lode leroy wrote:
> I think it would be helpful if a command existed to install grub from grub,
> given a directory /boot/grub/ already present, i.e. Write boot sector+stage1
> to the disk. It may be easy to copy files onto the filesystem, but not-so-easy
> to create a working native grub.
grub2 doesn't have a stage1. It creates one after examining the system
it is running on to determine which modules have to be used to create
the stage1.
Of course it also needs to understand how much space there is for this
stage1 file, which means understanding filesystems or at least partition
layout specifics.
Also, should it be generating an efi, or pc-bios, or ieee-* image?
With grub1 it was simple. There was one stage1, and a certain set of
stage1.5 files (one per supported filesystem) and a stage2. That was it.
nothing modular, nothing to assemble. If you take all the modules for
grub2, you end up with a 1MB+ stage1 file, which you can't embed in
one track.
--
Len Sorensen
next prev parent reply other threads:[~2010-09-10 14:17 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-10 7:46 future of grub commands setup and install ? lode leroy
2010-09-10 11:22 ` Robert Millan
2010-09-10 15:01 ` Treutwein Bernhard
2010-09-10 14:17 ` Lennart Sorensen [this message]
2010-09-10 14:27 ` Colin Watson
-- strict thread matches above, loose matches on Subject: below --
2010-09-08 22:46 LiveCD bootloader Teresa e Junior
2010-09-09 7:53 ` future of grub commands setup and install ? Treutwein Bernhard
2010-09-09 12:14 ` Robert Millan
2010-09-10 6:28 ` Vladimir 'φ-coder/phcoder' Serbinenko
2010-09-10 6:38 ` Treutwein Bernhard
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=20100910141742.GQ2632@caffeine.csclub.uwaterloo.ca \
--to=lsorense@csclub.uwaterloo.ca \
--cc=grub-devel@gnu.org \
--cc=rmh@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).