Hammer bootloader

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Mon Aug 25 09:58:33 PDT 2008


Michael Neumann wrote:
Simon 'corecode' Schubert wrote:
Hey,

seems I have finished hammer bootloader support (currently only boot2,
loader should be easy).  However the problem is that boot2 now exceeds
its size by 580 bytes.  This is a retarded limit, but what can you do.
While probing around I realized that hammer fs can't be installed at
offset 0 in disklabel, could that be?  Where is that documented and who
keeps me from doing that?
Anyways, this boot stuff is big time frustrating because there are so
many constants intertwingled.  I have no idea why my code currently
doesn't boot -- it doesn't even reach boot2's main().
Very cool stuff!

Did you know that a Hammer FS reserves a few megabytes at the beginning
of the storage? You should be able to make use of that if you need more 
storage for the boot loader.
No it does not -- it reserves the storage "somewhere at the beginning", 
but the first sectors are used by the superblock.  Anyways, I think btx 
is the problem, or something close.

cheers
  simon





More information about the Kernel mailing list