>>>>> OKUJI Yoshinori writes:
OY> I tested the stage2 emulator, and found a minor bug (that
OY> didn't update the cursor correctly when pushing space key) and an
OY> option is necessary to wait until I attach with a debugger when I
OY> want to debug the start-up code. Here is my patch for these.
Excellent! I'm glad to see that the emulator runs on your machine,
too. I've installed your patches.
OY> Another problem: grub won't load the configuration file,
OY> menu.lst. Investigating the problem with GDB, this seems to be
OY> because install_partition is invalid.
I was aware of this, and should have mentioned this to you
before... it would have saved you some time.
OY> I'm wondering if it's good that the partition where /sbin/grub is
OY> located is used as install_partition, or if it's good that users
OY> can specify it by a command-line option. Which way do you think
OY> is good for it?
I think the user should be able to specify a file or directory, and
then /sbin/grub should determine the partition that the file lives on,
and use it.
Something like:
--config-file=CFG use CFG as the stage2 emulator's configuration file
[default=/boot/grub/menu.lst]
--install-partition=PTN use PTN as the stage2 emulator's install_partition
[default=partition containing CFG]
This is vague, but I hope it gives you good ideas.
--
Gordon Matzigkeit <[EMAIL PROTECTED]> //\ I'm a FIG (http://www.fig.org/)
Committed to freedom and diversity \// I use GNU (http://www.gnu.org/)