Re: GRUB2 removing args "quiet" "rhgb" - grubby doesn't work

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

 



Hi

On Sat, 14 Mar 2020 22:23:41 +1100 Philip Rhoades wrote:

> # cat /etc/default/grub
...
> GRUB_CMDLINE_LINUX="resume=UUID=d98a1bbc-fdaf-484c-9dc9-2f5fd062077d"
...
> GRUB_ENABLE_BLSCFG=true

With this, grub2-mkconfig will generate in /boot/grub2/grub.cfg (your
previous trace shows that your machine is not using EFI):

### BEGIN /etc/grub.d/10_linux ###
...
# 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=UUID=XXX YYY"

insmod blscfg
blscfg
### END /etc/grub.d/10_linux ###

Where XXX is the UUID of the rppt filesystem, and YYY is deduced from
GRUB_CMDLINE_LINUX present in /etc/default/grub
Ex: 

  set default_kernelopts="root=UUID=509e4d95-a5f5-40e6-94e9-8bbff77f32cd resume=/dev/disk/by-uuid/d16bbc09-698b-4e97-9aa0-c37328b36422 "

then, in my case, the /boot/loader/entries/* files only use the
default_kernelopts

Ex:

  title Fedora (5.5.6-201.fc31.x86_64) 31 (Thirty One)
  version 5.5.6-201.fc31.x86_64
  linux /boot/vmlinuz-5.5.6-201.fc31.x86_64
  initrd /boot/initramfs-5.5.6-201.fc31.x86_64.img
  options $kernelopts
  grub_users $grub_users
  grub_arg --unrestricted
  grub_class kernel


Check if those files differ from mine, ex: set options differently.

> # [ -d /sys/firmware/efi/efivars ] && grub2-mkconfig -o 
> /boot/efi/EFI/fedora/grub.cfg || grub2-mkconfig -o /boot/grub2/grub.cfg

> Generating grub configuration file ...

> grub2-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
> grub2-probe: error: cannot find a GRUB drive for /dev/sdb3.  Check your device.map.
> done

Have you checked /boot/grub2/device.map ?

-- 
francis
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@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