I installed Ubuntu alongside Windows 8, however have decided to unisntall Ubuntu.
First I booted into Parted Magic and, using GParted deleted all the ext4 and swap partitions.
This leaves me with the same partitions I had before I installed Ubuntu:
/dev/sda1 ntfs WINRE_DRV
/dev/sda2 fat32 SYSTEM_DRV (my UEFI partition)
/dev/sda3 fat32 LRS_ESP
/dev/sda4 unknown Microsoft Reserved Partition
/dev/sda5 ntfs Windows8_OS
/dev/sda6 ntfs LENOVO
/dev/sda7 ntfs PBR_DRV
I expected deleting the partitions would be enough to remove Ubuntu and allow me to boot back into Windows 8, however whenever I boot I get the following error:
error: no such partition.
which is followed by GRUB rescue:
grub rescue>
In my UEFI partition, there are two directories BOOT
and EFI
. In BOOT
is a single file - boot.sdi
. In the EFI
directory are another two directories, BOOT
and Microsoft
. Inside BOOT
are two files, bkpbootx64.efi
and bootx64.efi
. The Microsoft
directory has a directory in it named Boot
. Inside it are the normal Microsoft EFI files (as far as I can tell).
Thinking there were still GRUB files left, I ran find . -iname "*grb*"
and find . -iname "*grub*"
in the UEFI partition, however only found one empty file, bootx64.efi.grb
(which I deleted).
How is GRUB still installed, and how can I uninstall it?
I'm pretty new to UEFI and so things may need explained in detail. The computer is a Lenovo IdeaPad Z580.
edit: I forgot to mention, I deleted the ubuntu
folder in the UEFI partition.
edit 2: I managed to get back into Windows through a "System Recovery" option in the laptop's BIOS settings. This may or may not have solved the issue.
edit 3: okay, I can boot almost normally now. When I boot, I see No partition active
for a couple of seconds then Windows boots. How can I remove that?