Hi, I need help.
I just tried to install Fedora 31 on my laptop over my older Antergos installation (I am dual booting Windows as well). In Anaconda, I selected the old Antergos mount points and reformatted them for Fedora. This includes /home
, /
, /boot/efi
, and swap
. Now, my bootloaders are not working and I can’t boot into any menu or either operating system. From my BIOS, I try to load grub (still labeled antergos-grub) or Windows Boot Manager; the screen flashes and nothing happens. Selecting Linux Boot Manager tries to being me into Fedora I think, but it brings me to a tty that says I’m in emergency mode.
I can’t figure out what to do short of wiping my entire drive. I don’t know what I need to link, but I’ve included some files that I get while booted with a Live USB. I tried following this guide, but that didn’t fix anything.
$ efibootmgr -v
BootCurrent: 001B
Timeout: 0 seconds
BootOrder: 001B,0001,001D,001E,0005,0000,001A,0017,0018,0019,001C
Boot0000* Windows Boot Manager HD(1,GPT,8f7ea8c0-5cdf-4dce-b5b3-0dfbe5446dd0,0x800,0x82000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}...e................
Boot0001* antergos_grub HD(1,GPT,8f7ea8c0-5cdf-4dce-b5b3-0dfbe5446dd0,0x800,0x82000)/File(\EFI\antergos_grub\grubx64.efi)
Boot0005* Linux Boot Manager HD(4,GPT,836b09fc-fe05-41f1-b782-0582517be0ec,0xa688000,0x100000)/File(\EFI\goofiboot\goofibootx64.efi)
Boot0010 Setup FvFile(721c8b66-426c-4e86-8e99-3457c46ab0b9)
Boot0011 Boot Menu FvFile(126a762d-5758-4fca-8531-201a7f57f850)
Boot0012 Diagnostic Splash Screen FvFile(a7d8d9a6-6ab0-4aeb-ad9d-163e59a7a380)
Boot0013 Lenovo Diagnostics FvFile(3f7e615b-0d45-4f80-88dc-26b234958560)
Boot0014 Startup Interrupt Menu FvFile(f46ee6f4-4785-43a3-923d-7f786c3c8479)
Boot0015 Rescue and Recovery FvFile(665d3f60-ad3e-4cad-8e26-db46eee9f1b5)
Boot0016 MEBx Hot Key FvFile(ac6fd56a-3d41-4efd-a1b9-870293811a28)
Boot0017* USB CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,86701296aa5a7848b66cd49dd3ba6a55)
Boot0018* USB FDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,6ff015a28830b543a8b8641009461e49)
Boot0019* NVMe0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,001c199932d94c4eae9aa0b6e98eb8a400)
Boot001A* ATA HDD0 VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f600)
Boot001B* USB HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,33e821aaaf33bc4789bd419f88c50803)
Boot001C* PCI LAN VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,78a84aaf2b2afc4ea79cf5cc8f3d3803)
Boot001D Other CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a35406)
Boot001E Other HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f606)
Boot001F* IDER BOOT CDROM PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,1,0)
Boot0020* IDER BOOT Floppy PciRoot(0x0)/Pci(0x16,0x2)/Ata(0,0,0)
Boot0021* ATA HDD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,91af625956449f41a7b91f4f892ab0f6)
Boot0022* ATAPI CD VenMsg(bc7838d2-0f82-4d60-8316-c068ee79d25b,aea2090adfde214e8b3a5e471856a354)
$ grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set pager=1
if [ -f ${config_directory}/grubenv ]; then
load_env -f ${config_directory}/grubenv
elif [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 769722eb-8081-49c6-862d-6b6936a2ced4
else
search --no-floppy --fs-uuid --set=root 769722eb-8081-49c6-862d-6b6936a2ced4
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/01_users ###
if [ -f ${prefix}/user.cfg ]; then
source ${prefix}/user.cfg
if [ -n "${GRUB2_PASSWORD}" ]; then
set superusers="root"
export superusers
password_pbkdf2 root ${GRUB2_PASSWORD}
fi
fi
### END /etc/grub.d/01_users ###
### BEGIN /etc/grub.d/08_fallback_counting ###
insmod increment
# Check if boot_counter exists and boot_success=0 to activate this behaviour.
if [ -n "${boot_counter}" -a "${boot_success}" = "0" ]; then
# if countdown has ended, choose to boot rollback deployment,
# i.e. default=1 on OSTree-based systems.
if [ "${boot_counter}" = "0" -o "${boot_counter}" = "-1" ]; then
set default=1
set boot_counter=-1
# otherwise decrement boot_counter
else
decrement boot_counter
fi
save_env boot_counter
fi
### END /etc/grub.d/08_fallback_counting ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora 31 (KDE Plasma)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-simple-769722eb-8081-49c6-862d-6b6936a2ced4' {
load_video
set gfxpayload=keep
insmod gzio
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 769722eb-8081-49c6-862d-6b6936a2ced4
else
search --no-floppy --fs-uuid --set=root 769722eb-8081-49c6-862d-6b6936a2ced4
fi
linux /boot/vmlinuz-5.3.7-301.fc31.x86_64 root=UUID=769722eb-8081-49c6-862d-6b6936a2ced4 ro
initrd /boot/initramfs-5.3.7-301.fc31.x86_64.img
}
submenu 'Advanced options for Fedora 31 (KDE Plasma)' $menuentry_id_option 'gnulinux-advanced-769722eb-8081-49c6-862d-6b6936a2ced4' {
menuentry 'Fedora (5.3.7-301.fc31.x86_64) 31 (KDE Plasma)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-5.3.7-301.fc31.x86_64-advanced-769722eb-8081-49c6-862d-6b6936a2ced4' {
load_video
set gfxpayload=keep
insmod gzio
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 769722eb-8081-49c6-862d-6b6936a2ced4
else
search --no-floppy --fs-uuid --set=root 769722eb-8081-49c6-862d-6b6936a2ced4
fi
linux /boot/vmlinuz-5.3.7-301.fc31.x86_64 root=UUID=769722eb-8081-49c6-862d-6b6936a2ced4 ro
initrd /boot/initramfs-5.3.7-301.fc31.x86_64.img
}
menuentry 'Fedora (5.3.7-301.fc31.x86_64) 31 (KDE Plasma) (recovery mode)' --class fedora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-5.3.7-301.fc31.x86_64-recovery-769722eb-8081-49c6-862d-6b6936a2ced4' {
load_video
set gfxpayload=keep
insmod gzio
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root 769722eb-8081-49c6-862d-6b6936a2ced4
else
search --no-floppy --fs-uuid --set=root 769722eb-8081-49c6-862d-6b6936a2ced4
fi
linux /boot/vmlinuz-5.3.7-301.fc31.x86_64 root=UUID=769722eb-8081-49c6-862d-6b6936a2ced4 ro single
initrd /boot/initramfs-5.3.7-301.fc31.x86_64.img
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/10_reset_boot_success ###
insmod increment
# Hiding the menu is ok if last boot was ok or if this is a first boot attempt to boot the entry
if [ "${boot_success}" = "1" -o "${boot_indeterminate}" = "1" ]; then
set menu_hide_ok=1
else
set menu_hide_ok=0
fi
# Reset boot_indeterminate after a successful boot, increment otherwise
if [ "${boot_success}" = "1" ] ; then
set boot_indeterminate=0
else
increment boot_indeterminate
fi
# Reset boot_success for current boot
set boot_success=0
save_env boot_success boot_indeterminate
### END /etc/grub.d/10_reset_boot_success ###
### BEGIN /etc/grub.d/12_menu_auto_hide ###
if [ x$feature_timeout_style = xy ] ; then
if [ "${menu_show_once}" ]; then
unset menu_show_once
save_env menu_show_once
set timeout_style=menu
set timeout=60
elif [ "${menu_auto_hide}" -a "${menu_hide_ok}" = "1" ]; then
set orig_timeout_style=${timeout_style}
set orig_timeout=${timeout}
if [ "${fastboot}" = "1" ]; then
# timeout_style=menu + timeout=0 avoids the countdown code keypress check
set timeout_style=menu
set timeout=0
else
set timeout_style=hidden
set timeout=1
fi
fi
fi
### END /etc/grub.d/12_menu_auto_hide ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_ppc_terminfo ###
### END /etc/grub.d/20_ppc_terminfo ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Fedora 31 (KDE Plasma) (on /dev/sda5)' --class fedora --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-38477496-842d-4e28-80a8-ec7747076ee5' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 38477496-842d-4e28-80a8-ec7747076ee5
else
search --no-floppy --fs-uuid --set=root 38477496-842d-4e28-80a8-ec7747076ee5
fi
linux /boot/vmlinuz-0-rescue-f86ca3721d4f4e3886da6bd3574d9be5 root=/dev/sda5
initrd /boot/initramfs-0-rescue-f86ca3721d4f4e3886da6bd3574d9be5.img
}
submenu 'Advanced options for Fedora 31 (KDE Plasma) (on /dev/sda5)' $menuentry_id_option 'osprober-gnulinux-advanced-38477496-842d-4e28-80a8-ec7747076ee5' {
menuentry 'Fedora 31 (KDE Plasma) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-0-rescue-f86ca3721d4f4e3886da6bd3574d9be5--38477496-842d-4e28-80a8-ec7747076ee5' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 38477496-842d-4e28-80a8-ec7747076ee5
else
search --no-floppy --fs-uuid --set=root 38477496-842d-4e28-80a8-ec7747076ee5
fi
linux /boot/vmlinuz-0-rescue-f86ca3721d4f4e3886da6bd3574d9be5 root=/dev/sda5
initrd /boot/initramfs-0-rescue-f86ca3721d4f4e3886da6bd3574d9be5.img
}
menuentry 'Fedora 31 (KDE Plasma) (on /dev/sda5)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/boot/vmlinuz-5.3.7-301.fc31.x86_64--38477496-842d-4e28-80a8-ec7747076ee5' {
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 38477496-842d-4e28-80a8-ec7747076ee5
else
search --no-floppy --fs-uuid --set=root 38477496-842d-4e28-80a8-ec7747076ee5
fi
linux /boot/vmlinuz-5.3.7-301.fc31.x86_64 root=/dev/sda5
initrd /boot/initramfs-5.3.7-301.fc31.x86_64.img
}
}
# Other OS found, undo autohiding of menu unless menu_auto_hide=2
if [ "${orig_timeout_style}" -a "${menu_auto_hide}" != "2" ]; then
set timeout_style=${orig_timeout_style}
set timeout=${orig_timeout}
fi
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
menuentry 'System setup' $menuentry_id_option 'uefi-firmware' {
fwsetup
}
### END /etc/grub.d/30_uefi-firmware ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
$ fdisk -l
Disk /dev/sda: 232.91 GiB, 250059350016 bytes, 488397168 sectors
Disk model: WDC WDS250G2B0B
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 43C26263-B599-4E62-9ABA-7C43F831A5C2
Device Start End Sectors Size Type
/dev/sda1 2048 534527 532480 260M EFI System
/dev/sda2 534528 567295 32768 16M Microsoft reserved
/dev/sda3 567296 231241727 230674432 110G Microsoft basic data
/dev/sda4 231243776 232292351 1048576 512M EFI System
/dev/sda5 232292352 358117375 125825024 60G Linux filesystem
/dev/sda6 358117376 366505983 8388608 4G Linux swap
/dev/sda7 366505984 450392063 83886080 40G Linux filesystem
/dev/sda8 450392064 452440063 2048000 1000M Windows recovery environment
Disk /dev/sdb: 3.74 GiB, 4000317440 bytes, 7813120 sectors
Disk model: Cruzer
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x7aa014a1
Device Boot Start End Sectors Size Id Type
/dev/sdb1 * 0 3623039 3623040 1.7G 0 Empty
/dev/sdb2 172 21887 21716 10.6M ef EFI (FAT-12/16/32)
/dev/sdb3 21888 67407 45520 22.2M 0 Empty
Disk /dev/loop0: 1.64 GiB, 1743392768 bytes, 3405064 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop1: 6.36 GiB, 6817841152 bytes, 13316096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/loop2: 32 GiB, 34359738368 bytes, 67108864 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/live-rw: 6.36 GiB, 6817841152 bytes, 13316096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/live-base: 6.36 GiB, 6817841152 bytes, 13316096 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
In the last screenshots, there’s extra unallocated space in my drive. Before my Fedora installation process, I successfully increased the sizes of my Windows, home, and root partitions.