Accidentally deleted Ubuntu partition in the Surface Boot Configuration


Title says it all. I’m using a 2015 Surface Book and running a dual boot with Ubuntu and Windows 10. I always swap the order of either Ubuntu or Windows in the Surface UEFI whenever I want to switch between the two. But I just accidentally deleted the Ubuntu one and now can’t boot into it. I tried doing bootrec to fix it and I tried plugging in the usb with the Ubuntu installation media but it still isn’t showing. I also tried googling but no one seems to have this problem that uses a Surface. Thanks for any help.


Decided to just delete the partition and start over. Hope no one makes the same mistake as me!