You are not logged in.

#1 2020-05-11 04:34:52

chroot11
Member
Registered: 2020-05-11
Posts: 5

Deleted a partition, now grub won't boot

Sorry for the vague title. I dual boot Arch with Windows 10. I deleted a 912M partition on windows because I thought it was something from an old windows recovery process, but it turns out now grub won't load arch. Unfortunately I don't know any information other than the size because I deleted it in windows, which didn't recognize the file system (I know this is a pretty epic screw-up, I will be more cautious in the future).

When trying to start arch grub gives me "error: unknown filesystem" and enters rescue mode.

I loaded an arch usb drive and all my files are intact, /boot and /root. I just don't know how to get grub working because I don't know what's wrong with it. I tried grub-install in a number of ways and it didn't work.

Can anyone help?

root@archiso ~ # lsblk

nvme0n1p1 259:1 0   500M   # EFI System
nvme0n1p2 259:2 0   128M   # win
nvme0n1p3 259:3 0   122G   # win
nvme0n1p4 259:4 0   512M   # Linux filesystem/EFI  /boot
nvme0n1p5 259:5 0   257G   # ext4 arch fs (LUKS encrypted if that matters)
nvme0n1p6 259:6 0   20G     # swap

P.S. Sorry for the poor formatting above, I can't copy any text.

Last edited by chroot11 (2020-05-11 04:55:45)

Offline

#2 2020-05-11 07:39:52

Awebb
Member
Registered: 2010-05-06
Posts: 6,688

Re: Deleted a partition, now grub won't boot

You tried grub-install, but have you read the grub wiki article again and remade the config?

Offline

#3 2020-05-11 14:18:10

chroot11
Member
Registered: 2020-05-11
Posts: 5

Re: Deleted a partition, now grub won't boot

Edit: I fixed it and got the grub bootloader to work.

Last edited by chroot11 (2020-05-12 00:17:58)

Offline

Board footer

Powered by FluxBB