LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-21-2024, 07:41 PM   #16
cahlucas
Member
 
Registered: Dec 2019
Posts: 41

Original Poster
Rep: Reputation: Disabled

Below are the files as far as I know that play a role in this. I have omitted comments contained in the files and have only shown what is relevant. The custom.cfg file has been newly added due to the new OpenBSD menu entry, and the rest has been returned to its original state as shown.

/etc/default/grub:
GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=MENU
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

/etc/default/grub.d/50_linuxmint.cfg:
#! /bin/sh
set -e
GRUB_DISTRIBUTOR="ubuntu"
GRUB_DISABLE_OS_PROBER=false

/boot/grub/custon.cfg:
menuentry "OpenBSD" {
set root(hd1,4)
chainloader +1
}
 
Old 03-22-2024, 08:29 PM   #17
cahlucas
Member
 
Registered: Dec 2019
Posts: 41

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
If you create a custom.cfg file that loads the BSD kernel directly instead of chainloading, are the arrows still inoperable? Does a stab or two or three of NUM produce any difference?
I don't know how to address the OpenBSD kernel directly instead of via chainloading.
 
Old 03-22-2024, 10:12 PM   #18
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,810
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Quote:
Originally Posted by cahlucas View Post
I don't know how to address the OpenBSD kernel directly instead of via chainloading.
It seems others do: Google.
 
Old 03-24-2024, 11:10 AM   #19
cahlucas
Member
 
Registered: Dec 2019
Posts: 41

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
It seems others do: Google.
When 'c' is pressed I don't get a command line. If I press 'c' in the grub menu, the menu bar jumps to OpenBSD and stays there, neither the arrow keys, some TABs, or any other keys can move the menu bar. The latter also applies if I don't press 'c'. Both OS's can be booted, only the arrow keys do not work. As the article indicated, I created a /grub directory in OpenBSD and placed the suggested file in it. After a reboot, nothing has changed, so the error remains as it is.
 
Old 03-24-2024, 06:27 PM   #20
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,810
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Are we dealing with an MBR installation here, or UEFI? If UEFI, what does tree -ha /boot/efi report? (adjust location as required if rescue booted.)

Is Mint's (Ubuntu's) current Grub 2.06 the only Grub that has ever written to disk? If not, what did, and how long ago? Maybe it's time to reinstall Grub, not just update grub.cfg, custom.cfg and/or /etc/grub.conf.d/. ???
 
Old 03-25-2024, 03:39 PM   #21
cahlucas
Member
 
Registered: Dec 2019
Posts: 41

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
Are we dealing with an MBR installation here, or UEFI? If UEFI, what does tree -ha /boot/efi report? (adjust location as required if rescue booted.)
This is a MBR install, not an UEFI.

Quote:
Is Mint's (Ubuntu's) current Grub 2.06 the only Grub that has ever written to disk? If not, what did, and how long ago? Maybe it's time to reinstall Grub, not just update grub.cfg, custom.cfg and/or /etc/grub.conf.d/. ???
Its grub v 2.04. It is a fresh install, Linux mint 20.2, then upgrated to 21.2. How do I install grub v 2.06?

Last edited by cahlucas; 03-25-2024 at 03:41 PM.
 
Old 03-26-2024, 08:22 AM   #22
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,516

Rep: Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492Reputation: 2492
Did you try plugging the keyboard into various USB ports? Check they were all unobstructed? Using a USB3 keyboard? USB3 port? Enable Legacy USB support or USB keyboard support in the BIOS? Do the Page UP/Down keys work? Do the arrow keys work when you access the BIOS?
 
1 members found this post helpful.
Old 03-26-2024, 07:05 PM   #23
cahlucas
Member
 
Registered: Dec 2019
Posts: 41

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by yancek View Post
Did you try plugging the keyboard into various USB ports? Check they were all unobstructed? Using a USB3 keyboard? USB3 port? Enable Legacy USB support or USB keyboard support in the BIOS? Do the Page UP/Down keys work? Do the arrow keys work when you access the BIOS?
The arrow keys work in the BIOS, as well as in programs such as nano and less in OpenBSD and Linux. Other keys also work normally. USB is V2.0, both keyboard and connections. Therefore, it cannot be due to the USB connection or the keyboard.
 
Old 03-27-2024, 08:42 PM   #24
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,810
Blog Entries: 1

Rep: Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068Reputation: 2068
Quote:
Originally Posted by cahlucas View Post
Its grub v 2.04. It is a fresh install, Linux mint 20.2, then upgrated to 21.2. How do I install grub v 2.06?
The Mint 21.3 Virginia I currently have booted has Grub v2.06-2ubuntu14.4. You may not need to do anything more than get your Mint fully up-to-date.
 
Old 03-28-2024, 03:02 PM   #25
cahlucas
Member
 
Registered: Dec 2019
Posts: 41

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mrmazda View Post
The Mint 21.3 Virginia I currently have booted has Grub v2.06-2ubuntu14.4. You may not need to do anything more than get your Mint fully up-to-date.
I updated V21.2 to 21.3, but still have grub V2.04. I don't know how that is possible, but the question remains: How can I upgrade/reinstall grub?
 
Old 03-28-2024, 03:17 PM   #26
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,855

Rep: Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311Reputation: 7311
what will apt policy grub2-common say?
 
Old 03-28-2024, 05:12 PM   #27
cahlucas
Member
 
Registered: Dec 2019
Posts: 41

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by pan64 View Post
what will apt policy grub2-common say?
grub2-common:
Installed: 2.06-2ubuntu7.2
Candidate: 2.06-2ubuntu7.2
Version table:
*** 2.06-2ubuntu7.2 500
500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
100 /var/lib/dpkg/status
2.06-2ubuntu7 500
500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages

But above the menu it says: grub v2.04.

Last edited by cahlucas; 03-28-2024 at 05:14 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Ubuntu 12.04 computer's arrow keys, page-up and page-down keys suddenly freeze julianvb Linux - Software 7 06-20-2014 06:33 AM
Infinite Grub Loop: GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB... beeblequix MEPIS 2 11-02-2013 10:56 PM
Arrow keys won't work in Boot Menu mickeyboa Fedora 1 10-26-2010 01:54 PM
Grub not sensing arrow keys in FC7 knikhil271083 Linux - Hardware 2 04-29-2008 04:07 AM
Shift-arrow and Alt-arrow keys don't work in xterm Aviv Hurvitz Linux - General 2 09-30-2006 03:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration