Re: Grub -

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

 




On 02/20/2014 03:16 PM, Chris Murphy wrote:
Assuming the firmware is BIOS and not UEFI…

In the Fedora 20 installer, if you chose to not install a bootloader, core.img isn't created so it doesn't exist. If you're going to hand write the grub.conf by using GRUB 0.98 in CentOS, then write the entry to point grub to the actual Fedora 20 kernel and initramfs rather than chainloading. But if you really want to chainload, then you have to boot Fedora netinst or DVD in rescue mode, and install grub2 with this command:

grub2-install --grub-setup=/bin/true /dev/sda

That option causes grub2-install to only create core.img without overwriting the grub legacy code in the MBR and MBR gap.

However, the best practices method is to allow Fedora 20 to stomp on the CentOS 6 grub, so that you have Grub2. And then either:

a.) Use the grub2 default behavior that causes it to create an entry for Fedora and CentOS automatically, which then isn't automatically updated when you do CentOS kernel updates; you'd have to run grub2-mkconfig.

b.) Disable the os-prober option in grub2, so that a CentOS entry isn't created automatically. Instead edit /etc/grub.d/40_custom to including a menu entry using the 'legacyconfigfile' command pointed to the CentOS grub.conf, and then do a one time grub2-mkconfig to write out a new grub.cfg, which will cause grub2 to read and display the CentOS grub.conf menu when chosen. This way, the Fedora grub.cfg and the CentOS grub.conf are properly updated automatically when kernel updates happen and is thus maintenance free once configured.


Chris Murphy

You convinced me to bite the bullet and I did rm -fr * Fedora-20 and reinstalled it and everything works again.

My problems began when I reinstalled Fedora minus the LVM and found it no longer offered the option to boot Centos. I messed with it and things went from bad to worse ...

Now it offers both again and I have a conventional directory set up for Fedora.

Thanks,

Bob

--
http://www.qrz.com/db/w2bod
Box10 Fedora-20/64bit Linux/XFCE

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
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