Grub boot menu gone

Don't worry, I'm happy to try and help.
Let's try a little bit more.
What happens now if you continue with sudo mount /dev/sda5 /mnt/broken etc.? You still get the error above?

Grazie mille,

Here is the full terminal output up to this point.

Do note the last part with the grub, i already ran, i can try an boot into uefi to check if it changed something this time if you need the info

Yes, maybe try to boot into the uefi and also to see if you now get to the grub.
But I don't think so honestly.
In that (negative) case, my last chance would be to chroot again and try instead with:

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=garuda --no-nvram --removable

Uefi shows nobootable except the windows

Trued this command says failed to find canonical path of /boot/grub

And after

Mcfly importing shell history.

I'm sorry...
The very last one :slight_smile:
when you're out of the chroot (type exit if you're in), try:

sudo modprobe efivarfs

And then, when into chroot, the "old"

grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=garuda --recheck
update-grub

Then, how do you say in English? I'm at wit's end? :frowning:

 garuda@garuda in ~ as πŸ§™ took 749ms
[πŸ”΄] Γ— sudo update grub
:: Synchronizing package databases...
error: failed to synchronize all databases (no servers configured for repository)

Refreshing mirrorlists using rate-mirrors, be patient please..
:: Synchronizing package databases...
 core                                  139.0 KiB   517 KiB/s 00:00 [------------------------------------] 100%
 extra                                1555.1 KiB  1072 KiB/s 00:01 [------------------------------------] 100%
 community                               6.0 MiB  1950 KiB/s 00:03 [------------------------------------] 100%
 multilib                              149.0 KiB   575 KiB/s 00:00 [------------------------------------] 100%
 chaotic-aur                          1734.8 KiB   274 KiB/s 00:06 [------------------------------------] 100%

Checking for keyring update before starting full system update..
warning: garuda-hotfixes-1.0.4-1 is up to date -- skipping
warning: chaotic-keyring-20210617-2 is up to date -- skipping
resolving dependencies...
looking for conflicting packages...

Packages (1) archlinux-keyring-20220118-1

Total Download Size:   1.01 MiB
Total Installed Size:  1.43 MiB
Net Upgrade Size:      0.07 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 archlinux-keyring-20220118-1-any     1032.2 KiB  2.38 MiB/s 00:00 [------------------------------------] 100%
(1/1) checking keys in keyring                                     [------------------------------------] 100%
(1/1) checking package integrity                                   [------------------------------------] 100%
(1/1) loading package files                                        [------------------------------------] 100%
(1/1) checking for file conflicts                                  [------------------------------------] 100%
(1/1) checking available disk space                                [------------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
IO Error (subvolume is not a btrfs subvolume).
==> root: 
:: Processing package changes...
(1/1) upgrading archlinux-keyring                                  [------------------------------------] 100%
==> Appending keys from archlinux.gpg...
==> Disabling revoked keys in keyring...
  -> Disabled 5 keys.
==> Updating trust database...
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 786C63F330D7CB92: no user ID for key signature packet of class 10
gpg: key 1EB2638FF56C0C53: no user ID for key signature packet of class 10
gpg: key 1EB2638FF56C0C53: no user ID for key signature packet of class 10
gpg: marginals needed: 3  completes needed: 1  trust model: pgp
gpg: depth: 0  valid:   1  signed:   9  trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: depth: 1  valid:   9  signed:  94  trust: 0-, 0q, 0n, 9m, 0f, 0u
gpg: depth: 2  valid:  85  signed:  34  trust: 85-, 0q, 0n, 0m, 0f, 0u
gpg: next trustdb check due at 2022-05-06
==> Updating trust database...
gpg: next trustdb check due at 2022-05-06
:: Running post-transaction hooks...
(1/6) Arming ConditionNeedsUpdate...
(2/6) Foreign/AUR package notification
hwids 20210613-1
(3/6) Orphaned package notification...
=> No orphans found.
(4/6) Checking for .pacnew and .pacsave files...
(5/6) Performing snapper post snapshots for the following configurations...
Invalid snapshot '--type'.
==> root: 
(6/6) Syncing all file systems...
:: Starting full system upgrade...
:: Replace hwids with core/hwdata? [Y/n] y
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: jack2 and pipewire-jack are in conflict

 garuda@garuda in ~ as πŸ§™ took 1m52s
[πŸ”΄] Γ— 

Pare tempo di reinstallare il sistema di tutto XD

Altough this is a different set of warning errors than last time

Here you are executing update command, and in the live USB, I think, so you are not touching your installed system. I see garuda@garuda, while you should be in chroot for the steps above, whose last one is update-grub.

Neither through ch root. Pops that its installing and that no errors are reported.

I feel bad taking up your time like this.

I should just reinstall and read up on the ch root compqred to root to understand better what im doing. Seems I am missing some mental "dependencies" here.

I don't know, whatever you prefer.
There's something strange that I'm missing.
This kind of errors:

EFI variables are not supported on this system.
grub-install: error: efibootmgr failed to register the boot entry: No such file or directory.

Are normally due to either booting in legacy mode or you have to disable CSM. But I think you have tried them all.
I also thought to disable fast boot but I guess you tried that as well...

I think Filo is saying these two commands:

were supposed to be done in chroot.

The second command update-grub was entered without a hyphen (update SPACE grub was entered), so the terminal started with update as its own command and tried to run an update.

2 Likes

I did. Was the first thing i checked.

Reinstall it is.

Again thank you for your time and effort. I really appreciate it.

Edit. Ill try these you mentioned and if it works ill let you know.

1 Like

Don’t forget to turn legacy mode off in the BIOS! I know you tried it both ways already, but unless you specifically need it I think it mostly tends to create problems.

1 Like

So i ran these commands with the corrected typos. No luck.

I rebooted and rechecked if im in uefi mode and still no luck.

I would say we can safely assume murphy is having one of his days.

Again guys. Thank you very much for your time and effort. I really appreciate it.

Little update.

Get this. I go to reinstall garuda.

It doesnt work.

I reinstall

doesnt work.

Not present in the uefi at all.

So i go i to windows. I delete the partition.

And install it over an unallocated partition.

It shows.

And now im in.

Question. It should be possible by logic, but the version of my windows is the 20h2 a version that had issues with deleting files of the system.

Could it be that somehow it deleted something from another partition?

1 Like

Windows has been known to mess up EFI partitions. A general piece of advice I have seen mentioned many times for Windows/Linux dualboot setups is to install Windows first, then install anything else afterward to piggyback on the Windows EFI because of that.

Once it is installed and working, it doesn't seem like it should be able to mess up system files from another OS on another partition, but who knows? Windows often does strange things to system files even when it is the only OS on the disk, so it's hard to say.

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.