bug-grub
[Top][All Lists]
Advanced

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

Re: Stage1_5 size in size_test script...


From: Yury Umanets
Subject: Re: Stage1_5 size in size_test script...
Date: Mon, 09 Jun 2003 00:00:01 +0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030607

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..."







reply via email to

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