Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-08-2021, 11:38 AM
|
#1
|
Member
Registered: Dec 2005
Location: Spain
Distribution: Zorin/Big Linux OS
Posts: 39
Rep:
|
Grub refusing to show some Hard disks and or partitions
Problem with Grub not showing all disks or partitions. This was after trying to install Garuda OS. As I seemed to have had to change the BIOS setting from Legacy-UEFI mode to just UEFI. I did this and installed Garuda but had various issues with it and uninstalled. I replaced it with trusty Mint 20.1. So on starting the computer the Grub shows Mint and Ubuntu in the list but does not show Windows 10.
I returned the Bios to Legacy-UEFI prior to installing Mint, as the Bios was not showing all the Disks, now it does but not on Grub. I tried a Boot Disk repair but this made no difference.
Here is the setup
sda1 Ubuntu
sdb1 Linux Mint
sdac1 Backup Disk
sdd1 EFI fat32
sdd2 Microsoft Reserved
sdd3 Basic data
sdd4 NTFS (No other label)
I am running a AMD Ryzen 5 2400 G
Bios MSi Click Bios 5
I need advice on how to reset the system so it shows all disks on Grub.
Any advice most gratefully received
Stephen
|
|
|
04-08-2021, 12:41 PM
|
#2
|
Moderator
Registered: Aug 2002
Posts: 26,630
|
The grub menu does not show disks or partitions, it shows a list of operating systems to boot when the system starts.
Usually one operating system has "control" over the boot loader with a dual+ boot system and you can update its menu configuration via the update-grub command.
https://itsfoss.com/update-grub/
Postscript: Technically grub can show disks and partitions but that is from its command line interface but I am assuming it not the question.
|
|
1 members found this post helpful.
|
04-08-2021, 12:53 PM
|
#3
|
Senior Member
Registered: Oct 2003
Location: Elgin,IL,USA
Distribution: KDE Neon
Posts: 1,258
|
What partition and type grub is installed on will affect what it can see. I suspect that when you installed Mint it installed as UEFI, so you cannot see Windows on the old bios partition. Or vise-versa, Mint is old bios partition and Windows is UEFI.
I had an issue like this setting up dual boot when the bios was set to legacy-uefi. Windows would install in one format, and Linux in the other and grub would only see OS.
Set the bios to one mode or the other for dual booting, not both.
|
|
1 members found this post helpful.
|
04-08-2021, 06:11 PM
|
#4
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,357
|
+1 utek.
Bit interesting that Win10 was in legacy-UEFI - might imply it was an upgrade from Win7 at some time past.
|
|
1 members found this post helpful.
|
04-08-2021, 07:41 PM
|
#5
|
LQ Veteran
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,808
|
open a terminal and post the output of the following:
Code:
sudo parted -l
cat /sys/firmware/efi
|
|
1 members found this post helpful.
|
04-08-2021, 11:19 PM
|
#6
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,413
|
You might find simply running update-grub or grub-mkconfig from Mint or Ubuntu will regenerate the boot menu and include Windows. First ensure os-prober is not disabled in each's /etc/default/grub.
Having both Mint and Ubuntu on the same UEFI PC can be troublesome. Both by default use the same filenames on the ESP partition, in a directory named ubuntu. This facilitates each usurping boot control from the other every time a new kernel is installed, or otherwise os-prober is run. Each can be made unique via GRUB_DISTRIBUTOR= in /etc/default/grub. Simply replace the content between the quote marks with any unique string you choose, such as ubuntu2004 or mint21, then perform a Grub update. The consequence will be each using a unique directory on the ESP. It won't stop outright usurpation, but other perplexing boot anomalies may be avoided.
|
|
1 members found this post helpful.
|
04-09-2021, 11:32 AM
|
#7
|
Member
Registered: Dec 2005
Location: Spain
Distribution: Zorin/Big Linux OS
Posts: 39
Original Poster
Rep:
|
Thank you to all those that have written a reply. I did try some of the suggestions and I think UTECK is probably correct. My only problem now is which OS to delete and reinstall, with the correct settings.
Best wishes to you all.
Stephen
|
|
|
All times are GMT -5. The time now is 12:50 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|