Simon Hobson wrote:
Richard Owlett <[email protected]> wrote:

There are three implied restrictions:
  1. the first OS listed on menu shall be the OS on /dev/sda1

Can't help with the rest, but you can set the default entry by copying the 
exact text of the menu entry (in your case, 'Label_sda1') and putting into the 
default entry setting in /etc/default/grub.

Thanks for the try. I was already aware of that mechanism.

Once you do that, as long as you don't make any changes that alter the menu 
entry text, then the default will remain regardless of what OSs etc Gurb finds 
during config build. I have several systems where the default is not the first 
entry.

I have other constraints that give me exactly two choices:
   1. automate *everything*
   2. automate *nothing*

I have a manual system that is complete, correct, and (in a sense) elegant. The three points I made in my post were a minimum specification of completeness and correctness - though quite inelegant.



_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub

Reply via email to