On Mon, Jun 15, 2020 at 10:52 PM <[email protected]> wrote: > > Thanks Bill, > > No, I did not try /boot/grub/custom.cfg - in my case - that would not help. > > I did not say this in my original post - the changes I need to make are > trivial, > but involve changing current menu rather than adding to it: > * changing default menu item and adding a few kernel boot options to it > > I know - I am also a victim of - the whole world is about how to boot/install > cloud instances or containers. > > Tomas > > On Mon, 2020-06-15 at 07:08 -0500, Bill Barry wrote: > > On Mon, Jun 15, 2020 at 1:13 AM <[email protected]> wrote: > > > > > > Hi, > > > > > > I have forgotten grub2 internals since I needed them 5 years ago - Grub > > > documentation is not great outside normal usage. > > > > > > Can anyone give me a hand here. > > > > > > I want to modify Grub2 menu in a linux installation media - under mounted > > > /boot/grub.cfg > > > The installation media does not have /etc/grub.d - so, I cannot make > > > changes > > > in > > > /etc and use chroot grub2-mkconfig to apply the change. > > > > > > Editing the /boot/grub.cfg has no effect. > > > > > > Thanks, > > > Tomas > > >
You say editing /boot/grub.cfg has no effect. I assume you mean /boot/grub/grub.cfg Is there another /boot partition that is getting mounted over the / partition. I.e. Are you editing grub.cfg in the root partition and the real grub.cfg is in a /boot partition? Bill _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
