Boot rescue showing all partitions as unknown file systems

Post more info

sudo os-prober
pacman -Qo /etc/grub.d/*
pacman -Qs grub
pacman -Qs os-prober
grep "prober" /var/log/pacman.log
1 Like

I believe this is what he/she is talking about.( initrd /@/boot/amd-ucode.img^/@/boot/initramfs-linux-zen.img ) the little arrow pointing up after ucode.img with that in there you cant boot to other drives and sometimes Garuda doent boot. Love Garuda but with that in there i cant do my work i use 2 different drives to make things work right but atm i can't and dont wanna redo my system please fix.

We know what this is about and looking for more info.
If you experience the same problem, post terminal output from the commands suggested, please.

1 Like
/dev/sda1:Garuda Linux:Garuda:linux:btrfs:UUID=1628a064-ce95-470f-8c7e-f8e1fe17ad2b:subvol=restore_backup_@_04
3550451
/dev/sdb1:EndeavourOS:EndeavourOS:linux:btrfs:UUID=e0a5da24-a5a8-495c-9d57-1a74fc4006f0:subvol=@
/etc/grub.d/00_header is owned by grub 2:2.06-5
/etc/grub.d/10_linux is owned by grub 2:2.06-5
/etc/grub.d/20_linux_xen is owned by grub 2:2.06-5
/etc/grub.d/30_os-prober is owned by grub 2:2.06-5
/etc/grub.d/30_uefi-firmware is owned by grub 2:2.06-5
/etc/grub.d/35_fwupd is owned by fwupd 1.7.7-1
/etc/grub.d/40_custom is owned by grub 2:2.06-5
/etc/grub.d/41_custom is owned by grub 2:2.06-5
/etc/grub.d/41_snapshots-btrfs is owned by grub-btrfs 4.11-2
/etc/grub.d/60_memtest86+ is owned by memtest86+ 5.31b-1
/etc/grub.d/61_custom_leave_options is owned by garuda-common-settings 2.6.1-1
/etc/grub.d/README is owned by grub 2:2.06-5
local/grub 2:2.06-5
GNU GRand Unified Bootloader (2)
local/grub-btrfs 4.11-2
Include btrfs snapshots in GRUB boot options
local/grub-garuda 2.06-1
meta pkg for grub
local/grub-theme-garuda-dr460nized r2.49d1e5e-1
Garuda Dr460nized grub theme
local/python-markdown 3.3.6-3
Python implementation of John Gruber's Markdown.
local/snapper-support 1.1.0-1
Support package for enabling Snapper with snap-pac and grub-btrfs support
local/update-grub 0.0.1-7
Simple wrapper around grub-mkconfig
local/os-prober-btrfs 1.79-3
Utility to detect other OSes on a set of drives (with additional patches to detect btrfs systems and other
systems)
[2022-04-11T03:47:00-0400] [ALPM-SCRIPTLET] os-prober-btrfs 1.79-3
[2022-04-11T04:22:14-0400] [ALPM-SCRIPTLET] Warning: os-prober will be executed to detect other bootable parti
tions.
[2022-04-11T04:26:46-0400] [ALPM-SCRIPTLET] Warning: os-prober will be executed to detect other bootable parti
tions.
[2022-04-14T01:24:04-0400] [ALPM-SCRIPTLET] Warning: os-prober will be executed to detect other bootable parti
tions.

Please, post these

grep -w "tr" /etc/grub.d/30_os-prober
sudo grub-mkconfig  | grep "initrd\|menuentry "

ls -l /etc/grub.d

1 Like
Generating grub configuration file ...
Found theme: /usr/share/grub/themes/garuda-dr460nized/theme.txt
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-zen.img
menuentry 'Garuda Linux' --class garuda --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1628a064-ce95-470f-8c7e-f8e1fe17ad2b' {
initrd  /@/boot/amd-ucode.img /@/boot/initramfs-linux-zen.img
menuentry 'Garuda Linux, with Linux linux-zen' --class garuda --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-zen-advanced-1628a064-ce95-470f-8c7e-f8e1fe17ad2b' {
initrd  /@/boot/amd-ucode.img /@/boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot:  amd-ucode.img initramfs-linux-zen-fallback.img
menuentry 'Garuda Linux, with Linux linux-zen (fallback initramfs)' --class garuda --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-zen-fallback-1628a064-ce95-470f-8c7e-f8e1fe17ad2b' {
initrd  /@/boot/amd-ucode.img /@/boot/initramfs-linux-zen-fallback.img
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-lts.img
menuentry 'Garuda Linux, with Linux linux-lts' --class garuda --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-advanced-1628a064-ce95-470f-8c7e-f8e1fe17ad2b' {
initrd  /@/boot/amd-ucode.img /@/boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot:  amd-ucode.img initramfs-linux-lts-fallback.img
menuentry 'Garuda Linux, with Linux linux-lts (fallback initramfs)' --class garuda --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-fallback-1628a064-ce95-470f-8c7e-f8e1fe17ad2b' {
initrd  /@/boot/amd-ucode.img /@/boot/initramfs-linux-lts-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Garuda Linux on /dev/sda1
menuentry 'Garuda Linux (on /dev/sda1)' --class garuda --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-1628a064-ce95-470f-8c7e-f8e1fe17ad2b' {
initrd /@/boot/amd-ucode.img^/@/boot/initramfs-linux-zen.img
menuentry 'Garuda Linux (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/@/boot/vmlinuz-linux-zen--1628a064-ce95-470f-8c7e-f8e1fe17ad2b' {
initrd /@/boot/amd-ucode.img^/@/boot/initramfs-linux-zen.img
menuentry 'Garuda Linux, with Linux linux-zen (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/@/boot/vmlinuz-linux-zen--1628a064-ce95-470f-8c7e-f8e1fe17ad2b' {
initrd /@/boot/amd-ucode.img^/@/boot/initramfs-linux-zen.img
menuentry 'Garuda Linux, with Linux linux-zen (fallback initramfs) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/@/boot/vmlinuz-linux-zen--1628a064-ce95-470f-8c7e-f8e1fe17ad2b' {
initrd /@/boot/amd-ucode.img^/@/boot/initramfs-linux-zen-fallback.img
menuentry 'Garuda Linux, with Linux linux-lts (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/@/boot/vmlinuz-linux-lts--1628a064-ce95-470f-8c7e-f8e1fe17ad2b' {
initrd /@/boot/amd-ucode.img^/@/boot/initramfs-linux-lts.img
menuentry 'Garuda Linux, with Linux linux-lts (fallback initramfs) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/@/boot/vmlinuz-linux-lts--1628a064-ce95-470f-8c7e-f8e1fe17ad2b' {
initrd /@/boot/amd-ucode.img^/@/boot/initramfs-linux-lts-fallback.img
menuentry 'Memory Tester (memtest86+) (on /dev/sda1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/@/boot/memtest86+/memtest.bin--1628a064-ce95-470f-8c7e-f8e1fe17ad2b' {
Found EndeavourOS on /dev/sdb1
menuentry 'EndeavourOS (on /dev/sdb1)' --class endeavouros --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-simple-e0a5da24-a5a8-495c-9d57-1a74fc4006f0' {
initrd /@/boot/amd-ucode.img^/@/boot/initramfs-linux-zen.img
menuentry 'EndeavourOS, on linux-zen (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/@/boot/vmlinuz-linux-zen--e0a5da24-a5a8-495c-9d57-1a74fc4006f0' {
initrd /@/boot/amd-ucode.img^/@/boot/initramfs-linux-zen.img
menuentry 'EndeavourOS, on linux-zen (fallback initramfs) (on /dev/sdb1)' --class gnu-linux --class gnu --classos $menuentry_id_option 'osprober-gnulinux-/@/boot/vmlinuz-linux-zen--e0a5da24-a5a8-495c-9d57-1a74fc4006f0' {
initrd /@/boot/amd-ucode.img^/@/boot/initramfs-linux-zen-fallback.img
menuentry 'EndeavourOS, on linux (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/@/boot/vmlinuz-linux--e0a5da24-a5a8-495c-9d57-1a74fc4006f0' {
initrd /@/boot/amd-ucode.img^/@/boot/initramfs-linux.img
menuentry 'EndeavourOS, on linux (fallback initramfs) (on /dev/sdb1)' --class gnu-linux --class gnu --class os $menuentry_id_option 'osprober-gnulinux-/@/boot/vmlinuz-linux--e0a5da24-a5a8-495c-9d57-1a74fc4006f0' {
initrd /@/boot/amd-ucode.img^/@/boot/initramfs-linux-fallback.img
Detecting snapshots ...
Found snapshot: 2022-04-14 19:21:46 | @/.snapshots/74/snapshot | post | garuda-boot-repair                             |
Found snapshot: 2022-04-14 19:21:45 | @/.snapshots/73/snapshot | pre  | /usr/bin/pamac-daemon                          |
Found snapshot: 2022-04-14 19:19:28 | @/.snapshots/72/snapshot | post | alsa-card-profiles amd-ucode ananicy-rules-git attica baloo binutils blu |
Found snapshot: 2022-04-14 19:18:42 | @/.snapshots/71/snapshot | pre  | pacman -Su                                     |
Found snapshot: 2022-04-14 01:24:08 | @/.snapshots/70/snapshot | post | alsa-card-profiles ananicy-rules-git attica baloo binutils bluez-qt bree |
Found snapshot: 2022-04-14 01:23:28 | @/.snapshots/69/snapshot | pre  | pacman -Su                                     |
Found snapshot: 2022-04-12 18:57:35 | @/.snapshots/68/snapshot | post | latte-dock                                     |
Found snapshot: 2022-04-12 18:57:35 | @/.snapshots/67/snapshot | pre  | /usr/bin/pamac-daemon                          |
Found snapshot: 2022-04-12 18:55:38 | @/.snapshots/66/snapshot | post | latte-dock                                     |
Found snapshot: 2022-04-12 18:55:36 | @/.snapshots/65/snapshot | pre  | /usr/bin/pamac-daemon                          |
Found 10 snapshot(s)
Unmount /tmp/grub-btrfs.rY6Prh0wyR .. Success
Found memtest86+ image: /boot/memtest86+/memtest.bin
menuentry "Memory Tester (memtest86+)" --class memtest86 --class gnu --class tool {
menuentry "Shutdown" --class shutdown {
menuentry "Restart" --class restart {
#       menuentry "Firmware Setup (UEFI)" --class recovery {
1 Like
╰─λ ls -l /etc/grub.d
.rwxr-xr-x 8.9k root 28 Mar 04:27  00_header
.rwxr-xr-x  12k root 28 Mar 04:27  10_linux
.rwxr-xr-x  13k root 28 Mar 04:27  20_linux_xen
.rwxr-xr-x  12k root 28 Mar 04:27  30_os-prober
.rwxr-xr-x 1.4k root 28 Mar 04:27  30_uefi-firmware
.rwxr-xr-x  700 root  5 Apr 07:36  35_fwupd
.rwxr-xr-x  214 root 28 Mar 04:27  40_custom
.rwxr-xr-x  215 root 28 Mar 04:27  41_custom
.rwxr-xr-x  26k root 24 Feb 16:42  41_snapshots-btrfs
.rwxr-xr-x 1.2k root 11 Jun  2021  60_memtest86+
.rwxr-xr-x  487 root  6 Apr 16:08  61_custom_leave_options
.rw-r--r--  483 root 28 Mar 04:27  README

easy

1 Like

Hai if you have bootable garuda usb…boot into garuda linux…Go to gparted. select the hard drive where boot is located…you will receive error message saying your harddrive primary gpt parition file is corrupted, but back up is loaded…select the boot partition and do right click to get options… in that select manage flag option…select “bios_grub” flag. you may see your harddrive getting mounted. shutdown , remove bootable usb and start into garuda linux…This worked for me. hope it works for you as well…

Unfortunately didn’t work; had no change.

sudo os-prober
pacman -Qo /etc/grub.d/*
pacman -Qs grub
pacman -Qs os-prober
grep “prober” /var/log/pacman.log

╭─garuda@garuda in ~ as 🧙 
╰─λ sudo os-prober
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.
McFly: Importing shell history for the first time. This may take a minute or two...done.

╭─garuda@garuda in ~ as 🧙 took 3s
╰─λ sudo os-prober /dev/nvme0n1p1
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sda1.  Check your device.map.

╭─garuda@garuda in ~ as 🧙 took 2s
╰─λ pacman -Qo /etc/grub.d/*
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)
warning: database file for 'chaotic-aur' does not exist (use '-Sy' to download)
/etc/grub.d/00_header is owned by grub 2:2.06-5
/etc/grub.d/10_linux is owned by grub 2:2.06-5
/etc/grub.d/20_linux_xen is owned by grub 2:2.06-5
/etc/grub.d/30_os-prober is owned by grub 2:2.06-5
/etc/grub.d/30_uefi-firmware is owned by grub 2:2.06-5
/etc/grub.d/35_fwupd is owned by fwupd 1.7.6-1
/etc/grub.d/40_custom is owned by grub 2:2.06-5
/etc/grub.d/41_custom is owned by grub 2:2.06-5
/etc/grub.d/41_snapshots-btrfs is owned by grub-btrfs 4.11-2
/etc/grub.d/60_memtest86+ is owned by memtest86+ 5.31b-1
/etc/grub.d/61_custom_leave_options is owned by garuda-common-settings 2.5.6-2
/etc/grub.d/README is owned by grub 2:2.06-5

╭─garuda@garuda in ~ as 🧙 took 87ms
╰─λ pacman -Qs grub
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)
warning: database file for 'chaotic-aur' does not exist (use '-Sy' to download)
local/garuda-boot-repair 1.0.1-1
A Grub repair utility for Garuda Linux
local/grub 2:2.06-5
GNU GRand Unified Bootloader (2)
local/grub-btrfs 4.11-2
Include btrfs snapshots in GRUB boot options
local/grub-garuda 2.06-1
meta pkg for grub
local/grub-theme-garuda-dr460nized r2.49d1e5e-1
Garuda Dr460nized grub theme
local/grub-theme-garuda-live r18.75c8339-1
garuda Linux grub theme
local/grub-theme-garuda-live-common r18.75c8339-1
garuda Linux grub theme
local/python-markdown 3.3.6-3
Python implementation of John Gruber's Markdown.
local/snapper-support 1.1.0-1
Support package for enabling Snapper with snap-pac and grub-btrfs support
local/update-grub 0.0.1-7
Simple wrapper around grub-mkconfig

╭─garuda@garuda in ~ as 🧙 took 37ms
╰─λ pacman -Qs os-prober
warning: database file for 'core' does not exist (use '-Sy' to download)
warning: database file for 'extra' does not exist (use '-Sy' to download)
warning: database file for 'community' does not exist (use '-Sy' to download)
warning: database file for 'multilib' does not exist (use '-Sy' to download)
warning: database file for 'chaotic-aur' does not exist (use '-Sy' to download)
local/os-prober-btrfs 1.79-3
Utility to detect other OSes on a set of drives (with additional patches to detect btrfs systems and other
systems)

╭─garuda@garuda in ~ as 🧙 took 46ms
╰─λ grep "prober" /var/log/pacman.log
[2022-04-15T00:12:42+0000] [ALPM-SCRIPTLET] os-prober-btrfs 1.79-3

grep -w “tr” /etc/grub.d/30_os-prober
sudo grub-mkconfig | grep "initrd|menuentry "

╭─garuda@garuda in ~ as 🧙 took 6ms
╰─λ grep -w "tr" /etc/grub.d/30_os-prober
OSPROBED="`os-prober | tr ' ' '^' | paste -s -d ' '`"
LONGNAME="`echo ${OS} | cut -d ':' -f 2 | tr '^' ' '`"
LABEL="`echo ${OS} | cut -d ':' -f 3 | tr '^' ' '`"
CLASS="--class $(echo "${LABEL}" | LC_ALL=C sed 's,[[:digit:]]*$,,' | cut -d' ' -f1 | tr 'A-Z' 'a-z' | LC_ALL=C sed 's,[^[:alnum:]_],_,g')"
LINUXPROBED="`linux-boot-prober btrfs ${BTRFSuuid} ${BTRFSsubvol}  2> /dev/null | tr ' ' '^' | paste -s -d ' '`"
LINUXPROBED="`linux-boot-prober ${DEVICE} 2> /dev/null | tr ' ' '^' | paste -s -d ' '`"
LLABEL="`echo ${LINUX} | cut -d ':' -f 3 | tr '^' ' '`"
LPARAMS="`echo ${LINUX} | cut -d ':' -f 6- | tr '^' ' '`"

╭─garuda@garuda in ~ as 🧙 took 4ms
╰─λ sudo grub-mkconfig  | grep "initrd\|menuentry "
/usr/bin/grub-probe: error: failed to get canonical path of `overlay'.

ls -l /etc/grub.d

╭─garuda@garuda in ~ as 🧙 took 141ms
[[🔴]|[🔴]] => 🔴ERROR × ls -l /etc/grub.d
.rwxr-xr-x 8.9k root 28 Mar 08:27  00_header
.rwxr-xr-x  12k root 28 Mar 08:27  10_linux
.rwxr-xr-x  13k root 28 Mar 08:27  20_linux_xen
.rwxr-xr-x  12k root 28 Mar 08:27  30_os-prober
.rwxr-xr-x 1.4k root 28 Mar 08:27  30_uefi-firmware
.rwxr-xr-x  700 root 25 Feb 15:16  35_fwupd
.rwxr-xr-x  214 root 28 Mar 08:27  40_custom
.rwxr-xr-x  215 root 28 Mar 08:27  41_custom
.rwxr-xr-x  26k root 24 Feb 21:42  41_snapshots-btrfs
.rwxr-xr-x 1.2k root 12 Jun  2021  60_memtest86+
.rwxr-xr-x  487 root 13 Mar 15:46  61_custom_leave_options
.rw-r--r--  483 root 28 Mar 08:27  README

This becomes confusing when two users post their terminal outputs.
If one of them then disregards the formatting, it becomes even more confusing.

Let's hope that both have the same problem.

For all those reading along who might want to help or learn, it would be appropriate to post the input and the output from the terminal.

Thank you.

2 Likes

I tried to format it but yeah still looks rough. Not sure how my terminal output will help as it's from the Garuda Live USB so not sure if that changes what it might have been if it was the hard drive's output which has the issue.

Try harder :wink: I just fix it.

2 Likes

That wasn't my output that you fixed.

Yes, sorry, I got confused and I am tired, good night all.

4 Likes

It seems it is happening on os-prober entries, so main Garuda entries (when updating grub from the Garuda system) look correct.
Can you confirm that its main Garuda entries boot properly (or grub entries are clean, when editing grub menu entry) and it breaks only the os-prober entries only?

@Smoogles please, post also this terminal output to confirm :

grep -w "tr" /etc/grub.d/30_os-prober
sudo grub-mkconfig  | grep "initrd\|menuentry "
1 Like

Thanks for your help i was only trying to help smoogles out because after the update the symbol in this line is back

initrd /@/boot/amd-ucode.img^/@/boot/initramfs-linux-zen.img

the caret symbol . I understand ya'll dont want people duel booting but not all your apps dont work with peoples programs. now before the update this ^ was not there. Myself i would just boot from bios no biggie then went back to previous snapshot and had no issue. I left Manjaro to come to Garuda but i think i will be looking for a different distro. I wish ya'll the best of luck because you do have a great distro.

Sorry you had to fix my stuff but i usually dont post on forums and i am new to arch and ya'lls was one of the easiest to use. best of luck

╭─garuda@garuda in ~ as 🧙
╰─λ grep -w "tr" /etc/grub.d/30_os-prober
OSPROBED="`os-prober | tr ' ' '^' | paste -s -d ' '`"
LONGNAME="`echo ${OS} | cut -d ':' -f 2 | tr '^' ' '`"
LABEL="`echo ${OS} | cut -d ':' -f 3 | tr '^' ' '`"
CLASS="--class $(echo "${LABEL}" | LC_ALL=C sed 's,[[:digit:]]*$,,' | cut -d' ' -f1 | tr 'A-Z' 'a-z' | LC_ALL=C sed 's,[^[:alnum:]_],_,g')"
LINUXPROBED="`linux-boot-prober btrfs ${BTRFSuuid} ${BTRFSsubvol}  2> /dev/null | tr ' ' '^' | paste -s -d ' '`"
LINUXPROBED="`linux-boot-prober ${DEVICE} 2> /dev/null | tr ' ' '^' | paste -s -d ' '`"
LLABEL="`echo ${LINUX} | cut -d ':' -f 3 | tr '^' ' '`"
LPARAMS="`echo ${LINUX} | cut -d ':' -f 6- | tr '^' ' '`"
McFly: Importing shell history for the first time. This may take a minute or two...done.

╭─garuda@garuda in ~ as 🧙 took 49ms
╰─λ sudo grub-mkconfig | grep "initrd\|menuentry"
/usr/bin/grub-probe: error: failed to get canonical path of `overlay'.

This seems like an Arch/upstream bug maybe. It was reported in the past and slipped out of the devs.

The Team is trying to fix it with a proper modification.

3 Likes

Just as an update I decided to install Garuda Sway as Testdisk and ddrescue said unrecoverable and I couldn't find solutions to repairing it unfortunately. Either way, thanks for assisting me with it and hopefully it won't happen again.

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