OKUJI Yoshinori writes:
> From: Mike Meyer <[EMAIL PROTECTED]>
> Subject: default is static
> Date: Wed, 2 Aug 2000 17:46:50 -0500 (CDT)
> > The attached patch makes default look for "active" as an argument, and
> > sets the default to the number of the active partition. While this is
> > very much a hack, it means the BootEasy behavior can be simulate with
> > enough work - at least for my purposes.
> I don't think your approach is right. It makes the flexibility of
> GRUB worse, since partition numbers should be independent of GRUB's
> boot entries. Instead, GRUB should save which entry was selected in
> somewhere else (possibly the second sector of Stage 2).
I'm aware of that problem - that's just one of the reasons I said it
was very much a hack. Storing the actual entry number somewhere would
be a much better solution - but I have no idea where/how (I'd only
been using GRUB for about 2 days at the time).
Given that you've just told me where, I'll look into finding out how
(any pointers would be greatly appreciated). If someone has another
suggestion for where, I'd like to hear that as well.
The argument to "default" should be changed from "active", and a new
command to save the active entry as the default. Say "savedefault" and
"default saved"?
Thanx,
<mike