Re: parallel of grub2-mkconfig in older fedora release which has grub and not grub2

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

 



On Mon, Jul 11, 2016 at 7:45 AM, Kevin Wilson <wkevils@xxxxxxxxx> wrote:
> Hi,
> Thanks Todd.
> The thing is that now CentOS is installed and it is the current
> control and it indeed uses an older grub. So what do you suggest ?

Replace it with the newer GRUB by booting Fedora:

grub2-install /dev/sdX

Try including the patch in this bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1353026

And then run

grub2-mkconfig -o /boot/grub2/grub.cfg


> That I will reinstall Ubuntu on Fedora on the current machine so they
> will the "current control"? It is quite a hassle as there is no free
> partition for it (unless I will resize it); and already there are 3 OS
> installed on that machine. I believe there should be another way to do
> it with the old grub without installing another OK on the same
> machine,

The built-in method to discover and create menu entries for other
Linux's is suboptimal. If you update the kernel on any of those
distros, it's not reflected in the GRUB menu because each distro only
updates its own grub.cfg; and the GRUB2 way of creating menu entries
for other Linux's is done from scratch rather than pointing to the
distro specific grub.cfg. It's super annoying and upstream could fix
it but here we are...

You can use /etc/grub.d/40_custom or 41_custom (read them and then
pick whether you want to use your own drop in files or not, which I
personally think is easier and more stable long term), to add a menu
entry that points to each distro's grub.cfg using the GRUB command
"configfile" for GRUB2 grub.cfg's, and the GRUB command
"legacyconfigfile" for GRUB 0.9x grub.conf files. Now, you'll have a
GRUB menu that lists your Fedora kernels, and one entry for each
distro. If you choose a distro entry, you'll get a listing of that
distro's kernels to boot.

And last, there was no grub.conf creator for GRUB before GRUB 2. It
was always done by hand. Anaconda would create an initial one at
installation time, and grubby would keep it up to date. But there was
no other way to create a new one from scratch other than by hand.


-- 
Chris Murphy
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org



[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