Yoshinori K. Okuji wrote:

At Wed, 28 May 2003 19:19:37 +0400,
Yury Umanets wrote:


check fat_stage1_5 31744
check e2fs_stage1_5 31744
check minix_stage1_5 31744

All these limits are 31744, that is 63 sectors. But we have yet another more strong limit on stage1_5 size. As stage1_5 is loaded to 0x2000 and stage2 is loaded to 0x8000, then we have 0x8000 - 0x2000 = 24576 bytes.



Ah, you are right. I didn't realize it.




And this is not finish yet. As says grub.info, LBA flags is loaded 0x7F00, that is, we have for stage1_5 0x8000 - 0x7F00 = 24320 bytes.
I'm right? Does stage1_5 uses LBA flags?


I have realized, that 24320 bytes is not correct value too. That is because we read data from device by 512 bytes sectors, so the limit should be also rounded by 512. Thus, the right value is the following:

24320 - (24320 % 512) = 24064




Yes, you are right. The flags are used at the startup code of Stage 1.5 and Stage 2.

Okay, thanks.


Thanks, Okuji






--
Yury Umanets
"We're flying high, we're watching the world passes by..."





_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to