How do I reinstall Grub and Efi (or Uefi) on my external HDD after I accidentally deleted the partition.
by Choklit from LinuxQuestions.org on (#4WQ6D)
I run Ubuntu 18.04 dual-boot with Windows XP. I recently was trying to recover a sad USB drive using "Disks" and accidentally hit delete and wiped the partition containing Grub and whatever else needed to boot my PC.
I have been running this PC by starting from my ext HDD which gives me the option to start Ubuntu or Windows.
I would like to reinstall the files needed to start my PC without deleting all the other files on the Ext HDD.
I have taken a snapshot of the HDD shown by TestDisk and one Shown by G-parted if that is of any help in finding a solution. I will be deeply grateful for any help at all please.
Attached Files


I have been running this PC by starting from my ext HDD which gives me the option to start Ubuntu or Windows.
I would like to reinstall the files needed to start my PC without deleting all the other files on the Ext HDD.
I have taken a snapshot of the HDD shown by TestDisk and one Shown by G-parted if that is of any help in finding a solution. I will be deeply grateful for any help at all please.
Attached Files
![]() | ScreenShot-USB-HDD.pdf (370.5 KB) |
