Re: How do I rebuild Grub/Boot/initramfs from a Live USB?

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

 



On Sun, 30 Oct 2022 12:11:57 -0400
Felix Miata <mrmazda@xxxxxxxxxxxxx> wrote:

Thank you.

> stan via users composed on 2022-10-30 07:23 (UTC-0700):
> 
> >> Finally, I build /boot/grub2/custom.cfg from scratch that uses
> >> volume LABELs and symlinks to kernels and initrds, and customize
> >> /etc/grub.d/ to cause its entries to head Grub's menu.  
> 
> > I think this means that if you update any of the installed OSs, you
> > have to recreate the custom.cfg menu to incorporate the changes.
> > And  
> 
> Depends on the nature of the update. Only major updates may require
> updates, depending on specificity of labels used in building
> custom.cfg. If in upgrading a release, and you change the LABEL of
> the / filesystem, and depend on LABELs in boot stanzas, updating is
> required. Ordinary updates, such as new kernels, require no updates,
> because the symlinks used in custom.cfg don't change, only the
> initrds and kernels they point to. Distros I use other than Fedora
> create the required symlinks automatically, e.g. all Debians & its
> derivatives, openSUSE, Mageia.
> 
> > that you have to have a custom utility you run in order to do that.
> > Would you be willing to share that utility, and your customizations
> > of /etc/grub.d?  
> 
> I have had no compulsion to create any such utility. All it would to
> would be to automate symlink creation on Fedora when new kernels are
> installed that is done automatically by other distros.
> 
> My method of /etc/grub.d/ customization only requires making a copy
> of 40_custom named 06_custom, which puts custom.cfg's entries at the
> top of  Grub's boot menu.
> 
> > This will work great, but I wouldn't consider it trivial for a new
> > user of Fedora.  
> 
> That would depend on what makes a Fedora user a "new" Fedora user.
> New to Fedora but not new to Linux multibooting it ought to have
> already become trivial if multiple versions of any same distro had
> been employed. New to multibooting, whether or not new to Fedora, not
> so trivial, but it's newness to multibooting and/or UEFI that would
> be the bigger part of making it non-trivial.
> 
> <https://forums.opensuse.org/showthread.php/533087-How-to-have-a-custom-UEFI-grub-menu-for-a-multiboot-system?p=2880389#post2880389>
> has an example of the simplicity of custom.cfg.
> 
> <https://forums.opensuse.org/showthread.php/533087-How-to-have-a-custom-UEFI-grub-menu-for-a-multiboot-system?p=2891383#post2891383>
> has an even simpler method, chainloading, which I don't use because I
> don't want more than one distro messing with NVRAM's boot order.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux