Device boots up directly to memtest

So, I did an update today. But sadly I lose power in the middle of it and then I can’t boot. So, I followed this post
[HowTo] Recovering from an interrupted update/upgrade

at update-grub i get:

Generating grub configuration file ...
Found theme: /usr/share/grub/themes/manjaro/theme.txt
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.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
grub-probe: error: cannot find a GRUB drive for /dev/sdb1.  Check your device.map.
Adding boot menu entry for UEFI Firmware Settings ...
Root filesystem isn't btrfs
If you think an error has occurred, please file a bug report at "https://github.com/Antynea/grub-btrfs"
Found memtest86+ image: /boot/memtest86+/memtest.bin
Found memtest86+ EFI image: /boot/memtest86+/memtest.efi
done

Here’s the output of lsblk --fs , I thought this will be relevant:

NAME   FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0                                         
loop1                                         
loop2                                         
loop3                                         
sda                                           
|-sda1                           42.3G    39% /
|-sda2                                        
|-sda3                                        
|-sda5                                        
|-sda6                                        
`-sda7                                        
sdb                                           
|-sdb1                                        
`-sdb2                                    

and output from df -Th :

Filesystem     Type      Size  Used Avail Use% Mounted on
/dev/sda1      ext4       76G   30G   43G  42% /
udev           devtmpfs  3.4G     0  3.4G   0% /dev
shm            tmpfs     3.5G     0  3.5G   0% /dev/shm
run            tmpfs     3.5G  8.0K  3.5G   1% /run
tmp            tmpfs     3.5G     0  3.5G   0% /tmp
overlay        overlay   5.2G  359M  4.8G   7% /etc/resolv.conf

I exit, and rebooted. But, now it boots up to memtest instead to Manjaro. There is no options either.

Sorry in advance if my english is less than ideal.

Edit: formatting

lsblk should have contained info on filesystems - a response similar to

 $ lsblk -fs
NAME        FSTYPE FSVER LABEL    UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                                   
└─sda1      ext4   1.0            a0a54066-5053-4aaf-b0de-0cf5fefeb260  184,7G    55% /a/virtualbox
sdb                                                                                   
└─sdb1      ext4   1.0   private  1f3d1a6e-b4b5-46da-909a-8a87a45dd18b    212G    41% /a/private
sdc                                                                                   
sdd                                                                                   
sde                                                                                   
nvme0n1                                                                               
└─nvme0n1p1 ext4   1.0   projects 04f0ac14-1556-4666-9f12-617ba471502c    1,4T    13% /a/projects
nvme1n1                                                                               
├─nvme1n1p1 vfat   FAT32          AD24-B748                               299M     0% /boot/efi
├─nvme1n1p2 ext4   1.0            cafce1fc-a404-48b9-b7e8-00ec59a4e2c0  570,2G    29% /
└─nvme1n1p3 swap   1     swap     3cd93eae-1d0d-4ce6-a7e6-7df665e8cede                [SWAP]

The lack of info points to filesystem meltdown - the filesystem table has been wiped. This is often caused by powerspikes or flashes in the powerline - a rapid loss and return of power - like a fingersnap.

I hope you have a separate copy of important data, because restoring from this disaster will be difficult even for an expert and it cannot be done using forum support.

Your best way forward is to reinstall the operating system.

If you want to try rescuing data I suggest downloading and using an ISO with the necessary tools.

It will also require some external storage capable of holding the data recovered from the crashed system.

I see. I will try to reinstall. In the meantime, I will just copy everything I can from this live environment into a USB stick. Though, I still have a question before I reinstall. Assuming I keep the current partition arrangements in which /home is in /dev/sda6/ , can I reuse it?

Edit: Thank you in advance.

If indeed the partition table(s) have been wiped, as suggested, then the logical path forward would be to fully install Manjaro from scratch; this would include creating a new GPT partition table and partitions as may be needed.

You could choose the manual partitioning method during install and specify the exact partitions you desire; you could also create a separate /home partition and a dedicated partition for swap.

Regards.

I somehow got it installed as before, assigning the appropriate partition as /home and I have my setup intact (I don’t even need to relogin all of my account in firefox). After that, I immediately run full upgrade again. Anyway, thanks to everyone involved in helping me.

1 Like

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