I've installed Linux mint today alongside my Windows 10 installation. Setup is like this:
- 1st Drive SSD: Windows 10 (MBR)
- 2nd Drive: Some data (MBR)
- 3rd Drive: Some more data (MBR)
- 4th Drive: Backup of previous drives and a separate partition where I've installed mint. (GPT, since it's a large drive)
Boot is not UEFI but standard (though BIOS allows UEFI, Windows and Mint are installed the standard way). Installation went flawlessly, after reboot, grub appeared with options to boot Mint, memtest and Windows 10, i continued to boot into Mint. Performed system update and, here when it gets weird.
Upon reboot, i get dropped to grub rescue shell with message:
error: no such device: {UUID}
error: unknown filesystem
When i issue "ls
" i only get
(hd0)
I rebooted into Live USB again, checked that UUID hasen't been changed or something else, but everything seems fine. I mounted the root partition, checked grub.cfg and there is "insmod part_gpt
" present, so it should load gpt module.
I've rebooted and grub appeared again.
NOW, here is where it gets MORE weird! Once i boot ANY OS from grub, it will boot fine, but once i reboot, i get stuck at same error as before with same behaviour. And only way for me to get back regular grub is to boot live usb and then reboot (literally nothing else) and it will prompt me for my installation grub with Mint and Windows and memtest etc. Tried it couple of times, either by booting into mint or windows, whenever i reboot, i get stuck and i have to perform mentioned workaround.
When i managed to get my grub back after rebooting from LIVE, i entered grub console and issued 'ls
', i could see all my drives and partitions.
(hd0) (hd1) (hd2) (hd3) (hd3,gpt3) (hd3,gpt2) (hd3,gpt1) (hd4)
(Maybe it showed more because i still had flash drive inserted).
Steps I've tried to resolve the issue(without gain):
grub-install /dev/sda
(since it's first drive, guessing that where it needs bootloader to be) from Live USB Outcome: fails because it had issues with "/cow" path (can't remember the exact error message, I'm writing by memory, i can add if needed when i get back home)
grub-install /dev/sda
from Mint once rebooted from Live USB Outcome: successful install without error messages, issuedupdate-grub
afterwards
grub-probe
, it showed me that boot is on/dev/sdd
(because boot partition technically is), so i tried "grub install /dev/sdd
" Outcome: Error message that it cannot install grub on GPT partition without blacklists and it's not recommended.
- Tried to add "
insmod part_gpt
" to the very top of grub.cfg file Outcome: nothing. No change.
- Tried to add "