Need help reinstall grub

This is what I got

[root@garuda-dr460nized /]# garuda-update
:: Synchronizing package databases...
garuda is up to date
core is up to date
extra                        7.9 MiB  1835 KiB/s 00:04 [------------------------------] 100%
multilib                   137.4 KiB   151 KiB/s 00:01 [------------------------------] 100%
chaotic-aur                778.0 KiB   854 KiB/s 00:01 [------------------------------] 100%

--> Refreshing mirrorlists using rate-mirrors, please be patient..🍵
:: Synchronizing package databases...
garuda downloading...
core downloading...
extra downloading...
multilib downloading...
chaotic-aur downloading...
spawn pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (3) cmake-3.29.5-2  fastfetch-2.15.0-1  microsoft-edge-stable-bin-125.0.2535.92-1

Total Download Size:   232.96 MiB
Total Installed Size:  642.47 MiB
Net Upgrade Size:        0.06 MiB

:: Proceed with installation? [Y/n]
:: Retrieving packages...
fastfetch-2.15.0-1-x86_64  517.8 KiB   613 KiB/s 00:01 [------------------------------] 100%
cmake-3.29.5-2-x86_64       11.5 MiB  2.04 MiB/s 00:06 [------------------------------] 100%
microsoft-edge-stable...   221.0 MiB  2.26 MiB/s 01:38 [------------------------------] 100%
Total (3/3)                233.0 MiB  2.37 MiB/s 01:38 [------------------------------] 100%
(3/3) checking keys in keyring                          [------------------------------] 100%
(3/3) checking package integrity                        [------------------------------] 100%
(3/3) loading package files                             [------------------------------] 100%
(3/3) checking for file conflicts                       [------------------------------] 100%
(3/3) checking available disk space                     [------------------------------] 100%
:: Running pre-transaction hooks...
(1/1) Performing snapper pre snapshots for the following configurations...
fatal library error, lookup self
==> root: 252
:: Processing package changes...
(1/3) upgrading cmake                                   [------------------------------] 100%
(2/3) upgrading fastfetch                               [------------------------------] 100%
(3/3) upgrading microsoft-edge-stable-bin               [------------------------------] 100%
warning: warning given when extracting /usr/share/man/man1/microsoft-edge.1.gz (Can't set permissions to 0777)
:: Running post-transaction hooks...
(1/9) Arming ConditionNeedsUpdate...
(2/9) Updating the MIME type database...
(3/9) Foreign/AUR package notification
electron25 25.9.8-1
enchant1.6 1.6.1-9
icu66 66.1-1
khotkeys 5.27.10-1
kjs 5.115.0-1
kpeoplevcard 0.1-2
kquickcharts5 5.115.0-1
krunner5 5.115.0-1
kwin-scripts-forceblur 0.6.1-1.3
libsidplay 1.36.59-10
libwebp052 0.5.2-2
mcrl2 202307.1-1
mcrl2-debug 202307.1-1
miktex-debug 23.12-1
neovim-nvim-treesitter 0.9.2-1
plasma5-applets-eventcalendar 76-1.4
python-pipe 2.0-2
qtws-base 0.92-1
remnote 1.13.8-1
(4/9) Orphaned package notification...
asciidoc 10.2.0-6
bluez-qt5 5.116.0-1
boost 1.83.0-8
cmake 3.29.5-2
frameworkintegration5 5.116.0-1
gcab 1.6-1
gptfdisk 1.0.10-1
kactivities-stats5 5.116.0-1
kcmutils5 5.116.0-1
kdesu5 5.116.0-1
kdnssd5 5.116.0-1
kdsoap-qt5 2.2.0-1
kfilemetadata5 5.116.0-1
kholidays5 1:5.116.0-1
kidletime5 5.116.0-1
kirigami-addons5 0.11.0-7
kjs 5.115.0-1
knotifyconfig5 5.116.0-1
kpeoplevcard 0.1-2
kquickcharts5 5.115.0-1
krunner5 5.115.0-1
ktexteditor5 5.116.0-1
ldns 1.8.3-2
lib32-libunwind 1.8.1-1
libical 3.0.18-2
libindicator-gtk3 12.10.1-10
libkdcraw5 24.05.0-1
libqaccessibilityclient-qt5 0.6.0-1
libsidplay 1.36.59-10
libsmbios 2.4.3-7
libtermkey 0.22-3
llvm14 14.0.6-4
lua53 5.3.6-2
mcrl2-debug 202307.1-1
miktex-debug 23.12-1
modemmanager-qt5 5.116.0-1
networkmanager-qt5 5.116.0-1
nvidia-cg-toolkit 3.1-6
openfortivpn 1.22.0-1
oxygen-sounds 6.0.5-1
purpose5 5.116.0-1
python-build 1.2.1-3
python-html2text 2020.1.16-10
python-installer 0.7.0-8
python-ply 3.11-13
python-pydantic 2.7.3-1
python-rx 3.2.0-6
qqc2-desktop-style5 5.116.1-1
qt5-script 5.15.17-2
qtws-base 0.92-1
rapidjson 1.1.0-6
re2 1:20240601-1
ripgrep 14.1.0-1
rpcsvc-proto 1.4.4-1
sysfsutils 2.1.1-1
tinycompress 1.2.11-1
wayland-protocols 1.36-1
webrtc-audio-processing 0.3.1-4
xf86-video-intel 1:2.99.917+923+gb74b67f0-2
(5/9) Checking for .pacnew and .pacsave files...
.pac* files found:
/etc/passwd.pacnew
/etc/shells.pacnew
/etc/locale.gen.pacnew
/etc/pam.d/kde.pacnew
/etc/pacman.conf.pacnew
/etc/pacman.d/mirrorlist.pacnew
Please check and merge
(6/9) Updating icon theme caches...
(7/9) Updating the desktop file MIME type cache...
(8/9) Performing snapper post snapshots for the following configurations...
fatal library error, lookup self
==> root: 253
(9/9) Syncing all file systems...
Running in chroot, ignoring command 'start'
Running in chroot, ignoring command 'start'
Failed to connect to bus: No such file or directory
Failed to start transient service unit: Transport endpoint is not connected
[root@garuda-dr460nized /]#

It seems success.
Reboot to confirm no boot problem.
If all is OK, consider checking the two package lists from update output (AUR, orphaned). You may not need them, so uninstall those packages, unless they remove packages you know you need.

2 Likes

Oh my gosh, I can’t thank you enough I can login to Garuda now!!! Thanks for all the time and effort guys.

The only thing is when I originally tried to fix this with Garuda Boot Repair, I accidentally removed Windows from the boot option lists. I know I can just press f12 and choose windows that way, but does anyone know how to get it to appear on the list again?

Is Windows not available in grub menu? It should be.
What description is there in F12 menu for Windows?
Post output of

efibootmgr
1 Like
BootCurrent: 0002
Timeout: 0 seconds
BootOrder: 0002,0001,0003,0004
Boot0000* Windows Boot Manager	HD(1,GPT,ef9c2eeb-725a-46e9-abb5-3db1636cec24,0x800,0x145000)/\EFI\Microsoft\Boot\bootmgfw.efi57494e444f5753000100000088000000780000004200430044004f0042004a004500430054003d007b00390064006500610038003600320063002d0035006300640064002d0034006500370030002d0061006300630031002d006600330032006200330034003400640034003700390035007d0000005f000100000010000000040000007fff0400
Boot0001* UEFI: Sabrent, Partition 1	HD(1,GPT,23fb5d92-9662-4a5d-b730-c10ef99ab09a,0x800,0x145000)/EFI\Microsoft\Boot\bootmgfw.efi0000424f
Boot0002* garuda	HD(1,GPT,23fb5d92-9662-4a5d-b730-c10ef99ab09a,0x800,0x145000)/\EFI\garuda\grubx64.efi
Boot0003* UEFI: Samsung SSD 870 QVO 1TB, Partition 1	HD(1,GPT,65429e5f-6f53-304e-b10b-a68cf8025aa4,0x1000,0x96000)/EFI\boot\bootx64.efi0000424f
Boot0004* UEFI:  USB DISK 2.0 PMAP, Partition 1	PciRoot(0x0)/Pci(0x14,0x0)/USB(1,0)/HD(1,MBR,0x0,0x4e29a4,0x2000)0000424f

Post output from:

sudo grep -iA10 windows /boot/grub/grub.cfg
sudo lsblk -f -o +PARTUUID
╭─izstriker@inspiron7577 in ~ as 🧙 took 4s
[🔴] × sudo grep -iA10 windows /boot/grub/grub.cfg

╭─izstriker@inspiron7577 in ~ as 🧙 took 19ms
[🔴] × sudo lsblk -f -o +PARTUUID
NAME FSTYPE FSVER LABEL                    UUID                                 FSAVAIL FSUSE% MOUNTPOINTS PARTUUID
sda
├─sda1
│    vfat   FAT32                          4E38-566A                                                       65429e5f-6f53-304e-b10b-a68cf8025aa4
└─sda2
btrfs                                 d2cdbdd3-8fc6-4d34-aca1-3d4511cf1264  808.7G    13% /var/tmp    8e8f812d-12b8-e84a-a045-e794ea0997fe
/var/log
/var/cache
/srv
/root
/home
/
sdb  iso966 Jolie GARUDA_DR460NIZED_RAPTOR 2023-10-29-09-55-02-00
├─sdb1
│    iso966 Jolie GARUDA_DR460NIZED_RAPTOR 2023-10-29-09-55-02-00
└─sdb2
vfat   FAT12 MISO_EFI                 B1E2-6D5F
zram0
[SWAP]
nvme0n1
│
├─nvme0n1p1
│    vfat   FAT32 ESP                      20E2-A57F                             581.9M    10% /boot/efi   23fb5d92-9662-4a5d-b730-c10ef99ab09a
├─nvme0n1p2
│                                                                                                          c257fe02-115a-437c-ad51-5e28fbc917d8
├─nvme0n1p3
│    ntfs         OS                       6AB610B8B61086AB                                                fe745adf-bcbe-47e5-9e27-781ec941efc6
├─nvme0n1p4
│    ntfs         WINRETOOLS               E822B90E22B8E32C                                                5dd0d495-34f2-4cce-9cf4-6f00da2dff60
├─nvme0n1p5
│    ntfs         Image                    44C6B9B2C6B9A518                                                3656b3ee-ae67-429f-ae07-98e2fcc1729d
└─nvme0n1p6
ntfs         DELLSUPPORT              160AB2440AB220A3                                                abdfb81a-e45f-419b-ab9e-f8e5929b20b2

╭─izstriker@inspiron7577 in ~ as 🧙 took 29ms
╰─λ

What about the previous questions?

Which entry do you choose successfully for windows?

There is nothing helpful to understand the reason grub cannot discover windows.
Anyway, booting windows from UEFI menu is good advice in general.

1 Like

Can you confirm you are able to boot to Windows (with any method)?

Try regenerating the Grub configuration again, from the normal installation (not in the chroot) and see if os-prober picks it up.

sudo update-grub
1 Like

Sorry, missed that part. “UEFI: Sabrent, Partition 1”

Run

sudo os-prober

This fixed it! Thanks again guys for all the time and effort.

1 Like

I bet 10 Sh!tcoin that

was the cause of the crash during the update…

That was a nasty and mean undercover sabotage action by M$.

I’m sure of that !1!!11! :rofl:

1 Like

There is a typo.
Shouldn’t it be microsoft-edge-garbage-bin ?

3 Likes

Loool, i only use that for bing AI :smiley:

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