Showing posts with label uefi. Show all posts
Showing posts with label uefi. Show all posts

Monday, August 29, 2016

Windows 8 Linux Mint UEFI Dual Boot Follow Up When things go wrong

Windows 8 Linux Mint UEFI Dual Boot Follow Up When things go wrong



Your BIOS setup may look different from this, but this is what mine looks like when it works the way I want (dual boot via Grub):

My BIOS "Boot" Configuration
Notice the first item called "mint".  This guy disappeared once after a Windows update.  In order to get it back, you may have to add it again.  Notice the option "File Browser Add Boot Option" in the screen above?  Select that option and you should get something that looks like this:

Dell file chooser
This is just a primitive file picker.  Above is a list of partitions on my machine.  You can select any one you want and see what is in there.  Then one youre looking should have contents like this:


Under <linuxmint> you should see this:


The grubx64.efi file is the one you want, this one will start Grub on boot.  Once youve selected this file, you will probably be asked to name the new boot configuration.  You can call it whatever you want.  Once youve given it a name (I called it "mint"), you will want to make it the first boot priority as in the first photo of this article.

Another problem I ran into once (again after a Windows 8 update) was messed up partition flags.  Here is what my "working" partitions look like:


Ive highlighted the partition flags at right.  You will of course need to know what youre doing if you start messing with these.  The important flags are "boot", which is on /dev/sda1 here, and the "msftres" flag which is on an unknown chunk of the disk.  Make sure these are set properly.

Finally, when things really go wrong and you cant boot into Windows 8 anymore, you may need a Windows 8 rescue image.  This can be generated from a working copy of Windows -- even a working copy from a friend that has Windows 8.  If you cant find a friend that has it, maybe you can go to a local computer store and get one made...  You just need an 8GB USB memory stick.  I had to borrow one one from a friend of mine in order to use the utility called "bootrec".  The general procedure was something like:
  1. Boot Windows 8 recovery from USB drive. 
  2. Get to a command prompt and run the following:
  3. bootrec /fixmbr
  4. bootrec /fixboot
  5. bootrec /rebuildbcd
I am not sure which of the last three commands was most effective in fixing my problem, but I ran all of them.

So thats it.  For any problem you may have, I think youve got the information here to solve it.


Get

Read more »