DragonFly kernel List (threaded) for 2008-08
DragonFly BSD
DragonFly kernel List (threaded) for 2008-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Hammer bootloader


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Mon, 25 Aug 2008 17:52:55 +0100

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




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