[SOLVED] Grub menu lost on dual-boot W10/FC25 2-in-1 laptop
FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Sounds like all you need to do is re-install Grub.
But before you do boot up your Live Fedora CD or USB and see if the Fedora partitions are still there with this command as root.
If you have the boot repair software you can select the Create BootInfo Summary option and post a link to the output as it will show details on your system.
I checked using a live CD and all eight partitions are reported.
Yes, the machine is a UEFI machine. I've got Secure Boot turned off.
That happened while I was struggling in vain to restore the grub menu.
I don't get the instructions at the link you posted for UEFI. Those
instructions are for how to create a dual-boot machine. I already
created it over a month ago, and it has been working fine until today.
Should I follow the "Reinstall grub" instructions at the first link?
=================== sda7: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
================= sda7: Location of files loaded by Syslinux: ==================
GiB - GB File Fragment(s)
============== sda7: Version of COM32(R) files used by Syslinux: ===============
extlinux/cat.c32 : not a COM32/COM32R module
extlinux/chain.c32 : not a COM32/COM32R module
extlinux/cmd.c32 : not a COM32/COM32R module
extlinux/cmenu.c32 : not a COM32/COM32R module
extlinux/config.c32 : not a COM32/COM32R module
extlinux/cptime.c32 : not a COM32/COM32R module
extlinux/cpu.c32 : not a COM32/COM32R module
extlinux/cpuid.c32 : not a COM32/COM32R module
extlinux/cpuidtest.c32 : not a COM32/COM32R module
extlinux/debug.c32 : not a COM32/COM32R module
extlinux/dhcp.c32 : not a COM32/COM32R module
extlinux/dir.c32 : not a COM32/COM32R module
extlinux/disk.c32 : not a COM32/COM32R module
extlinux/dmi.c32 : not a COM32/COM32R module
extlinux/dmitest.c32 : not a COM32/COM32R module
extlinux/elf.c32 : not a COM32/COM32R module
extlinux/ethersel.c32 : not a COM32/COM32R module
extlinux/gfxboot.c32 : not a COM32/COM32R module
extlinux/gpxecmd.c32 : not a COM32/COM32R module
extlinux/hdt.c32 : not a COM32/COM32R module
extlinux/hexdump.c32 : not a COM32/COM32R module
extlinux/host.c32 : not a COM32/COM32R module
extlinux/ifcpu64.c32 : not a COM32/COM32R module
extlinux/ifcpu.c32 : not a COM32/COM32R module
extlinux/ifmemdsk.c32 : not a COM32/COM32R module
extlinux/ifplop.c32 : not a COM32/COM32R module
extlinux/kbdmap.c32 : not a COM32/COM32R module
extlinux/kontron_wdt.c32 : not a COM32/COM32R module
extlinux/ldlinux.c32 : not a COM32/COM32R module
extlinux/lfs.c32 : not a COM32/COM32R module
extlinux/libcom32.c32 : not a COM32/COM32R module
extlinux/libgpl.c32 : not a COM32/COM32R module
extlinux/liblua.c32 : not a COM32/COM32R module
extlinux/libmenu.c32 : not a COM32/COM32R module
extlinux/libutil.c32 : not a COM32/COM32R module
extlinux/linux.c32 : not a COM32/COM32R module
extlinux/ls.c32 : not a COM32/COM32R module
extlinux/lua.c32 : not a COM32/COM32R module
extlinux/mboot.c32 : not a COM32/COM32R module
extlinux/meminfo.c32 : not a COM32/COM32R module
extlinux/menu.c32 : not a COM32/COM32R module
extlinux/pci.c32 : not a COM32/COM32R module
extlinux/pcitest.c32 : not a COM32/COM32R module
extlinux/pmload.c32 : not a COM32/COM32R module
extlinux/poweroff.c32 : not a COM32/COM32R module
extlinux/prdhcp.c32 : not a COM32/COM32R module
extlinux/pwd.c32 : not a COM32/COM32R module
extlinux/pxechn.c32 : not a COM32/COM32R module
extlinux/reboot.c32 : not a COM32/COM32R module
extlinux/rosh.c32 : not a COM32/COM32R module
extlinux/sanboot.c32 : not a COM32/COM32R module
extlinux/sdi.c32 : not a COM32/COM32R module
extlinux/sysdump.c32 : not a COM32/COM32R module
extlinux/syslinux.c32 : not a COM32/COM32R module
extlinux/vesa.c32 : not a COM32/COM32R module
extlinux/vesainfo.c32 : not a COM32/COM32R module
extlinux/vesamenu.c32 : not a COM32/COM32R module
extlinux/vpdtest.c32 : not a COM32/COM32R module
extlinux/whichsys.c32 : not a COM32/COM32R module
extlinux/zzjson.c32 : not a COM32/COM32R module
cat: /tmp/BootInfo-413TX2Wr/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-413TX2Wr/Tmp_Log: No such file or directory
Failed to find logical volume "fedora_spock/root'"
Failed to find logical volume "fedora_spock/root'"
Failed to find logical volume "fedora_spock/root'"
hexdump: /dev/mapper/fedora_spock-root': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/fedora_spock-root': No such file or directory
hexdump: all input file arguments failed
Failed to find logical volume "fedora_spock/home'"
Failed to find logical volume "fedora_spock/home'"
Failed to find logical volume "fedora_spock/home'"
hexdump: /dev/mapper/fedora_spock-home': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/fedora_spock-home': No such file or directory
hexdump: all input file arguments failed
Failed to find logical volume "fedora_spock/swap'"
Failed to find logical volume "fedora_spock/swap'"
Failed to find logical volume "fedora_spock/swap'"
hexdump: /dev/mapper/fedora_spock-swap': No such file or directory
hexdump: stdin: Bad file descriptor
hexdump: /dev/mapper/fedora_spock-swap': No such file or directory
hexdump: all input file arguments failed
mdadm: No arrays found in config file or automatically
You have an EFI/GPT system and you have the fedora efi files on the EFI partition. Scrolling down your output a little further, there is no indication of boot files for fedora on any partition. They usually show in the script but not always. You don't have any grub.cfg file showing in the output which is almost always shown. You have 'unknown bootloader' on each of your LVM partitions and on sda7 you have a number of syslinux files which I would not expect to see. I don't use Fedora or LVM so I don't know what the problem would be. Were there any changes made to hardware/software immediately prior to this happening or were there any major updates on windows?
'Some' windows 10 updates will mess up booting on EFI systems so that might be it. I don't use Fedora so I don't know what 'dnf update' does. Doubt it would ruin your Grub bootloader. I doubt re-installing Grub will resolve the problem as you don't have a grub.cfg file and that isn't created when reinstalling Grub. If you could chroot to Fedora and run grub-mkconfig it might help. I'm not sure how those Syslinux files got on your partition?
When I ran Fedora 'dnf update' pulled in security updates, upgrades to the kernel if there were any upgrades to the kernel,apply patches,update all of the installed pkg's on the system and the like from the FC repos.
I've never had dnf wreck Grub for the duration that I ran Fedora.
-::-A fresh install may prove well in this case since like yancek said: there isn't a grub.cfg file.-::-
I have to bring this computer on an overseas trip very soon and I just couldn't keep trying to recover both W10 and FC25. So I started over, abandoned W10, and reinstalled FC25. Maybe I'll reconfigure after the trip, attempting the dual-boot again. But probably not since I believe W10 is the culprit in wrecking the original dual-boot config.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.