bug-grub
[Top][All Lists]
Advanced

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

Size of stage1


From: Oliver Altmeyer
Subject: Size of stage1
Date: Tue, 20 Jan 2004 13:17:12 +0100 (MET)

Hi,

my name is Oliver Altmeyer, I am a computer science student at Saarland
University in Germany and I'm currently trying to add TCG (former TCPA)
support to GRUB. The goal of this work is to enable an integrity check of
the boot process. 
To enable this, I have to add some additional code to stage1 to call the
Trusted Platform Module chip which allows me to create a hash value of
stage2 and write it into a register on the TPM chip. The problem I'm
facing now is that the size of the modified stage1 is larger than 512
bytes, so it doesn't fit into the boot sector any more.
The current version of the TCG-enhanced GRUB is placed on a floopy disk
which allows me to get rid of the CHS and LBA addressing modes. By this
measure, I have gained enough space for my enhancements. But this solution
is not satisfactory, it is only a temoprary one.
My question is now: Do you know a better solution how I can get space
within stage1 which does not require the exclusion of some important
components?

Thanks a lot
        Oliver





reply via email to

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