Grub rescue after Windows Upgrade

Hi all,

My problem is an extension of topic Manjaro won't boot after Windows Update, where a major Windows Upgrade this weekend broke the grub system.

I tried ls in the grub rescue environment, to figure out my partitions. The output was:

(hd0) (hd1) (hd1.gpt6) (hd1.gpt5) (hd1.gpt4) (hd1.gpt3) (hd1.gpt2) (hd1.gpt1)

Unfortunately, none of the commands ls (hdX,gptX) nor any of ls (hdX,X) nor any of ls (hdX,X)/boot worked for me. In all cases, the output is unknown filesystem.

Also, I am a bit worried that my Manjaro partition has become corrupted, because even GParted is unable to determine the file system. I should expect ext4, right?

$ sudo parted -l
Model: ATA CT1000MX500SSD1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags: 

Number  Start   End     Size    File system  Name                          Flags
 1      1049kB  556MB   555MB   ntfs         Basic data partition          hidden, diag
 2      556MB   660MB   104MB   fat32        EFI system partition          boot, esp
 3      660MB   676MB   16.8MB               Microsoft reserved partition  msftres
 4      676MB   755GB   754GB   ntfs         Basic data partition          msftdata
 5      755GB   756GB   627MB   ntfs                                       hidden, diag
 6      756GB   1000GB  245GB

For the sake of clarity: partition 6 should be my Manjaro partition.

Can this still be repaired? If so, how? If not, which partitions can I reallocate/reuse/reformat if I want to do a fresh install of Manjaro?

Thanks in advance!

Maybe gnome-disk-utility can repair the undetected file system.

https://help.gnome.org/users/gnome-help/stable/disk-repair.html.en

Thanks @Wollie for the tip.

Unfortunately, gnome-disk-utility doens’t seem to be available on the flash drive I used to install this version of Manjaro (about 12-18 months ago), and I don’t seem to be able to install it there. Do you know whether Gnome disk utility is included in the newest version of Manjaro? Do you recommend that I refresh my USB flash drive for Manjaro?

$ sudo pacman -Sy gnome-disk-utility
:: Synchronizing package databases...
 core                     168.6 KiB   666K/s 00:00 [######################] 100%
 extra                   2010.2 KiB  1763K/s 00:01 [######################] 100%
 community                  6.2 MiB  3.43M/s 00:02 [######################] 100%
 multilib                 191.8 KiB  5.68M/s 00:00 [######################] 100%
:: Some packages should be upgraded first...
resolving dependencies...
looking for conflicting packages...

Packages (3) archlinux-keyring-20200820-1  manjaro-keyring-20200603-1
             manjaro-system-20200906-1

Total Download Size:   1.06 MiB
Total Installed Size:  1.45 MiB
Net Upgrade Size:      0.36 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 archlinux-keyring-2...   936.8 KiB  4.67M/s 00:00 [######################] 100%
error: failed retrieving file 'manjaro-keyring-20200603-1-any.pkg.tar.zst' from ba.mirror.garr.it : The requested URL returned error: 404
 manjaro-keyring-202...   131.0 KiB  1794K/s 00:00 [######################] 100%
error: failed retrieving file 'manjaro-system-20200906-1-any.pkg.tar.zst' from ba.mirror.garr.it : The requested URL returned error: 404
 manjaro-system-2020...    18.6 KiB  0.00B/s 00:00 [######################] 100%
(3/3) checking keys in keyring                     [######################] 100%
downloading required keys...
error: key "6D42BDD116E0068F" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

resolving dependencies...
looking for conflicting packages...

Packages (2) libpwquality-1.4.2-3  gnome-disk-utility-3.36.3-1

Total Download Size:   1.12 MiB
Total Installed Size:  6.57 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 libpwquality-1.4.2-...    84.0 KiB  5.86M/s 00:00 [######################] 100%
 gnome-disk-utility-...  1062.8 KiB  5.11M/s 00:00 [######################] 100%
(2/2) checking keys in keyring                     [######################] 100%
downloading required keys...
error: key "3B94A80E50A477C7" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

I think the “normal” Manjaro Gnome ISO should contain it:
https://manjaro.org/download/

You can use it just from the USB stick if you put the ISO on it (by Etcher etc.)

Currently, I’m trying the solution proposed here, using TestDisk: https://askubuntu.com/a/1057376

The disk analysis has been going on for a few hours, but should be drawing to an end. Fingers crossed!

If it doesn’t work, I’ll see if I’ll try the Gnome suggestion.

1 Like

I found the output of the disk analysis kind of suspicious. Some partitions were labeled as ‘P’ (primary) and others as ‘D’ (deleted), including what looked like the Windows partition.

Going to try the Gnome tool now/tomorrow.