New e2fsprogs

Bruce Dubbs bruce.dubbs at gmail.com
Wed Aug 26 15:27:56 PDT 2009


Matthew Burgess wrote:
> On Wed, 26 Aug 2009 16:34:31 -0500, Bruce Dubbs <bruce.dubbs at gmail.com> wrote:
>> The latest version of e2fsprogs now passes all tests on LFS-6.5-64.
> 
> Good news!  Out of interest, which boot loader are you using on your 64-bit
> machine?

The host, ubuntu, installed grub-0.97.  I didn't feel I needed to change that. 
However, I did move it off to a separate partition so all instances can access 
the same /boot.

The boot loader is not linked to any libraries.  The interface to it does use 
libraries, but that shouldn't make any difference.   What you fundamentally have is:

stage1
<fs>_stage1_5
stage2

None of these are dynamic.  stage1 is 512 bytes long and only determines which 
stage1_5 to load, loads it, and then runs it.  The 1_5 stage knows enough about 
the fs to read a file into memory.  stage2 provides the user interface upon boot.

 From a 64 bit system, we'd need to use cross compile techniques for these files 
so they don't try to use 64-bit addresses.  The /usr/sbin/grub file needs to be 
able to run using 64-bits, but it just manipulates the files above and the 32 or 
64 bit instructions shouldn't make any difference.

Now this is all theoretical.  I know others have tried and it doesn't work. 
It's too bad they try to do too much with grub2.

   -- Bruce



More information about the lfs-dev mailing list