Hello!
Would following ideas be useful/reasonable/acceptable?
1) Replace "hide" and "unhide" with the command "type" which would set
partition ID to any number.
Hide and unhide are not meaningful for many ID's. For example, hiding a
BSD partition makes 0xb5 from 0xa5. I would prefer to switch between 0xa5
and 0xa9 (and maybe 0xa6)
Example:
type (hd0,4) 0x83
2) "d" in the "install" command is very error prone. I think that a simple
rule should be used - hardcode forced drive if installing on different
drives and current drive if installing on the same disk.
I cannot imagine when this rule needs to be violated.
"d" should be ignored.
IMO implementing "setup" doesn't justify dangerous "install"
3) A similar rule should be used for Stage 1.5. The drive number should
only be encoded into Stage 1.5 if Stage 2 is on a different drive. No need
to store two drive numbers in Stage 1.5
4) Also the partition need not be written twice in Stage 1.5. There is
only one pertition that is meaningful for Stage 1.5 - the partition where
Stage 2 resides.
5) The default Stage 2 (not modified by the "install" command) should load
menu.lst from the same directory where it (Stage 2) resides. This may
require some interaction with Stage 1.5
6) Integrate IsaPNP into GRUB. Many OS'es and BIOS'es can only set the
default values for IsaPNP devices, which is not always desirable. Running
isapnp from the OS won't help if the drivers are already failed to detect
the card.
Example:
isapnp (hd0,4)/etc/isapnp.conf
7) bzip2 decompression
Pavel Roskin