After a failed mint 19 installation in a new partition I tried Boot-repair but that just removed grub and that destroyed my ability to run mint 18.3 in legacy mode. So I boned up on partition editing, deleted the new partition and resized and reformatted the original linux data partition. So now I have installed mint 19 on that partition but it won't install grub in any form that works. Because I installed mint 19 in UEFI mode booting in legacy mode drops into grub rescue mode with the error that /boot/grub/i386-pc/normal.mod can't be found. Not surprising because all the interesting bits of /boot/grub/ are in a sub called /x86_64-efi/ There is no /i386-pc/ subdirectory. That is a pity. If I knew what to put there is suppose i could create it and copy in..
Back in UEFI mode on the live mint 19 usb I tried https://sites.google.com/site/easylinuxtipsproject/6 That actually fixed the boot sequence destroyed by the windows loader but falls over with a mysterious error which I will now reveal.(slightly mangled due to repost problems)
Code: Select all
mint@mint:~$ sudo mount /dev/sda6 / mnt mint@mint:~$ for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done mint@mint:~$ modprobe efivars mint@mint:~$ sudo chroot /mnt root@mint:/# apt-get install --reinstall grub-efi-amd64 Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 4 not upgraded. Need to get 0 B/46.8 kB of archives. After this operation, 0 B of additional disk space will be used. Preconfiguring packages ... (Reading database ... 233701 files and directories currently installed.) Preparing to unpack .../grub-efi-amd64_2.02-2ubuntu8_amd64.deb ... Unpacking grub-efi-amd64 (2.02-2ubuntu8) over (2.02-2ubuntu8) ... Setting up grub-efi-amd64 (2.02-2ubuntu8) ... Installing for x86_64-efi platform. Installation finished. No error reported. Generating grub configuration file ... Found linux image: /boot/vmlinuz-4.15.0-20-generic Found initrd image: /boot/initrd.img-4.15.0-20-generic
Code: Select all
WARNING: Failed to connect to lvmetad. Falling back to device scanning. grub-probe: error: cannot find a GRUB drive for /dev/sdb1. Check your device.map. Adding boot menu entry for EFI firmware configuration done Processing triggers for shim-signed (1.34.9+13-0ubuntu2) ... Secure Boot not enabled on this system. root@mint:/# exit exit mint@mint:~$
A search with error message was no help.
Also no idea why we need to have a grub drive for /dev/sdb1 surely all we want to work is /dev/sda ?
We have /dev/sda2 as the EFI partition and dev/sda6 is the mint 19 data partition.
Anyway thought I'd give this forum a shot before going back to legacy mode