Hello,

  After the discussion about Linux 2.4.x, I realized how Linux sucks
(Ugh!). Although I don't like to change GRUB just to cover Linux's
deficiencies, we have to consider how to change it, as Linux is so
important (at least for me). As I imagined before looking into the
source code deeply, it is quite difficult to deal with the Linux's
stupid behavior in the grub shell, because the function biosdisk is
too primitive.

  So, I think it would be much easier to write a separate program for
GRUB installation. The program would only have to support:

1. Embed stage1 (and optionally stage1.5) into the first cylinder of
a disk or into the head of a partition.
2. Rewrite the first two sectors of stage2 to record block-lists.

The only drawback is that it couldn't share its installation code with
stage2, so the maintainability would be worse.

  Once the program is implemented, I'll replace it with the script
grub-install, since there is no reason that we must keep multiple
installation utilities. What do you think?

Okuji

Reply via email to