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.
#UEFI partition gone, can't boot
41 messages · Page 1 of 1 (latest)
Well, if you deleted the partition, of course it's not recognized anymore. What does lsblk say?
Yeah I'm trying to recreate it. Lsblk just shows my windows partitions and nothing else
Just the basic data + recovery environment + Microsoft reserved
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?
Trying to dual boot arch and windows, but don't have arch installed yet because I can't boot anything
do you need to recover files from windows?
Yes
is the partition with the data still there?
Yup, everything is there as normal just no UEFI partition to boot into it
again, what does lsblk say? i need the output
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?
which one of the things i said
30 gb nvme
can you create a paste please?
Sorry it isn't connected to internet rn having issues with that outside my control
ah, okay
then try mounting nvme0n1p3
mkdir /mnt/data
mount /dev/nvme0n1p3 /mnt/data
Didn't work. Besides I really need to regenerate the eufi partition, I can recover Windows data later
how are you planning to do that with windows?
you might be able to rerun the windows installer, and try to not override anything.
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
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
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
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
Once I get the internet sorted out, could I regenerate it that way?
like i said, i wouldn't recommend getting your hopes up.