Score:0

Problems with Grub after deleting the first partition by mistake

fr flag

I have a Laptop, and wanted to have both the original Windows and Ubuntu. So I installed Ubuntu, but then in the Disk tool from Ubuntu, I deleted the first partition by mistake (big oops). Now when I turn on my PC, it get stuck in the boot menu, because I think it can not see the partitions. I booted from a live Ubuntu USB, and tried to repair it with Boot-repair. But it asked for an unformatted partition with the bios flag on. When I try to create this partition with GParted, I get a message error:

Unable to detecet file system! Possible reasons are: 
- The file system is damaged
- The file system is unknown to GParted
- There is no file system available 
- The device entry /dev/nvme0n1p1 is missing 

I think I fall under the last item :D

Is there hope to bring back the system??

Thank you.

oldfred avatar
cn flag
Can testdisk recover partition & files? http://www.cgsecurity.org/wiki/TestDisk If not you have to recreate ESP -efi system partition with gparted and reinstall both Windows boot loaders using your Windows repair disk and grub using your Ubuntu live installer. Be sure to boot repair disks in UEFI mode to make UEFI repairs. You do not want BIOS/CSM/Legacy mode. Almost no one backups up ESP, as you always can reinstall boot loaders, but I do have a backup just in case.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.