[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grub-install
From: |
P |
Subject: |
Re: grub-install |
Date: |
Mon, 25 Jul 2005 11:26:39 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040124 |
Yoshinori K. Okuji wrote:
On Monday 25 July 2005 04:04, Hollis Blanchard wrote:
Is there a reason not to add all modules all the time?
I should have written more info in English. This is documented well, but only
in Japanese.
There are several reasons. In the context of i386-pc:
- The size problem. We must keep the core image at least 31KB, so that we can
embed it into the space right after the MBR. This is the most important
reason. Very specific to i386-pc. I have no idea if other architectures have
similar restrictions, but probably they do.
In case others don't know the reason for "31KB":
As can be seen in the attached common linux disk layout diagram,
the optional DOS compatability region used by stage 1.5 is added by
default by most partition managers, and is there so that partitions
start on a cylinder boundry. Therefore its size is determined by the
number of sectors (512 bytes) per cylinder. The maximum sectors per
cylinder is 64, and so the largest size available for grub's stage 1.5
is 63 * 512, or 32256 bytes.
Pádraig.

grub.dia
Description: application/dia-diagram
- grub-install, Yoshinori K. Okuji, 2005/07/24
- Re: grub-install, Hollis Blanchard, 2005/07/24
- Re: grub-install, Hollis Blanchard, 2005/07/25
- Re: grub-install, Marco Gerards, 2005/07/25
- Re: grub-install, Yoshinori K. Okuji, 2005/07/25
- Re: grub-install, Vincent Pelletier, 2005/07/26
- Re: grub-install, Yoshinori K. Okuji, 2005/07/26
- Re: grub-install, Vincent Pelletier, 2005/07/26
Re: grub-install, Marco Gerards, 2005/07/25