You are not logged in.

#1 2025-09-30 04:43:44

pilgorr
Member
Registered: 2025-09-30
Posts: 6

Random crashing, now boot option deleted

I installed Arch with the hardened kernel, WM Hyprland. I remember on the last three times I closed the lid on the laptop, a random crash would just happen, now allowing me to open any applications, close them, or make any changes in them (If I did it just crashes), these crash would randomly happen. The only temporary fix I found was to hold down the power button and then relogin, and would have to log in again. SDDM would not display for some reason so I had to log in using CTRL ALT F3 and then run hyprland through that to be able to use my laptop. After around the third time this happened, I shut it down and then opened it back up, just to find the boot sector for Arch suddenly disappeared. I had secure boot disabled even though I enrolled the keys with sbctl, and the drive is encrypted if that helps. Is there any way to recover my Arch install, or just be able to recover the files on there?

Offline

#2 2025-09-30 06:58:54

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,070

Re: Random crashing, now boot option deleted

Offline, boot the arch installation iso, check and repair the filesystems, check and repair the packages¹ and then chroot into the system and re-install kernel and pot. bootloader (don't forget to mount any boot partition and ESP, your fstab isn't executed from the chroot)

¹

sudo LC_ALL=C pacman -Qkk | grep -v ', 0 altered files' | grep -v backup

Some deviations are normal because you edit the config files during a regular setup.
If any packages show up w/ broken mtrees, you'll have to re-install them w/ "--dbonly" first to sanitize the database, then w/o that switch to actually re-install the package.

If you cannot use the pacman version of the installed system, you'll have to use the one from the iso and "--root /mnt --cachedir=/mnt/var/cache/pacman/pkg"

Online

#3 2025-09-30 08:51:55

pilgorr
Member
Registered: 2025-09-30
Posts: 6

Re: Random crashing, now boot option deleted

Maybe I followed the instructions wrong but I can't repair the filesystems nor packages since listing all disks just shows me /dev/loop0 and the usb.

Offline

#4 2025-09-30 11:23:37

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,070

Re: Random crashing, now boot option deleted

No, you probably did this right - but that kinda suggests you completely lost the drive.
Does it show up in the BIOS/UEFI?
Have you tried to completely power the system down (take out the battery) before a reboot?
Also

lsblk -f

and for reference https://wiki.archlinux.org/title/Pacman … an_upgrade (ignore the context, you're facing a similar situation in effect)

Online

#5 2025-09-30 14:07:19

pilgorr
Member
Registered: 2025-09-30
Posts: 6

Re: Random crashing, now boot option deleted

None of the provided answers work, it seems it actually deleted the partitions, not just the boot section. Any way to still recover files?

Offline

#6 2025-09-30 14:12:51

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,070

Re: Random crashing, now boot option deleted

What provided answers?
You're supposed to check (and in doubt post) "lsblk -f" to see what disks are actually there.
If your drive doesn't show up in the BIOS/UEFI that's not a "deleted partition", the drive kinda "died" and the best thing you can hope for it's just the drives firmware.
There's no data recovery if there's no block device to recover the data from itfp.

Online

#7 2025-09-30 16:58:56

pilgorr
Member
Registered: 2025-09-30
Posts: 6

Re: Random crashing, now boot option deleted

Sorry I was in a rush when typing that, lsblk -f does not display the partition.

Offline

#8 2025-09-30 17:23:57

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,070

Re: Random crashing, now boot option deleted

Ok, what kind of device are you looking for?
HDD, SSD, nvme, mmc?
Does it show up in the BIOS/UEFI?
Have you tried to power cycle the notebook?

As long as you cannot probe the drive, you can forget about anything else (recovering data or the system), so that's you're absolute priority right now.

Online

#9 2025-10-01 23:20:20

pilgorr
Member
Registered: 2025-09-30
Posts: 6

Re: Random crashing, now boot option deleted

It's an nvme, does not show up in bios, and does not show after powecycle. I am thinking of using an adapter to connect via USB and use a tool like foremost, would that work or do you have any other ideas?

Offline

#10 2025-10-02 07:52:09

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 69,070

Re: Random crashing, now boot option deleted

You first need to ensure the drive shows up via such adapter but I'd first simply re-seat it.
If it's secured w/ a screw, make sure it's not too tight (putting the card under tension)

Online

#11 2025-10-11 07:17:58

pilgorr
Member
Registered: 2025-09-30
Posts: 6

Re: Random crashing, now boot option deleted

Not even the adapter shows the nvme, just thinking of taking it to a repair show ATP.

Offline

Board footer

Powered by FluxBB