hello garuda team ,
the electricity went down and when it back i had
grub rescue issue i have dual boot with win 10 ltsc
and i did the usual steps
ls and set boot and set prefix but all partitions are system file unknown so what to do ?
and i tried to boot from a flash usb and reinstalling grub from garuda boot repair
but it's says error could not set up choot environment please double-check the selected location
i had it before maybe 2 times but i was installing garuda again but i don't want to do this again
╭─garuda@garuda in ~
╰─λ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0
squash 4.0 0 100% /run/miso/sfs/livefs
loop1
squash 4.0 0 100% /run/miso/sfs/mhwdfs
loop2
squash 4.0 0 100% /run/miso/sfs/desktopfs
loop3
squash 4.0 0 100% /run/miso/sfs/rootfs
sda
├─sda1
│ btrfs 70d8a845-b6da-4c31-a9f3-2c4d519a035f
├─sda2
│ ntfs 01D80D3FDE46EB00
├─sda3
│
├─sda5
│ ntfs Games 48984F3B984F2732
├─sda6
│ ntfs New Volume 01D7F84BE4E3F7E0
└─sda7
ntfs New Volume 01D7F84BD25DFE90
sdb iso966 Jolie GARUDA_DR460NIZEDBLACKARCH_HARPY
│ 2021-11-29-17-30-54-00 0 100% /run/miso/bootmnt
├─sdb1
│ iso966 Jolie GARUDA_DR460NIZEDBLACKARCH_HARPY
│ 2021-11-29-17-30-54-00
└─sdb2
vfat FAT12 MISO_EFI 5ED8-A115
sdc
sr0
zram0
[SWAP]
McFly: Importing shell history for the first time. This may take a minute or two...done.
and then
╭─garuda@garuda in ~ took 710ms
[⚡] × sudo mkdir -p /mnt/broken
and then
╭─garuda@garuda in ~ took 193ms
╰─λ sudo mount /dev/sda1 /mnt/broken
mount: /mnt/broken: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error.
╭─garuda@garuda in ~ took 250ms
[🔴] × sudo btrfs check /dev/sda1
Opening filesystem to check...
checksum verify failed on 22581870592 wanted 0x00000000 found 0xb6bde3e4
checksum verify failed on 22581870592 wanted 0x00000000 found 0xb6bde3e4
checksum verify failed on 22581870592 wanted 0x00000000 found 0xb6bde3e4
bad tree block 22581870592, bytenr mismatch, want=22581870592, have=0
Couldn't read tree root
ERROR: cannot open file system
╭─garuda@garuda in ~ took 1s
[🔴] × sudo btrfs check --repair /dev/sda1
enabling repair mode
WARNING:
Do not use --repair unless you are advised to do so by a developer
or an experienced user, and then only after having accepted that no
fsck can successfully repair all types of filesystem corruption. Eg.
some software or hardware bugs can fatally damage a volume.
The operation will start in 10 seconds.
Use Ctrl-C to stop it.
10 9 8 7 6 5 4 3 2 1
Starting repair.
Opening filesystem to check...
checksum verify failed on 22581870592 wanted 0x00000000 found 0xb6bde3e4
checksum verify failed on 22581870592 wanted 0x00000000 found 0xb6bde3e4
checksum verify failed on 22581870592 wanted 0x00000000 found 0xb6bde3e4
bad tree block 22581870592, bytenr mismatch, want=22581870592, have=0
Couldn't read tree root
ERROR: cannot open file system
The lost of power destroy grub, maybe more
(like fstab? You do not answer my question),
if some fixes let you boot, you never know if something more is broken. It's risky.
You can't chroot, so, you can't restore anything, sad, but we can't change it.