User Tools

Site Tools


system:boot:grub

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

system:boot:grub [2009/03/20 01:10] – created - external edit 127.0.0.1system:boot:grub [2024/02/06 13:58] (current) – Add savedefault hint phil
Line 17: Line 17:
 initrd /dos/BOOT.IMG initrd /dos/BOOT.IMG
 </file> </file>
 +
 +===== Defaulting to previous Selection =====
 +
 +Edit ///etc/default/grub//, add:
 +
 +  GRUB_DEFAULT=saved
 +  GRUB_SAVEDEFAULT=true
 +
 +Then recreate grub config:
 +
 +  grub2-mkconfig -o /boot/grub2/grub.cfg
 +
 +This should do the trick, works at least with a recent Fedora 39.
  
 ====== Links ====== ====== Links ======
   * [[http://www.bootdisk.com/|DOS floppy images for download]] (loop-mount to add custom stuff)   * [[http://www.bootdisk.com/|DOS floppy images for download]] (loop-mount to add custom stuff)
 +
system/boot/grub.txt · Last modified: 2024/02/06 13:58 by phil