Messed up dual boot deletion, and now can't boot other linux OSes

Hi!! So I wanted to delete the openSUSE dualboot partition and accidentally deleted the swap partition and now when I boot the live boot version of another distro GRUB rescue appeared. Any way to fix it? Am I doomed and now I cant boot anything with GRUB as the bootloader???

It’s hard to know what this all means.

What do you mean by “dualboot partition”?

By “live boot version” are you talking about a CD or DVD or USB device? Those should not care about what partitions you have. But perhaps you need to press whatever key your BIOS uses to specify booting from a removable device.

If the only problem seems to be the missing swap partition, you should be able to use the E key at your boot menu to edit the linu line, replacing the resume= parameter with the string noresume. Do you get a boot menu trying to boot from your internal storage device?

With “dual boot partition” I mean the 3 partition s needed to dual boot : root , EFI and swap. Sorry,meant PARTITIONS :sweat_smile:
Live boot version means the ISO of the OS, but not installed yet . I live booted the ISO 2 times: before deleting the partitions and AFTER. Before deleting the swap partition the way I usually do it ( to boot it I do : Windows > Settings > System > Recovery > Advanced startup > Boot from other device (i think that was the name??) > USB device. ) I did that same process of booting USBs before and after deleting those partitions.

nope. something bout grub rescue, a command line and the bg is my pcs booting screen (in this case CHUWI’s screen)

What does that mean?

Can you show us a picture of “grub rescue”?

Looks to me you can not longer boot the partition for which you deleted the swap partition.

I think what you forgot is to remove the swap partition from /etc/fstab and if the boot can’t find a partition it will fail.

To edit /etc/fstab you can boot a live image, mount the drive of install for which you removed the swap and delete swap from /etc/fstab

I just rebooted my computer, and without the USB , it still appears.
These are the “grub rescue” images.
https://cdn.corenexis.com/f/yQewCGfnXVd.jpg (grub rescue)
https://cdn.corenexis.com/f/rHKfXKILMDw.jpg (grub rescue w/ my brand’s boot screen)
(DIRECT IMAGE LINKS!!)

From that “no such partition” message it looks to me like the partition you deleted was something other than swap, likely the one with kernel and initrd on it and/or the one hosting Grub.

What made you decide to delete any partition in the first place?

Recreating what was deleted at the very same starting sector and partition size is what I would try. DFSee is what I would be using to determine those specifications and recreate. Other tools might be able to do the same, but since DFSee is the only partitioner I ever write tables with, I have no experience doing so with others.

And what is in this case “deleting a partition”?

For me it is removing it from the partition table (and then an unpartitioned hole stays behind).

But I understand that some people call destroying the contents of a partition by e.g. writing zeros over (the begin of) it, making usage of the original contents (e.g. a file system) impossible, removing (which it isn’t).

I guess most of us here have no idea what really happened, nor have we any idea of what partitioning was there before the mishap occurred. A far better description from the OP is needed.

And BTW that CHUWI screen seems to be something of the system or it’s BIOS. Why do you think that casually mentioning it will be understood by people here who for the most may never have seen something like that?

My conclusion: this is beyond repair. Reinstall Slowroll and be very careful in the partitioning stage.

1 Like

Probably feels like the thing that I need to do .

FIXED!!! Do not reply anymore.
Problem: Weirdly, when I used Window’s Advanced Startup/ Recovery option, I booted into openSUSE. (grub rescue because I deleted very important stuff like root)
The culprit: I deleted swap and root , but not EFI.

How to fix: Let the battery drain, then charge. Mash the boot menu key. Go to “boot” → boot order:
How it looked:
1 openSUSE
2 Windows
Should look like this :
1 Windows.
2 OpenSUSE.
Once done, hit F10. It will reboot normally to Windows. You can remove the EFI partition in windows , but I’m too lazy to use the CMD. It’s safer to use this method, because it has confirmations and shows you the file systems (ntfs , . You will need a live ISO CD/USB.

  1. Boot the live USB. (BIOS → Boot → Boot order-> and USB should be on the maximun boot priority.)
  2. Search for the GParted app. (I like GParted because the KDE one looks wayy too small)
  3. Open GParted > Delete the EFI partition.
  4. Click the “ok” icon, it’s next to the redo button
  5. Once finished, click close.
  6. Reboot to Windows.
    Done!!! :+1: