grub-set-default ... get-default?
I understand grub-set-default but I was wondering how can I find the current default - the equivalent of the missing grub-get-default to tell me what was the default when I booted. I have two partitions and would like to be able to change the default to "the other" in a script. I could write that in a file and change the value each time I boot from the other partition but grub must have this value set somewhere so I can read it and then run grub-set-default with the other value. Where can I find this info? Any other solution/advice?
I forgot to mention, my menu.lst has the default entry like this:
And each boot option ends in savedefault, which makes the value not available for read.
Last edited by RaduH; 11-21-2007 at 11:11 AM.