http://bugzilla.opensuse.org/show_bug.cgi?id=1101747
Bug ID: 1101747 Summary: no cursor after using e in plain text grub-efi menu Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader Assignee: jsrain@suse.com Reporter: mrmazda@earthlink.net QA Contact: jsrain@suse.com Found By: --- Blocker: ---
Created attachment 777365 --> http://bugzilla.opensuse.org/attachment.cgi?id=777365&action=edit /etc/default/grub and /boot/grub2/grub.cfg from TW host ab250
initial summary: no cursor after using e in plain text grub-efi menu
First noticed in TW20180712 and continues in 20180714.
After entering "e" on any plain text grub-efi boot menu, there is no kind of cursor blinking anywhere, and as a practical matter it's not possible to do any editing of grub stanzas. All keyboard keys seem to work, but without cursor they're virtually useless.
http://bugzilla.opensuse.org/show_bug.cgi?id=1101747 http://bugzilla.opensuse.org/show_bug.cgi?id=1101747#c1
--- Comment #1 from Felix Miata mrmazda@earthlink.net --- I just (multiboot) installed 15.0 on host ab250, and its grub2-efi menu also has no cursor.
http://bugzilla.opensuse.org/show_bug.cgi?id=1101747 http://bugzilla.opensuse.org/show_bug.cgi?id=1101747#c2
--- Comment #2 from Felix Miata mrmazda@earthlink.net --- Selecting debian10 from the UEFI boot menu, e produces the expected cursor in Debian Buster's Grub menu.
# efibootmgr BootCurrent: 0001 Timeout: 1 seconds BootOrder: 0000,0001,0004,0002,0005 Boot0000* opensusetw Boot0001* debian10 Boot0002* UEFI OS Boot0004* opensuse150 Boot0005* tubuntu
http://bugzilla.opensuse.org/show_bug.cgi?id=1101747 http://bugzilla.opensuse.org/show_bug.cgi?id=1101747#c3
Neil Rickert nwr10cst-oslnx@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nwr10cst-oslnx@yahoo.com
--- Comment #3 from Neil Rickert nwr10cst-oslnx@yahoo.com --- Just a note.
I am unable to reproduce this problem. So perhaps it depends on the UEFI firmware.
http://bugzilla.opensuse.org/show_bug.cgi?id=1101747
Jiri Srain jsrain@suse.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|jsrain@suse.com |mchang@suse.com
http://bugzilla.opensuse.org/show_bug.cgi?id=1101747 http://bugzilla.opensuse.org/show_bug.cgi?id=1101747#c4
--- Comment #4 from Felix Miata mrmazda@earthlink.net --- When I boot installation DVD made from 42.3 .iso in uefi mode, normal cursor is present in bootloader edit mode.
http://bugzilla.opensuse.org/show_bug.cgi?id=1101747 http://bugzilla.opensuse.org/show_bug.cgi?id=1101747#c5
--- Comment #5 from Neil Rickert nwr10cst-oslnx@yahoo.com --- What happens when booting the 15.0 installation DVD? Do you get a normal cursor there in edit mode?
http://bugzilla.opensuse.org/show_bug.cgi?id=1101747 http://bugzilla.opensuse.org/show_bug.cgi?id=1101747#c6
--- Comment #6 from Neil Rickert nwr10cst-oslnx@yahoo.com --- When you use the 42.3 DVD, I'm pretty sure that grub2 is using graphic mode rather than text mode. If you go back to graphic mode for your installed system, does the cursor then show up in edit mode?
http://bugzilla.opensuse.org/show_bug.cgi?id=1101747 http://bugzilla.opensuse.org/show_bug.cgi?id=1101747#c7
--- Comment #7 from Felix Miata mrmazda@earthlink.net --- 15.0 DVD has cursor. I don't remember how to get graphic mode, which I don't like, back on the installed system's Grub-EFI.
http://bugzilla.opensuse.org/show_bug.cgi?id=1101747 http://bugzilla.opensuse.org/show_bug.cgi?id=1101747#c8
--- Comment #8 from Neil Rickert nwr10cst-oslnx@yahoo.com --- You can set graphic mode with Yast bootloader. That way you don't have to remember the details.
I see the following lines in "/etc/default/grub", which are probably related: GRUB_TERMINAL="gfxterm" GRUB_GFXMODE="auto"
http://bugzilla.opensuse.org/show_bug.cgi?id=1101747 http://bugzilla.opensuse.org/show_bug.cgi?id=1101747#c9
Felix Miata mrmazda@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|no cursor after using e in |no cursor after using e in |plain text grub-efi menu |plain text grub-efi menu | |with | |GRUB_TERMINAL="console" in | |/etc/default/grub
--- Comment #9 from Felix Miata mrmazda@earthlink.net --- Not uncommenting the /etc/default/grub line
#GRUB_TERMINAL="console"
seems to be sufficient to avoid this problem, but it also seems running yast2 bootloader is inclined to remove the comment as a consequence of not wanting graphical Grub2. It looks like I need to keep an eye on this for a while to try to determine if kernel updates would also cause it to become uncommented.
http://bugzilla.opensuse.org/show_bug.cgi?id=1101747 http://bugzilla.opensuse.org/show_bug.cgi?id=1101747#c10
--- Comment #10 from Felix Miata mrmazda@earthlink.net --- YaST touch on 27 Sept on host ab250 removed "#" from GRUB_TERMINAL line start, and cursor from Grub's edit screen. My intent was a cursory UEFI RAM redo after having done a temporary disk swap for a temporary installation. Restoring the original SDD removed the opensusetw entry from the firmware. /etc/default/grub diff:
--- grub 2018-09-27 13:13:00.000000000 -0400 +++ .grub09 2018-07-24 19:45:41.000000000 -0400 @@ -4,7 +4,7 @@ # info -f grub -n 'Simple configuration'
GRUB_DEFAULT=0 -GRUB_TIMEOUT=14 +GRUB_TIMEOUT=15 GRUB_DISTRIBUTOR="opensusetw" GRUB_CMDLINE_LINUX_DEFAULT="" GRUB_CMDLINE_LINUX="net.ifnames=0 ipv6.disable=1 video=1440x900@60 noresume 3 " @@ -15,12 +15,13 @@ #GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"
# Uncomment to disable graphical terminal (grub-pc only) -GRUB_TERMINAL="console" -#The resolution used on graphical terminal +#GRUB_TERMINAL=console
+# The resolution used on graphical terminal # note that you can use only modes which your graphic card supports via VBE # you can see them in real GRUB with the command `vbeinfo' -GRUB_GFXMODE="auto" +#GRUB_GFXMODE=640x480 + # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux #GRUB_DISABLE_LINUX_UUID=true
@@ -31,4 +32,3 @@ #GRUB_INIT_TUNE="480 440 1"
GRUB_DISABLE_OS_PROBER="true" -GRUB_HIDDEN_TIMEOUT="0"
Rerunning 'grub2-mkconfig -o /boot/grub2/grub.cfg' after putting the "#" back on the GRUB_GFXMODE line did not fix the problem this time. :-(
http://bugzilla.opensuse.org/show_bug.cgi?id=1101747 http://bugzilla.opensuse.org/show_bug.cgi?id=1101747#c11
--- Comment #11 from Felix Miata mrmazda@earthlink.net --- zypper -v in -f grub2 grub2-i386-pc grub2-x86_64-efi solved the problem, at least for now, using this /etc/default/grub:
# If you change this file, run 'grub2-mkconfig -o /boot/grub2/grub.cfg' afterwards to update # /boot/grub2/grub.cfg.
# Uncomment to set your own custom distributor. If you leave it unset or empty, the default # policy is to determine the value from /etc/os-release GRUB_DISTRIBUTOR="opensusetw" GRUB_DEFAULT=saved GRUB_HIDDEN_TIMEOUT=0 GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=15 GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0 ipv6.disable=1 video=1440x900@60 noresume 3 " GRUB_CMDLINE_LINUX=""
# Uncomment to automatically save last booted menu entry in GRUB2 environment
# variable `saved_entry' # GRUB_SAVEDEFAULT="true" #Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains # the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) # GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef" #Uncomment to disable graphical terminal (grub-pc only)
GRUB_TERMINAL="gfxterm" # The resolution used on graphical terminal #note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo' GRUB_GFXMODE="auto" # Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux # GRUB_DISABLE_LINUX_UUID=true #Uncomment to disable generation of recovery mode menu entries
# GRUB_DISABLE_LINUX_RECOVERY="true" #Uncomment to get a beep at grub start
# GRUB_INIT_TUNE="480 440 1" SUSE_BTRFS_SNAPSHOT_BOOTING="true" GRUB_USE_LINUXEFI="true" GRUB_DISABLE_OS_PROBER="true" GRUB_ENABLE_CRYPTODISK="n" GRUB_CMDLINE_XEN_DEFAULT="vga=gfx-1024x768x16"
http://bugzilla.opensuse.org/show_bug.cgi?id=1101747 http://bugzilla.opensuse.org/show_bug.cgi?id=1101747#c12
--- Comment #12 from Felix Miata mrmazda@earthlink.net --- As a consequence of bug 1129328 bootloader needed to be restored. I chose YaST2 to do so. The result was uncommented GRUB_TERMINAL="console" was back in /etc/default/grub, and cursor was gone from Grub2-efi stanza editing. I re-commented it, and 'grub2-mkconfig -o /boot/grub2/grub.cfg' fixed it.
http://bugzilla.opensuse.org/show_bug.cgi?id=1101747 http://bugzilla.opensuse.org/show_bug.cgi?id=1101747#c14
Felix Miata mrmazda@earthlink.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |WORKSFORME
--- Comment #14 from Felix Miata mrmazda@earthlink.net --- This hasn't been a problem for too long to remember -> WFM