grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: future of grub commands setup and install ?


From: Lennart Sorensen
Subject: Re: future of grub commands setup and install ?
Date: Fri, 10 Sep 2010 10:17:42 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]