[Bug 918028] New: no Grub Legacy shell history
http://bugzilla.opensuse.org/show_bug.cgi?id=918028 Bug ID: 918028 Summary: no Grub Legacy shell history Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: Other 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: --- To reproduce: 1-login root on tty[1-6] on en_US installation 2-grub 3-find /boot/grub/stage1 4-keystroke <UP> Actual behavior: 1-^[[A appears at prompt Expected behavior: 1-find /boot/grub/stage1 appears at prompt Comments: 1-Shell cmdline history works as expected in 13.1, as in all previous openSUSE releases. 2-I recognized this problem many months ago, maybe as much as a year ago, but only just surmised it was almost certainly 13.2 and up Grub Legacy post-0.97-194.1.2 itself rather than having anything to do with kernel, framebuffer configuration, video mode, or files contained in target /boot/grub/. "Downgrading" to 13.1's 0.97-194.1.2 fixes 13.2 and Tumbleweed. 3-Nearly all my Grub stanzas include "splash=verbose vga=791 video=1024x768@60 3 " on cmdline. 4-All my openSUSE installations are on multiboot hardware (no VMs), with keyboards on PS/2 ports. 5-Plymouth is not installed in any of my openSUSE installations. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=918028 Jiri Srain <jsrain@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|jsrain@suse.com |duwe@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=918028 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(mrmazda@earthlink | |.net) | --- Comment #2 from Felix Miata <mrmazda@earthlink.net> --- (In reply to Torsten Duwe from comment #1)
Do I get this right: you want the grub shell to be built with readline support (again)?
I wish it to work like it did, whether that means "readline support" or whatever it takes. It seems strange that ancient technology with no upstream support would have any reason to be significantly changed, as apparently happened with 13.1's grub-0.97-194.1.2.i586.rpm @ 338900 bytes going to 13.2's grub-0.97-200.1.3.i586.rpm @ 535053 bytes. I was very puzzled to see such a change in size, and surprised to see as many changelog entries as occurred between the two.
It was never meant to be used interactively in openSUSE, it was always to "do what I say, install this loader over there". The instructions stored in /etc/grub.conf.
That's simply one use for it. I haven't used grub scripts in many years. AFAICT, only perl-Bootloader and yast2-bootloader use them here.
How are you using the grub shell?
The following man section I learned early on, which describes how I most often use the grub shell. http://www.gnu.org/software/grub/manual/legacy/grub.html#Installing-GRUB-nat... My typical procedure: 1-clone[1] to an empty or no longer useful partition that's already defined in the partition table 2-tune2fs (give the clone a unique UUID and volume label) 3-# grub a-grub> find /boot/grub/stage1 b-grub> root (hd#,{newlocation}) c-grub> <up><home><del><del><del><del>setup<enter> d-grub> quit 4-mount the clone, and on it: a-reconfigure /boot/grub/menu.lst b-reconfigure /etc/fstab c-reconfigure /etc/grub.conf 5-update master bootloader as required to include the clone, both via chainload, via configfile, and via a copy of the default stanza derived from the clone's menu.lst 6-boot the clone [1] Definition of "clone" as used here is as described on http://www.dfsee.com/dfsee/ : "Cloning can make an exact copy of (part of) a partition or disk to another area on the same or another disk. This can be used as a very fast backup facility (speeds of 30 MB/sec are not uncommon) and to move partitions arround."
Or do you mean the grub loader proper?
By this do you mean boot time use? I do use its editing functionality when I've fouled a stanza and wish to proceed to boot the fouled target anyway instead of booting something else to fix the mistake. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=918028 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(mrmazda@earthlink | |.net) | --- Comment #8 from Felix Miata <mrmazda@earthlink.net> --- Grub cmdline history has been restored with 0.97-255.1 installed on 32 bit host gx27b. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=918028 http://bugzilla.opensuse.org/show_bug.cgi?id=918028#c13 --- Comment #13 from Felix Miata <mrmazda@earthlink.net> --- This is not fixed in either TW's 205.1 or 15.0's 150.2.1. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=918028 http://bugzilla.opensuse.org/show_bug.cgi?id=918028#c14 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |stefan.fent@suse.com --- Comment #14 from Felix Miata <mrmazda@earthlink.net> --- lp150.2.2 from 2018-04 on 15.0 OSS doesn't segfault, but it too lacks command history. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=918028 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1164614 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=918028 http://bugzilla.opensuse.org/show_bug.cgi?id=918028#c15 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|13.2 |Leap 15.2 --- Comment #15 from Felix Miata <mrmazda@earthlink.net> --- This fix never made it to Leap. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=918028 http://bugzilla.opensuse.org/show_bug.cgi?id=918028#c16 Felix Miata <mrmazda@earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Hardware|Other |All Version|Leap 15.2 |Leap 15.3 Resolution|FIXED |--- Summary|no Grub Legacy shell |no Grub Legacy shell |history |history in running openSUSE | |grub> shell --- Comment #16 from Felix Miata <mrmazda@earthlink.net> --- Apparently the fix only went into the shell when reached from Grub's boot time menu, before loading any OS, but not from the grub> shell in a booted system, not friendly to my use-case, using it routinely and frequently after cloning operations, no scripting. -- You are receiving this mail because: You are on the CC list for the bug.
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com