TLDR: My BIOS no longer recognizes my Garuda partition, although the Garuda partition seems perfectly fine. Boot repair on a USB was unable to mount /boot/efi with ESP when I tried to fix this.
I originally was dual booting Windows 10 and Ubuntu, and I recently decided to try out Garuda dr460nized KDE on a third partition. Everything installed fine and worked fine.
Due to a relatively unrelated issue, I had a temporary config issue that ultimately led me to reboot the computer with the power button, (the screen was nothing but black upon logging in, but turning the computer off and on again with the power button fixed it). Afterward, everything worked fine (with Windows, Ubuntu, and Garuda), except that I noticed I was unable to access my BIOS with F2, which I had previously been able to do.
Ultimately, I ended up booting Windows in recovery mode. This allowed me to access the BIOS again, however BIOS only recognized the Windows and Ubuntu partitions. The Garuda partition seems fully intact, though. I can still access my files in Garuda from Ubuntu, and a USB with Garuda was able to see my Garuda partition and let me boot into it.
My goal is to fix my BIOS so that it sees my Garuda partition, so that I don't need a USB to access the Garuda grub menu. When I tried using the boot repair from a USB, it was unable to mount /boot/efi.
Any help would be appreciated. I'm relatively new to using Linux. I don't want to always have to boot garuda from a USB, nor do I want to have to reinstall the entire OS every time I need to use Windows recovery mode.
logging in means what? User login / BIOS login (if youâd set BIOS password) / âŚ? If you mean user login after booting into Garuda (from SDDM / TTY / ⌠) then cannot create problems with BIOS.
This means youâre BIOS got corrupted or updated. Have you recently updated BIOS? If thatâs done without completing, then this might happen. It may also be that you installed wrong version of BIOS. Thatâs why you should specify what you did to make this happen. This is related to BIOS, not Garuda and Garuda canât fix it.
This problem happened to me too. Maybe this is from Garudaâs side .
This is maybe related
When I tried to mount with sudo mount /dev/sda1 /mnt it didnât mount giving an error (I donât remember it but it was something with filesystem). But udisksctl mount -b /dev/sda1 mounted it successfully.
You may try just mounting the EFI partition with udisks and check if you have Garudaâs entry.
To clarify, BIOS works fine now after booting into Windows recovery mode. Itâs just that Garuda is no longer visible in BIOS. BIOS only shows my Ubuntu and Windows partitions, as well as a USB if plugged in. However, using a USB, Iâm still able to boot into my original Garuda partition by selecting âDetect EFI bootloadersâ from the first Welcome to Garuda menu on the USB.
User login into Garuda. This occurred after I changed my /etc/profile in an attempt to get chinese input to work. I have no idea what the BIOS issue was originally from.
When I tried udisksctl mount -b /dev/nvme01p1 (the EFI partition) while running Garuda on the USB, it gave me an error saying something like it was unable to find that partition.
I ended up reinstalling Garuda. It worked for a bit, but then windows crashed at one point, and holding the power button caused windows recovery mode to kick in and mess with my BIOS again. Note that I had backed up my original EFI partition, but it seems Garuda boot repair only restores for MBR or PBR, and not ESP. Here are the results from running those commands from the installation USB.
Iâm guessing youâve heard the quote about insanity being the repetition of the same actions, yet expecting a different result.
The reason we generally refrain from providing official support for dual booting with Windows is precisely for these issues. Windows is prone to breaking Linux installs. If you insist on installing Windows this is your cross to bear not ours.
@johngilbert2000 some of your statements just arenât making sense.
For one thing, Windows does NOT modify your BIOS; the only way it could, is if youâre running a BIOS update from windows â but itâs the bios update modifying your bios, not windows.
My BIOS no longer recognizes my Garuda partition
The motherboardâs BIOS recognizes hard drives, not partitions; the operating system(s) manages partitions.
Ultimately, I ended up booting Windows in recovery mode. This allowed me to access the BIOS againâŚ
This is another statement that doesnât help to clarify the problem youâre having. Windows has nothing to do with your BIOS, entering ârecovery modeâ should have no impact on getting into your BIOS screen at boot to change settings.
Being able to get into your âF2â boot screen to view/change BIOS settings has NOTHING to do with Windows; BIOS settings are stored on the physical motherboard, not in Windows.
IMO: Youâre asking for trouble trying to run 3 OSâs on one computer. Do you have two hard drives?
Installing a 2nd Linux using the same boot (EFI) partition might be causing some grub files to be overwritten; you may need to manually add Garudaâs boot information grub.
How to Edit GRUB with GRUB Customizer:
DOES YOUR GRUB MENU GIVE YOU THE OPTION TO BOOT INTO Windows, Ubuntu, AND Geruda?
Windows, Ubuntu, or Garuda CANNOT modify your BIOS; only you can do that.
Windows recovery mode is for repairing windows, or to make it boot; nothing more â not to repair Ubuntu or Garuda.
Thank you everyone for your replies. I think Iâll just stick with Ubuntu and Windows dual booting for now, because that seems to not be giving me any issues. I will say Garuda was fun to play around with, and if/when I feel that I donât need Windows, I will probably switch to Garuda.
Yes, until I press and hold the power button for 10 seconds. Then Garuda disappears from the BIOS, and the only grub menu I can access is my original Ubuntu grub menu, which only contains Ubuntu and Windows. (Note, however, that if I boot from a Garuda installation USB, and select âDetect EFI bootloaders,â then I can still select my original Garuda efi and access my original Garuda grub menu).
Well, when I press and hold the power button for 10 seconds, my BIOS reverts to factory settings. I had assumed that that was from Windows recovery mode, but I suppose I could be wrong. (For example, AHCI switches back to Optane without RAID, Windows Fast Boot and Secure Boot get turned on, Windows gets moved to the top of boot priority, and Garuda Linux disappears entirely in the BIOS, etc.). It would be nice if I knew how to turn off this behavior.
Unfortunately I do not have extra HDDs in this laptop, but I will keep that in mind for the next computer I buy.
Itâs easy. Donât do this.
You can select any installed OS using Quick Boot menu, that any UEFI/BIOS provide (you have to find the key combination). Have you read the Userâs manual?
Technically, doing a HARD reboot (holding the power button for 10 secs), should NOT ever reset your BIOS back to factory settings; Iâve never heard of that happening before.
A soft reboot is using your UI or terminal to reboot the computer normally. A hard reboot risks you loosing data and/or corrupting files; especially in Windows.
BIOS (Basic Input/Output System), is firmware that is â literally â physically mounted to your motherboard; it has nothing to do with your operating system.
If Garuda disappears from your boot options, thatâs your boot-loader (GRUB); or another problem â not your BIOS.
A hard-reboot should not reset your BIOS. Iâm not sure whatâs wrong, but something isnât making sense here.
Does your BIOS sometimes seem to reset back to defaults, even when you have not done a hard reboot? Hard reboot being, holding down the power button for about 10 secs until it powers off.
HDD:
You said youâre using one physical HDD correct?
Are you using a GPT or MSDOS partition table?
If you have a single HDD, itâs likely âsdaâ in your partition manager. Please check to see if youâre using GPT or MSDOS parition table; if you donât know.
fdisk -l /dev/sda
This command will list your partition table and partitions, please post the resultsâŚ
For reference: fdisk - ArchWiki
On with Triple-Booting:
Iâve nearly always used dual-booting OSâs on computers, starting with Win95 and WinNT. But never triple booted.
This reference is meant to keep in mind that youâre using Windows with two different versions of Linux, but the reference is regarding dual-booting with 2 Linuxes; so keep in mind you got Windows too.
As mentioned in the above link; between two Linuxes, you can share a /home partition between the two â but not the root partition.
From personal experience, I would discourage you from using extended and logical partitions; if youâre using a MS-DOS partition table. Iâve had problems with data loss when using logical partitions.
IMO: If you really enjoy testing out Garuda, you might want to replace Ubuntu with Garuda; at least itâd save you the headache of trying to triple-boot â not to mention the excessive amount of partitions youâd have to use with 3 operating systems on one physical HDD.
Dead-set on triple-booting? Worst case: you could always install Garuda to a large USB drive or external HDD; with leaving room for making backups on a separate partition, if using an external HDD.
INFORMATION I NEED FROM YOU:
(1) The exact make and model # of your laptop (eg: Dell Inspiron 5735).
(2) BIOS version (you can get this from your BIOS screen (eg: F2); youâre looking for the version #.
(3) Helpful to also have your hard drive model # if possible.
Is your boot orderâs first entry Garuda or Ubuntu? Can you select Garuda in BIOS/UEFIâs boot order?
Ubuntuâs GRUB entry is different than Garudaâs, unless you create a common boot partition for all the Linux installs. Usually, unless you create a seperate boot partition, Ubuntuâs /boot is stored in Ubuntuâs partition and 'Garudaâs /boot is in Garudaâs partition, both are different. Why you donât see Garuda could be that you booted into Ubuntuâs GRUB instead of Garudaâs GRUB and Ubuntu doesnât know youâve installed Garuda unless you let it know by update-grub after installing Garuda.
AFAIK, updating GRUB (update-grub) does not touch a single thing in the EFI partition, It only updates the /boot, not/boot/efi.
What if my computer crashes? Aside from just leaving it on until the battery dies, the only way to turn it off in the event of a crash is a hard reboot, as far as I know.
Not sure if my computer came with a User manual that discussed BIOS stuff. If it did, it was all in Chinese, and I didnât bother reading it, because Chinese isnât my native language.
And yet it happens. For instance, before installing any Linux partitions, I switched my SATA mode from âOptane without RAIDâ to âAHCIâ in the BIOS menu, but whenever I do a hard reboot, it switches it back to âOptane without RAID.â
Only when I hard reboot.
Correct.
Typing fdisk -l in Ubuntu yields the following:
Disk /dev/loop0: 207.2 MiB, 217079808 bytes, 423984 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
...
Disk /dev/loop7: 51.4 MiB, 53522432 bytes, 104536 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/nvme0n1: 476.96 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: KINGSTON RBUSNS8154P3512GJ1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 84DFC3C9-B29C-49B5-8813-8FB55E5B966D
Device Start End Sectors Size Type
/dev/nvme0n1p1 2048 206847 204800 100M EFI System
/dev/nvme0n1p2 206848 239615 32768 16M Microsoft reserve
/dev/nvme0n1p3 239616 335335423 335095808 159.8G Microsoft basic d
/dev/nvme0n1p4 499175424 501272575 2097152 1G Windows recovery
/dev/nvme0n1p5 501272576 507666431 6393856 3.1G Microsoft basic d
/dev/nvme0n1p6 507666432 1000214527 492548096 234.9G Linux filesystem
/dev/nvme0n1p7 335335424 499175423 163840000 78.1G Linux filesystem
Partition table entries are not in disk order.
Disk /dev/loop7: 51.4 MiB, 53522432 bytes, 104536 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
...
Disk /dev/loop17: 65.1 MiB, 68259840 bytes, 133320 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
So⌠GPT.
I originally wanted to try Garuda out in virtualbox to see if it would be a good replacement for Ubuntu, but Garuda doesnât work as well in virtualbox, so I put it on a smaller partition to play around with it (78.1 GB). These issues I encountered though didnât really inspire confidence.
If youâre sure that this is a triple boot issue, I may consider replacing Ubuntu with Garuda.
The boot orderâs first entry was Garuda, until it disappeared from the BIOS/UEFIâs boot order menu from a hard reboot. Now itâs just Ubuntu, followed by Windows. I will post a picture momentarily.
Not anymore.
Correct.
Didnât know I could update-grub like that. Iâll try it out. Is there anything I should be aware of before running update-grub?
But yeah, itâs booting into Ubuntuâs grub now, because Garuda doesnât even show up in the BIOS boot order menu. The only way to access Garudaâs grub is through a USB.
Since you donât have a BIOS or EFI entry of Garuda, itâs waste of trying this
Unfortunately the problem is with the BIOS itself. I donât know if it can be fixed. This kind of issue is out of the scope of Linux, as this is being done before Linux even starts.
Edit: Can you still boot into Garuda by booting it with the help of live USB?
Edit2: Hasnât this ever happened with Ubuntu (you forced power-off and Ubuntu vanished)?