Seeing EFI Shell version 2.40 [5.11] after delete swap partition

I deleted the swap partition using gparted gui application and after restart my notebook there are this efi shell. Any of common solutions that I tried does not worked for me.

I disabled secure boot and the command fs0: returns an invalid mapping name error.

Anyone know how to get back the Ubuntu working?

3

1 Answer

If you deleted your swap partition, and then didn't edit your /etc/fstab, that's why you're having the problem. The system is looking for a swap partition that no longer exists.

If you've got Ubuntu 18.xx or newer, fix it this way...

  • At the GRUB menu, choose Additional Options, then choose the Recovery Mode
  • sudo pico /etc/fstab # edit this file
  • find the line that has the word "swap" in it, and comment it out with a "#"
  • save the file and quit the editor
  • reboot

If you deleted some other partition, like the EFI partition, then you may have to reinstall Ubuntu, or try boot-repair. You can boot to a Ubuntu Live DVD/USB to try and backup your important files to another available disk drive.

Now we need to discuss why you deleted the swap partition, and what your swap options are.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like