#UEFI partition gone, can't boot

41 messages · Page 1 of 1 (latest)

open oasis
#

I was trying to install arch onto my computer and then I accidently deleted the UEFI partition that came preinstalled with my computer, and now nothing will boot except my USB drive with live arch. my secondary Windows partition isn't recognized by my computer at all anymore. I tried to make a efi partition with cfdisk on the live USB but still nothing shows up except for my USB drive.

primal scroll
#

Well, if you deleted the partition, of course it's not recognized anymore. What does lsblk say?

open oasis
#

Yeah I'm trying to recreate it. Lsblk just shows my windows partitions and nothing else

#

Just the basic data + recovery environment + Microsoft reserved

primal scroll
#

windows makes multiple partitions by default. can you paste?

#

also, what even is your goal. do you want to wipe everything and install linux, or get windows back?

open oasis
primal scroll
#

do you need to recover files from windows?

open oasis
#

Yes

primal scroll
#

is the partition with the data still there?

open oasis
#

Yup, everything is there as normal just no UEFI partition to boot into it

primal scroll
#

again, what does lsblk say? i need the output

open oasis
primal scroll
#

if you're booted into archiso with internet you could just do lsblk | curl -F 'f:1=<-' ix.io

#

you have a 30 gb nvme installed?

open oasis
#

Not entirely sure what that is going to be honest

#

On a laptop so came pre installed

primal scroll
open oasis
#

30 gb nvme

primal scroll
#

m.2 ssd drive

#

just confused because it isn't even used

primal scroll
open oasis
#

Sorry it isn't connected to internet rn having issues with that outside my control

primal scroll
#

ah, okay

#

then try mounting nvme0n1p3

#
mkdir /mnt/data
mount /dev/nvme0n1p3 /mnt/data
open oasis
#

Didn't work. Besides I really need to regenerate the eufi partition, I can recover Windows data later

primal scroll
#

how are you planning to do that with windows?

#

you might be able to rerun the windows installer, and try to not override anything.

open oasis
#

Probably get Ubuntu live disk or something and copy data if I really need to, but I'd rather not because I want to have that partition

#

All I need to do is get the UEFI partition back so that my boot loader will boot into any operating system

#

I can't boot into anything except a USB stick at the moment

primal scroll
#

well, either you install linux and get your data on there. you could use the unused 30gb ssd for that, or you reinstall windows onto a partition that isn't used

#

but since you can't install windows, there's no way of just "recovering" that partition

open oasis
#

Would there be any way to get it with the arch iso? I know you can make an efi partition with cfdisk but when I tried it didn't work

primal scroll
#

well, i don't think that'll be possible. we could try to just remake that partition with the right bounds and pray.

#

but i wouldn't hope

#

also, i don't even think you can make that partition type since you don't have the util installed

#

need internet

open oasis
#

Once I get the internet sorted out, could I regenerate it that way?

primal scroll
#

like i said, i wouldn't recommend getting your hopes up.