Re: Hiding the grub menu by default on single OS installs

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

 



On 06/01/2018 02:27 AM, Gerd Hoffmann wrote:
>   Hi,
> 
>> Side note, android's 'reboot' cmd can take an argument, like 'reboot
>> fastboot' or 'reboot recovery'.. that might be one of the few features
>> from android worth copying ;-)
> 
> I'm still missing something simliar to "lilo -R <cmdline>" in the world
> of modern boot loaders.  This used to set the lilo command line for the
> next boot.  lilo command line is boot entry name plus additional kernel
> parameters.  So you say ...
> 
>   "lilo -R default single && reboot"
> 
> ... for a single user boot.  Or ...
> 
>   "lilo -R testkernel && reboot"
> 
> ... to boot a different kernel once.
> 
> Seems at least for the second use case some out-of-tree grub2 patches
> are floating around, adding a --once switch to grub-set-default.  Some
> linux systems have it, some don't .

grub2-reboot 1

will set it to boot entry 1 (it starts counting from 0) the next time
you boot only. It doesn't help passing args, but it does let you boot a
particular kernel entry.

kevin




Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/QI224SNSWG7QIMFSWDZO4BP4GDUKFWS3/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux