bug-grub
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sticky Boot Feature


From: Gordon Matzigkeit
Subject: Re: Sticky Boot Feature
Date: 30 Jun 2001 10:40:36 -0600
User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7

>From the CVS GRUB manual:

default
-------

 - Command: default num
     Set the default entry to the entry number NUM. Numbering starts
     from 0, and the entry number 0 is the default if the command is not
     used.

     You can specify `saved' instead of a number. In this case, the
     default entry is the entry saved with the command `savedefault'.
     *Note savedefault::, for more information.

savedefault
-----------

 - Command: savedefault
     Save the current menu entry as a default entry. Here is an example:

          default saved
          timeout 10
          
          title GNU/Linux
          root (hd0,0)
          kernel /boot/vmlinuz root=/dev/sda1 vga=ext
          initrd /boot/initrd
          savedefault
          
          title FreeBSD
          root (hd0,a)
          kernel /boot/loader
          savedefault

     With this configuration, GRUB will choose the entry booted
     previously as the default entry. See also *Note default::.

-- 
 Gordon Matzigkeit <address@hidden>  //\ I'm a FIG (http://fig.org/)
Committed to diversity and freedom \// Try Emacs (http://fig.org/gnu/emacs/)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]