I was dualbooting Windows 8.1 with Linux Mint 18.2 Cinnamon for a while, then had malware issues ( + generally buggy Windows), and decided to do the following: 1. Remove Mint; 2. Repair Windows; 3. Dualboot with Mint again.
I used this guide: https://itsfoss.com/uninstall-ubuntu-li ... dual-boot/. Part 2 (fixing Windows bootloader) didn't work, so I restored Windows to initial state. After recovery, Windows asked for the activation key I had lost long ago (the OS was preinstalled on the laptop). I got mad at the stubborn Windows and decided to kill it entirely and install Mint only.
I booted from the same USB i had used to install Mint in dualboot (UEFI bootable, made with Rufus) and launched the installer. It detected Windows on the machine. As i thought i had already fixed the bootloader, i simply chose to "erase Windows and install Mint". This was probably my big mistake, i should have done manual partitioning. The installation went ok until restart; but when i rebooted i got this:
Default boot device missing or boot failed.
Insert recovery media and hit any key.
Then select 'Boot Manager' to choose a new boot device or to boot recovery media.
[Ok]
I hit Ok without the USB, and got this:
Boot Manager
Boot Option Menu
1. Linux
2. Unknown Device: <WDC WD10JPVX-22JC3T0>
which was quite a surprise because this 'Linux' is the name i gave Mint in dual boot and i suspect it tried to boot the system that no longer exists. The 'unknown device' is my hard drive with the newly installed Mint.
I rebooted a few times with various UEFI settings (secure boot enabled/disabled, changing boot priority, etc.) and somehow was able to bring up the GRUB menu; i chose 'Advanced options' => recovery mode => Update grub bootloader
I'm not sure what it did (in the log, it mentioned remounting the EFI partition) but i booted into Mint and thought that my problems were over. I installed updates (safe mode, level 1 and 2 only, so no kernel updates) and nvidia driver (as i had the black screen at boot which i had to bypass with 'nomodeset'). I rebooted and...
Boot Manager
Boot Option Menu
1. Unknown Device: <WDC WD10JPVX-22JC3T0>
2. Linux
Now, if i choose the 'Unknown Device', it boots to black screen (obviously something went wrong with the driver), and i can't bypass the black screen because i don't get the GRUB (!). Striking
Esc
at boot takes me to 'Minimal BASH like line editing...' with grub>
prompt. Here's the output of
grub> set
: I can still boot from live USB.
Here's the output of
sudo fdisk -l
:Here's what GParted shows:
Now i'm quite at a loss about what to do next. I feel tempted to try boot-repair (https://www.howtogeek.com/114884/how-to ... wont-boot/) but first i'd love to understand what's going on here and be sure about what i'm doing.
Many thanks in advance...