Am 25.02.2018 um 15:27 schrieb Dave Pawson:
Fedora 27

[root@localhost ~]# ls /boot/grub2
grubenv  themes

maybe you have an UEFI system

again: https://wiki.centos.org/HowTos/Grub2
On UEFI-based systems, the command will be grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg

seems grub2 now has it
# cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau
modprobe.blacklist=nouveau rhgb quiet nvidia-drm.modeset=1"
GRUB_DISABLE_RECOVERY="true"

Assuming this works as before, I can increase grub timeout to
something silly, 40 seconds,
also remove the 'rhgb quiet' to get output (though I believe this can
be seen simply by
hitting escape when output is produced).

without grub2-mkconfig that file does nothing

Thanks - centos, but I think Fedora is the same

https://wiki.centos.org/HowTos/Grub2

surely, no idea how you still missed the switch from grub-legacy to grub2 - frankly that was Fedora 16 and now we have 27

https://fedoraproject.org/wiki/GRUB_2

On 25 February 2018 at 14:20, Reindl Harald <h.rei...@thelounge.net> wrote:


Am 25.02.2018 um 15:12 schrieb Dave Pawson:

Maybe (I may be wrong).
I have a note:

#Show the boot information.
#edit /boot/grub/grub.conf
#Remove 'rhbg quiet' from the end of the line  NO LONGER WORKS


because you didn't cope with major changes like grub to grub2 many years ago
but we are *before* the point where the kernel line matters

but grub.conf no longer in /boot?


seriously?

[root@srv-rhsoft:~]$ ls /boot/grub2/grub.cfg
-rw------- 1 root root 5,2K 2018-02-24 03:30 /boot/grub2/grub.cfg

and there you can set the default temporary until the next kernel install

likely GRUB_TERMINAL_OUTPUT="console" in /etc/default/grub doe sthe trick at
this point and you need to run "grub2-mkconfig -o /boot/grub2/grub.cfg" to
regenrate grub.conf *from scratch*

CAUTION: this is a non_EFI system and the file below is from my working
system and likely don't match your needs in every aspect

[root@srv-rhsoft:~]$ cat /etc/default/grub
GRUB_TIMEOUT=1
GRUB_DISTRIBUTOR="Fedora"
GRUB_SAVEDEFAULT="false"
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="video=2560x1140@60 divider=10 audit=0 rd.plymouth=0
plymouth.enable=0 rd.md.uuid=b7475879:c95d9a47:c5043c02:0c5ae720
rd.md.uuid=1d691642:baed26df:1d197496:4fb00ff8
rd.md.uuid=ea253255:cb915401:f32794ad:ce0fe396 rd.luks=0 rd.lvm=0 rd.dm=0
zswap.enabled=0 elevator=cfg selinux=0 net.ifnames=0 biosdevname=0
clocksource=hpet noisapnp noresume hibernate=no kaslr nf_conntrack.acct=1
printk.time=0 nmi_watchdog=0 acpi_osi=Linux vconsole.font=latarcyrheb-sun16
vconsole.keymap=de-latin1-nodeadkeys locale.LANG=de_DE.UTF-8"
GRUB_DISABLE_RECOVERY="true"
GRUB_DISABLE_SUBMENU="true"
GRUB_DISABLE_OS_PROBER="true"


On 25 February 2018 at 14:07, Reindl Harald <h.rei...@thelounge.net>
wrote:



Am 25.02.2018 um 15:03 schrieb Dave Pawson:


Tried (my normal solution).
In this case I'm getting no response to the keyboard, software continues
to load
with default kernel. Hence never get into grub menu?



than you have really other problems - maybe it's because the idiotic
defaults to hide the grub-menu by default

don't remember every step i took years ago to have all that shiny stuff
removed from boot so that it don't hide anything, don't have shiny
backgrounds and graphics, just the pure menu and every boot message
written
to the screen

and that's why all that shiny bullshit at early boot is nonsense


On 25 February 2018 at 13:54, Reindl Harald <h.rei...@thelounge.net>
wrote:




Am 25.02.2018 um 14:47 schrieb Sérgio Basto:



On Sun, 2018-02-25 at 13:42 +0000, Dave Pawson wrote:



Inline comment

On 25 February 2018 at 13:08, Sérgio Basto <ser...@serjux.com> wrote:

Sergio, I'm running F27. Should that be

/bin/kernel-install add 4.14.18-200.fc26.x86_64
/lib/modules/4.14.18-



200.fc27.x86_64/vmlinuz




I.e. fc27 not fc26?




Please run [1] and see what script that you should run

[1]
rpm -q kernel-core --scripts | grep add





     rpm -q kernel-core --scripts | grep add




/bin/kernel-install add 4.14.18-300.fc27.x86_64
/lib/modules/4.14.18-300.fc27.x86_64/vmlinuz || exit $?
/bin/kernel-install add 4.15.3-300.fc27.x86_64
/lib/modules/4.15.3-300.fc27.x86_64/vmlinuz || exit $?
/bin/kernel-install add 4.15.4-300.fc27.x86_64
/lib/modules/4.15.4-300.fc27.x86_64/vmlinuz || exit $?





if you want default boot kernel be 4.14.18 you may run

/bin/kernel-install add 4.14.18-300.fc27.x86_64 /lib/modules/4.14.18-
300.fc27.x86_64/vmlinuz




guys GRUB has a menu and when your screen is wsitching to standby and
don't
come back fast enough just hit randomly cursor up/down which will hit
the
grub menu even if you don't see it and disable the auto selection of
the
first entry

and after you bootet with the desired kernel just uninstall the
non-working
one and you are done
_______________________________________________
rpmfusion-users mailing list -- rpmfusion-users@lists.rpmfusion.org
To unsubscribe send an email to rpmfusion-users-le...@lists.rpmfusion.org

Reply via email to