I upgraded to Fedora 30 last night. I came in to see the server booting over and over, so I booted from a Live CD, and reinstalled grub2. However it boots into Dracut emergency shell. See screen shots. What next?
I upgraded to Fedora 30 last night. I came in to see the server booting over and over, so I booted from a Live CD, and reinstalled grub2. However it boots into Dracut emergency shell. See screen shots. What next?
Can anyone suggest which UUID might be off?
blkid
/dev/sr0: UUID=“2018-04-25-06-43-09-00” LABEL=“Fedora-WS-Live-28-1-1” TYPE=“iso9660” PTUUID=“3a663a44” PTTYPE=“dos”
/dev/sda1: UUID="94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5" TYPE="ext4" PARTUUID="000da235-01"
/dev/sda2: UUID="HHfvtQ-2JJC-Gp7T-HrnL-gMcN-NhRp-tYGE4k" TYPE="LVM2_member" PARTUUID="000da235-02"
/dev/loop0: TYPE="squashfs"
/dev/loop1: LABEL="Anaconda" UUID="2104d1fa-6dee-4455-b87d-554b7b2009e4" TYPE="ext4"
/dev/mapper/live-rw: LABEL="Anaconda" UUID="2104d1fa-6dee-4455-b87d-554b7b2009e4" TYPE="ext4"
/dev/mapper/live-base: LABEL="Anaconda" UUID="2104d1fa-6dee-4455-b87d-554b7b2009e4" TYPE="ext4"
/dev/mapper/fedora_storm-swap: UUID="1715e450-b280-44db-92fa-cb64b4aab0c8" TYPE="swap"
/dev/mapper/fedora_storm-home: UUID="c829918e-0ec5-425c-b972-b9578a75112d" TYPE="ext4"
/dev/mapper/fedora_storm-root: UUID="4d775d7a-e679-444e-bce5-f045afe7f343" TYPE="ext4"
`fdisk -l
Disk /dev/sda: 1.8 TiB, 2000342441984 bytes, 3906918832 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
Disklabel type: dos
Disk identifier: 0x000da235
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 1026047 1024000 500M 83 Linux
/dev/sda2 1026048 3906918399 3905892352 1.8T 8e Linux LVM
Disk /dev/loop0: 1.6 GiB, 1686425600 bytes, 3293800 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.5 GiB, 6981419008 bytes, 13635584 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.5 GiB, 6981419008 bytes, 13635584 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.5 GiB, 6981419008 bytes, 13635584 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/fedora_storm-swap: 11.8 GiB, 12641632256 bytes, 24690688 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/fedora_storm-home: 1.7 TiB, 1826111881216 bytes, 3566624768 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/fedora_storm-root: 150 GiB, 161061273600 bytes, 314572800 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`
`parted -l
Model: HP LOGICAL VOLUME (scsi)
Disk /dev/sda: 2000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary ext4 boot
2 525MB 2000GB 2000GB primary lvm
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Model: hp DVD D DS8D3SH (scsi)
Disk /dev/sr0: 4700MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Disk Flags:
Number Start End Size File system Name Flags
1 2048B 10.2kB 8192B Apple
2 61.4MB 71.0MB 9552kB EFI
3 71.0MB 91.1MB 20.2MB EFI`
Edit: The UUID from the picture appears to reference the DVD, if I’m correct:
/dev/loop1: LABEL="Anaconda" UUID="2104d1fa-6dee-4455-b87d-554b7b2009e4" TYPE="ext4"
Edit: I also tried:
`mount /dev/mapper/fedora_storm-root /mnt/root
[root@localhost-live liveuser]# mount /dev/sda1 /mnt/root/boot
[root@localhost-live liveuser]# mount -t proc none /mnt/root/proc
[root@localhost-live liveuser]# mount -o bind /dev /mnt/root/dev
[root@localhost-live liveuser]# chroot /mnt/root /bin/bash
[root@localhost-live /]# grub2-install /dev/sda
Installing for i386-pc platform.
Unknown device “/dev/sda1”: No such device
Unknown device “/dev/sda1”: No such device
Unknown device “/dev/sda1”: No such device
Unknown device “/dev/sda2”: No such device
Unknown device “/dev/sda1”: No such device
Unknown device “/dev/sda1”: No such device
Unknown device “/dev/sda1”: No such device
Unknown device “/dev/sda1”: No such device
Installation finished. No error reported.`
Edit: I do see these in /boot when in the Live Rescue DVD
ls -l /boot
total 292128
-rw-------. 1 root root 4172343 May 20 12:02 System.map-5.0.17-200.fc29.x86_64
-rw-------. 1 root root 4395881 May 20 11:37 System.map-5.0.17-200.fc29.x86_64+debug
-rw-------. 1 root root 4173055 May 28 10:09 System.map-5.0.19-200.fc29.x86_64
-rw-------. 1 root root 4396567 May 28 09:55 System.map-5.0.19-200.fc29.x86_64+debug
-rw-------. 1 root root 4283021 May 25 14:13 System.map-5.1.5-300.fc30.x86_64
-rw-------. 1 root root 4506242 May 25 13:58 System.map-5.1.5-300.fc30.x86_64+debug
drwxr-xr-x. 2 root root 1024 Jun 5 11:28 boot
-rw-r–r--. 1 root root 202392 May 20 12:02 config-5.0.17-200.fc29.x86_64
-rw-r–r--. 1 root root 203019 May 20 11:37 config-5.0.17-200.fc29.x86_64+debug
-rw-r–r--. 1 root root 202392 May 28 10:10 config-5.0.19-200.fc29.x86_64
-rw-r–r--. 1 root root 203019 May 28 09:55 config-5.0.19-200.fc29.x86_64+debug
-rw-r–r--. 1 root root 204442 May 25 14:14 config-5.1.5-300.fc30.x86_64
-rw-r–r--. 1 root root 205058 May 25 13:58 config-5.1.5-300.fc30.x86_64+debug
drwxr-xr-x. 2 root root 1024 Jun 5 11:28 dev
drwx------. 3 root root 1024 Jan 31 13:26 efi
drwx------. 6 root root 1024 Jun 5 11:21 grub2
-rw-------. 1 root root 35880928 Oct 5 2013 initramfs-0-rescue-02821bb2ccde4f86a19574027996b785.img
-rw-------. 1 root root 23466070 May 25 04:50 initramfs-5.0.17-200.fc29.x86_64+debug.img
-rw-------. 1 root root 23413861 May 25 04:50 initramfs-5.0.17-200.fc29.x86_64.img
-rw-------. 1 root root 16654557 Jun 4 08:09 initramfs-5.0.17-200.fc29.x86_64kdump.img
-rw-------. 1 root root 23466562 Jun 4 09:24 initramfs-5.0.19-200.fc29.x86_64+debug.img
-rw-------. 1 root root 23414373 Jun 4 09:24 initramfs-5.0.19-200.fc29.x86_64.img
-rw-------. 1 root root 16654880 Jun 4 10:08 initramfs-5.0.19-200.fc29.x86_64kdump.img
-rw-------. 1 root root 23571826 Jun 5 06:38 initramfs-5.1.5-300.fc30.x86_64+debug.img
-rw-------. 1 root root 23544344 Jun 5 06:38 initramfs-5.1.5-300.fc30.x86_64.img
-rw-r–r--. 1 root root 560577 Aug 11 2016 initrd-plymouth.img
drwxr-xr-x. 3 root root 1024 May 21 2018 loader
drwx------. 2 root root 12288 May 10 2013 lost+found
-rwxr-xr-x. 1 root root 5149880 Oct 5 2013 vmlinuz-0-rescue-02821bb2ccde4f86a19574027996b785
-rwxr-xr-x. 1 root root 8876232 May 20 12:02 vmlinuz-5.0.17-200.fc29.x86_64
-rwxr-xr-x. 1 root root 9765064 May 20 11:38 vmlinuz-5.0.17-200.fc29.x86_64+debug
-rwxr-xr-x. 1 root root 8880328 May 28 10:11 vmlinuz-5.0.19-200.fc29.x86_64
-rwxr-xr-x. 1 root root 9769160 May 28 09:55 vmlinuz-5.0.19-200.fc29.x86_64+debug
-rwxr-xr-x. 1 root root 8991432 May 25 14:14 vmlinuz-5.1.5-300.fc30.x86_64
-rwxr-xr-x. 1 root root 9892552 May 25 13:59 vmlinuz-5.1.5-300.fc30.x86_64+debug
Here’s /etc/default/grub:
`GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora_storm/swap nomodeset rd.md=0 rd.dm=0 $([ -x /usr/sbin/rhcrashkernel-param ] && /usr/sbin/rhcrashkernel-param || :) rd.lvm.lv=fedora_storm/root rd.luks=0 vconsole.keymap=us rhgb quiet audit=0 erst_disable acpi_mcfg_max_pci_bus_num=on hest_disable bert_disable"
GRUB_DISABLE_RECOVERY="true"
GRUB_THEME="/boot/grub2/themes/system/theme.txt"
GRUB_ENABLE_BLSCFG=true`
And this: cat /boot/grub2/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="${saved_entry}"
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 part_msdos
insmod lvm
insmod ext2
set root='lvmid/Ej8Llg-lVjR-KMfW-NZog-wtFg-xXvV-58T5mp/QBcw2z-0oAi-Z99U-oZpv-VjrE-2XKa-Zmvkz6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/Ej8Llg-lVjR-KMfW-NZog-wtFg-xXvV-58T5mp/QBcw2z-0oAi-Z99U-oZpv-VjrE-2XKa-Zmvkz6' 4d775d7a-e679-444e-bce5-f045afe7f343
else
search --no-floppy --fs-uuid --set=root 4d775d7a-e679-444e-bce5-f045afe7f343
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
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5
else
search --no-floppy --fs-uuid --set=root 94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5
fi
insmod gfxmenu
loadfont ($root)/grub2/themes/system/DejaVuSans-10.pf2
loadfont ($root)/grub2/themes/system/DejaVuSans-12.pf2
loadfont ($root)/grub2/themes/system/DejaVuSans-Bold-14.pf2
loadfont ($root)/grub2/fonts/unicode.pf2
insmod png
set theme=($root)/grub2/themes/system/theme.txt
export theme
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 ###
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5
else
search --no-floppy --fs-uuid --set=root 94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5
fi
insmod part_msdos
insmod ext2
set boot='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=boot --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5
else
search --no-floppy --fs-uuid --set=boot 94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5
fi
# This section was generated by a script. Do not modify the generated file - all changes
# will be lost the next time file is regenerated. Instead edit the BootLoaderSpec files.
#
# The blscfg command parses the BootLoaderSpec files stored in /boot/loader/entries and
# populates the boot menu. Please refer to the Boot Loader Specification documentation
# for the files format: https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/.
set default_kernelopts="root=/dev/mapper/fedora_storm-root ro rd.lvm.lv=fedora_storm/swap nomodeset rd.md=0 rd.dm=0 rd.lvm.lv=fedora_storm/root rd.luks=0 vconsole.keymap=us rhgb audit=0 "
insmod blscfg
blscfg
### 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 ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### 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 ###
[root@localhost-live /]# fpaste|cat /boot/grub2/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="${saved_entry}"
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 part_msdos
insmod lvm
insmod ext2
set root='lvmid/Ej8Llg-lVjR-KMfW-NZog-wtFg-xXvV-58T5mp/QBcw2z-0oAi-Z99U-oZpv-VjrE-2XKa-Zmvkz6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/Ej8Llg-lVjR-KMfW-NZog-wtFg-xXvV-58T5mp/QBcw2z-0oAi-Z99U-oZpv-VjrE-2XKa-Zmvkz6' 4d775d7a-e679-444e-bce5-f045afe7f343
else
search --no-floppy --fs-uuid --set=root 4d775d7a-e679-444e-bce5-f045afe7f343
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
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5
else
search --no-floppy --fs-uuid --set=root 94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5
fi
insmod gfxmenu
loadfont ($root)/grub2/themes/system/DejaVuSans-10.pf2
loadfont ($root)/grub2/themes/system/DejaVuSans-12.pf2
loadfont ($root)/grub2/themes/system/DejaVuSans-Bold-14.pf2
loadfont ($root)/grub2/fonts/unicode.pf2
insmod png
set theme=($root)/grub2/themes/system/theme.txt
export theme
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 ###
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5
else
search --no-floppy --fs-uuid --set=root 94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5
fi
insmod part_msdos
insmod ext2
set boot='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=boot --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5
else
search --no-floppy --fs-uuid --set=boot 94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5
fi
# This section was generated by a script. Do not modify the generated file - all changes
# will be lost the next time file is regenerated. Instead edit the BootLoaderSpec files.
#
# The blscfg command parses the BootLoaderSpec files stored in /boot/loader/entries and
# populates the boot menu. Please refer to the Boot Loader Specification documentation
# for the files format: https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/.
set default_kernelopts="root=/dev/mapper/fedora_storm-root ro rd.lvm.lv=fedora_storm/swap nomodeset rd.md=0 rd.dm=0 rd.lvm.lv=fedora_storm/root rd.luks=0 vconsole.keymap=us rhgb audit=0 "
insmod blscfg
blscfg
### 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 ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### 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 ###
q
^C
USAGE REMINDER:
fpaste waits for input when run without file arguments.
Paste your text, then press <Ctrl-D> on a new line to upload.
Try `fpaste --help' for more information.
Exiting...
[root@localhost-live /]# cat /boot/grub2/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="${saved_entry}"
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 part_msdos
insmod lvm
insmod ext2
set root='lvmid/Ej8Llg-lVjR-KMfW-NZog-wtFg-xXvV-58T5mp/QBcw2z-0oAi-Z99U-oZpv-VjrE-2XKa-Zmvkz6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='lvmid/Ej8Llg-lVjR-KMfW-NZog-wtFg-xXvV-58T5mp/QBcw2z-0oAi-Z99U-oZpv-VjrE-2XKa-Zmvkz6' 4d775d7a-e679-444e-bce5-f045afe7f343
else
search --no-floppy --fs-uuid --set=root 4d775d7a-e679-444e-bce5-f045afe7f343
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
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5
else
search --no-floppy --fs-uuid --set=root 94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5
fi
insmod gfxmenu
loadfont ($root)/grub2/themes/system/DejaVuSans-10.pf2
loadfont ($root)/grub2/themes/system/DejaVuSans-12.pf2
loadfont ($root)/grub2/themes/system/DejaVuSans-Bold-14.pf2
loadfont ($root)/grub2/fonts/unicode.pf2
insmod png
set theme=($root)/grub2/themes/system/theme.txt
export theme
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 ###
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5
else
search --no-floppy --fs-uuid --set=root 94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5
fi
insmod part_msdos
insmod ext2
set boot='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=boot --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5
else
search --no-floppy --fs-uuid --set=boot 94fb6311-dd9e-4fbe-9988-5ebe8f22d9d5
fi
# This section was generated by a script. Do not modify the generated file - all changes
# will be lost the next time file is regenerated. Instead edit the BootLoaderSpec files.
#
# The blscfg command parses the BootLoaderSpec files stored in /boot/loader/entries and
# populates the boot menu. Please refer to the Boot Loader Specification documentation
# for the files format: https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec/.
set default_kernelopts="root=/dev/mapper/fedora_storm-root ro rd.lvm.lv=fedora_storm/swap nomodeset rd.md=0 rd.dm=0 rd.lvm.lv=fedora_storm/root rd.luks=0 vconsole.keymap=us rhgb audit=0 "
insmod blscfg
blscfg
### 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 ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
### 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 ###
I would check cat /etc/fstab
.
Looks like I fixed this. I’ll never take Fedora upgrades for granted again. From my other thread affecting a workstation, I ran:
dnf update
dnf update --allowerasing
dnf reinstall shim* grub* kernel*
GRUB_CMDLINE_LINUX
, e.g., erst_disable acpi_mcfg_max_pci_bus_num=on hest_disable bert_disable
in /etc/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg
And voila, back in business.
how can you lunchdnf update? if I lunch dnf command, dracut shell return me command not found
You should start a new thread. If you are seeing Dracut shell you are in emergency mode. Check your logs in /var/log/messages/
You may want to review How to debug Dracut problems