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

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

 



On 28/6/17 11:52 am, stan wrote:
On Wed, 28 Jun 2017 01:35:18 -0000
"William Mattison" <mattison.computer@xxxxxxxxx> wrote:

(replying to all three messages)

When I boot, the bios display says it is UEFI.  Am I
mis-understanding what that means?  Am I mis-using the term?
Your system supports efi, but it seems you aren't using it.
Just as a slightly off topic question regarding /boot, in /boot I have an efi sub-directory. Why is this when I am booting Fedora 27, Ubuntu 17.10 and Windows 10 with the bios configured as legacy mode and Ubuntu doesn't have an efi directory in /boot, nor have I installed Fedora 27 as efi?

My /boot directory has only two sub-directories: "grub" and "grub2",
no sub-directory "efi".
Not sure why this is.  The fact that you have a grub directory implies
to me that you have been upgrading this system for a while.  I don't
have a grub directory in /boot, since it is legacy and deprecated.

Each of the two sub-directories has a file called "grub.cfg".  The
two files are identical, except for permissions.

In /etc/fstab, the UUIDs are already correct, based on output by both
the blkid command and the lsblk command (which blkid's man page says
I really should use instead).
Confirming Joe's comment.

I tried the grub2-mkconfig command in both sub-directories.  Then I
rebooted.  The new menu has Fedora, other Fedora options, Windows 7
(on /dev/sda1), and Windows 7 (on /dev/sda2).  Each option appears to
boot up correctly, though I did not attempt to actually log in to a
windows account.
It appears to have worked.

Why are there two menu entries for windows?  On this system, sda1 is
the master boot record, sda2 is the windows partition.

I am tri-booting Fedora 27, Ubuntu 17.10 and Windows 10 via grub2. I use grub2-mkconfig to get the menu boot list via /boot/grub2/grub.cfg and then grub2-install /dev/sda to get the menu into the mbr (you don't issue the grub2-install command on an efi system as I understand it). This gives me an entry in the menu for the Fedora 27 current kernel, a Fedora 27 Advanced sub-menu, a single entry for Windows 10, an entry for the Ubuntu current kernel and an Ubuntu Advanced sub-menu. Windows has a system partition and the normal windows partition, but the grub invoked processes that auto detect the available operating systems ignore the Windows System partition, so if you are getting entries for Windows on sda and sda2, then presumably the operating system detector has actually found two windows partitions on /dev/sda.


regards,

Steve


I don't think the MBR is given a partition assignment.  I don't run
windows, so I'm unfamiliar with how it is organized, but I seem to
recall reading that it can have a backup partition, so one of them
might be that.

After signing in to Fedora, I get a crash message saying vmlinuz
crashed.  I couldn't catch the whole message.  Yet the system does
seem to work.  What's going on?
Try reinstalling the latest kernel, or booting an older kernel.  Are
there any other messages that would indicate the problem in journalctl
-b?  It seems that the kernel is having a problem, but it is not
fatal.  Something misconfigured?
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
_______________________________________________
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