LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-16-2023, 05:43 PM   #1
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Rep: Reputation: 24
update grub2 issue


I waited almost a year before upgrading my laptop and desktop to 22.04lts to avoid the update blues. However after using Linux operating Systems since 2206 without issue... I blew it! My lap top upgraded through the internet but my Dell Optiplex 7010 refused to upgrade this way. I downloaded 22.04 and did a fresh install. However my Fedora 36 on the Dell Tower is not listed in the boot screen GRUB. I have tried updating grub2 in the terminal but Fedora is not found.

When I search the files, the Fedora files appear to be the same as on my T420 lap top. Any help, after almost7 months will be appreciated.

Bill Taylor
Killer Spade 806
Vietnam
 
Old 06-16-2023, 06:59 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
add GRUB_DISABLE_OS_PROBER=false to /etc/default/grub and/or remove the # at the beginning of the line if it exist and rerun update-upgrade

Last edited by colorpurple21859; 06-16-2023 at 07:00 PM.
 
1 members found this post helpful.
Old 06-17-2023, 05:20 PM   #3
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by colorpurple21859 View Post
add GRUB_DISABLE_OS_PROBER=false to /etc/default/grub and/or remove the # at the beginning of the line if it exist and rerun update-upgrade
Thank you, Brother. I knewit was simple but I failed to find it.
 
Old 06-17-2023, 05:47 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
What cold possibly be the motivation for a default like that ?.
 
Old 06-17-2023, 05:54 PM   #5
goumba
Senior Member
 
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Fedora, OpenSUSE, FreeBSD, OpenBSD, macOS (hack). Past: Debian, Arch, RedHat (pre-RHEL).
Posts: 1,335
Blog Entries: 7

Rep: Reputation: 402Reputation: 402Reputation: 402Reputation: 402Reputation: 402
Quote:
Originally Posted by syg00 View Post
What cold possibly be the motivation for a default like that ?.
To disable os_prober? Under some storage configurations it can hang and never complete. I had such an instance years back with Tumbleweed using LVM+ext4 instead of btrfs (the default, I was stubborn about btrfs at the time). os_prober would always hang during detection of the lvm volumes, and I could never update kernels until I reinstalled.
 
Old 06-17-2023, 06:17 PM   #6
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,354

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
add a chainloader entry to /etc/grub.d/40_custom similar to this:
Code:
menuentry 'fedora' {
set root=(hd0,1)
chainloader /EFI/fedora/grubx64.efi
}
and run update-grub. This is assuming the system is a uefi system and the efi partition is the first partition of the first drive.
 
Old 06-17-2023, 08:16 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,130

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Never had a problem. All my systems are multi-boot (not dual) - I would be seriously cranky with this as a default.
 
  


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
Revert grub2-efi to grub2-bios Atmchicago Fedora 1 03-24-2014 01:24 AM
[SOLVED] OpenSuSe12.3 - Help Fix Grub2 Syntax Errors (was - Replace Grub2 w/ Lilo) enorbet SUSE / openSUSE 9 12-08-2013 04:09 AM
grub2 can't see my win 7 partition and yast2 bootloader can't reinstall grub2 jjrojaspy SUSE / openSUSE 5 07-07-2013 10:38 PM
kcm-grub2 - No valid GRUB2/BURG installation could be detected cristi92b Linux - Newbie 2 06-14-2012 08:01 AM
[SOLVED] GRUB2 after a minor update of GRUB2 /boot prefix no longer needed?? wikapuki Linux - Software 1 10-24-2010 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:53 AM.

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