I've searched everywhere for answers to the problems I'm having, and can't find a solution. I hope someone here can help.
I have a Thinkpad T420 with two hard disks. The first hard disk is internal and contains Windows 10 Technical Preview. The second hard disk is in the DVD bay, and contains Ubuntu. I have reinstalled both operating systems multiple times trying to get this to work. One time I managed to boot Ubuntu, but then Windows was invisible. At this point I can boot Windows, but not Ubuntu.
I'm using EFI, not BIOS. The second disk, with Ubuntu, is partitioned as follows:
(1) Space for BIOS (bios-grub flag) because boot-repair insisted. But when I reinstalled with this partition, boot-repair deleted everything in it.
(2) EFI partition (about 1GB), boot flag.
(3) Swap partition, about 10GB because I have 8GB of RAM. I didn't want to include this because it's an SSD drive, but dire warnings from the Ubuntu install program caused me to include it.
(4) Root, mounted at /.
The first time I did this, I could boot Ubuntu, but Windows was no where to be found. I tried adding Windows to the Grub menu with custom_40 (then run update-grub), but it was (and still is) completely ignored. This is another problem - maybe I should post it separately.
I reinstalled Windows 10, and now Ubuntu is on the Windows boot menu (did boot-repair put it there?). When I choose Ubuntu, the Grub menu comes up. But when I choose Ubuntu (first item) from this menu, it fails to boot. I get the message, "Booting in insecure mode", and then it hangs.
This ThinkPad originally came with Windows 7, and it does not have Secure Mode to turn off - no secure mode.
I've tried every boot-repair option, and it is not set up to handle this configuration. I need to edit the Windows and Grub bootloaders manually somehow, but I don't know enough about them to know what's wrong or how to fix it.
Here is the output from boot-repair. I wish I knew what any of it meant. I've spent hours and hours on this. Can anyone help me?
Forget that - I can't paste it here because it's too long. Also, I don't know how to put this in a code block - I'm not going to manually type spaces in front of each line! Here's the link: