bug-grub
[Top][All Lists]
Advanced

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

Re: Details on blocklist in stage2/stage1_5


From: Yoshinori K. Okuji
Subject: Re: Details on blocklist in stage2/stage1_5
Date: Fri, 21 Jun 2002 10:04:38 +0900
User-agent: Wanderlust/2.8.1 (Something) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryƍmae) APEL/10.3 Emacs/21.2 (i386-debian-linux-gnu) MULE/5.0 (SAKAKI)

At Thu, 20 Jun 2002 10:51:04 -0600,
Jason Ivey wrote:
> Back to my original question, I think I understand what I needed to know
> about the block lists from looking at the install source.  Okuji, aren't
> the values in the run lists calculated at install time and not compile
> time?

Ah, you are right. I thought only about the first image but not about
modified images after installation. Sorry.

The last two bytes are a segment which is used to load sectors to
memory. The segment of the first entry is always 0x820 for Stage 2 and
0x220 for Stage 1.5. Each segment of the rest entries is calculated by
(the previous segment) + ((the previous number of sectors) >> 4). The
memory regions used are consecutive, so that information is considered
to be redundant, but it is used for convenience. See the function
"install_func" in the file "stage2/builtins.c", for more details.

Okuji



reply via email to

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