-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07 Jul 2003 14:47:40 +0200, Eric Doutreleau wrote: > i ave switched from lilo to grub in order to have a way to protect > the different menu of my grub file with a password but right now > i miss a feature of lilo. > > with lilo i could change with the -R option the default label to boot > only for the next boot. > > does someone how to do that with grub? > > P.S > when i boot after setting the default label i m under windows then no > access to rub anymore to change the default label. There is an undocumented flag, which is mentioned in the GRUB package changelog. Together with GRUB shell batch mode, you can use it to simulate lilo -R: * Fri Mar 08 2002 Jeremy Katz <katzj@xxxxxxxxxx> 0.91-3 [...] - - add patch from GRUB mailing list from Keir Fraser to add a --once flag to savedefault function so that you can have the equivalent of lilo -R functionality (use 'savedefault --default=N --once' from the grub shell) [...] - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/CXUi0iMVcrivHFQRAr3gAJ4208keftn+v0QN9fjSYa1rsmVnqgCfT3oK zzb+2dsafx43THJ4Lqis6N8= =6CUD -----END PGP SIGNATURE-----