Re: how to (re-?)construct grub menu?

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

 



On Tue, 27 Jun 2017 12:12:29 -0600
William <mattison.computer@xxxxxxxxx> wrote:

> I want the grub menu to offer the three most recent patches of
> Fedora, the most recent Fedora rescue shell, and windows-7, in that
> order. (This is a dual-boot system.)  And I want the shells launched
> by the menu entries to be correct.  How do I get that accomplished -
> the correct Fedora-25 way?  If it matters, the motherboard uses UEFI
> bios.

I'm not sure if it matters as I don't use EFI.  But, there is a program
called grub2-mkconfig that can be used to regenerate the grub.cfg file
in /boot/grub2, and it might work in /boot/efi.  It is in the package
grub2-tools.

cd into the directory /boot/efi and type the command
grub2-mkconfig -o grub.cfg
as root.  That should leave you with a valid grub menu.

But, I think you might have to fix the /etc/fstab file also before you
do the above. If you cloned the drive, it will still be using the block
ids for the previous drive in the /etc/fstab.

Use the command blkid to find the UUIDs of the partitions on the new
drive.  And edit /etc/fstab so they are correct for the / and /boot
partition of your new drive.

Then run the grub2-mkconfig command, and the next boot should give you
the menu you want.

Again, this would work for grub2 boot, but I'm not sure about efi boot.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[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