Score:0

Deleted boot partiton to extend another partition

gb flag

stupidly my disk setup was set up as sda1 as root, sda2 as boot, and sda3 as additional storage. I wanted to merge sda1 and sda3 partitions.

What I did was make a image of sda2 (boot), deleted it and merged sda1 and 3, assuming I could make another sda2 partition and just restore the image. Obviously this did not work. Is there any way I can make this bootable again?

Thanks

cc flag
Do you mean you deleted the EFI partition with the bootloaders, or the partition mounted at /boot, with the kernels? /boot partitions are optional unless needed because grub cannot read the root (encrypted, ... etc.)
Steven avatar
gb flag
Boot was mounted in sda1, EFI in sda2. It's fixed now but don't exactly know how... was playing around with the advanced settings in boot repair, was getting errors about EFI files, then booting in emergency mode, then another error while using boot repair using recommended repair... strange.
Nmath avatar
ng flag
"*getting errors about EFI files*" - we need to know the verbatim errors and the context surrounding the errors to provide any insight into the errors
Steven avatar
gb flag
It would boot into efi shell with a list of different efi options, while boot repair advised on selecting a file along the lines of shimfx64, which was not available. For one reason or another it worked out when I ran boot repair again and reinstalled grub.
Score:0
cn flag

You'll need to have a USB bootable drive with Ubuntu (either a CD, USB stick, flash drive, SD card, etc.)

Make sure that you can boot this device by entering your BIOS and either enabling the USB device drive to boot and/or re-ordering the devices so that the USB device you intend to boot from comes first.

Then try the steps in this link.
https://www.ubuntupit.com/how-to-repair-the-grub-bootloader-using-a-ubuntu-live-usb-drive/

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.