3

I have a laptop (with Windows 8 pre-installed) that has been through numerous dual-boot configurations. At one point, I had removed everything and ran Linux Mint as the only OS. Eventually, I decided to remove that and reinstall Windows 8.

Upon doing so, I had a number of drivers to install/update in order to restore some basic functionality (USB ports, HDMI, FN keys, etc.). This was relatively easy to fix as all the drivers I needed were online. The problem I'm left with though, that I haven't found anything which pertains to my specific situation, is that I can no longer boot into UEFI mode.

When I was running Linux Mint as my sole OS, I left UEFI boot mode enabled with Secure and Fast boot both off. In order to reinstall Windows 8, I burned the ISO to a USB and the ONLY way it would work is if I turned UEFI mode off, and used CSM Mode.

Since reinstalling Win8, I cannot boot into UEFI mode. Which is ultimately, I think, affecting my wishes to dual-boot Ubuntu alongside Windows again.

Any ideas as to how to fix this?

gparted warning screenshot

phuclv
  • 26,555
  • 15
  • 113
  • 235
Joe
  • 175
  • 1
  • 1
  • 10
  • is your HDD converted to MBR when installing Linux Mint? I've seen some stupid UEFI "automatically" decides to boot in BIOS or UEFI mode depending on HDD formats – phuclv Jun 22 '14 at 02:20
  • You mean in the past? I'm not sure how to check this... – Joe Jun 22 '14 at 02:22
  • open gdisk/gparted/whatever disk editor and make sure that the HDD format is GPT – phuclv Jun 22 '14 at 02:24
  • Just to be sure, you mean the Windows partition? I've set aside some space for Ubuntu – Joe Jun 22 '14 at 02:27
  • no, that the **harddisk** format – phuclv Jun 22 '14 at 02:33
  • Rod Smith has some neat tools if you can get the computer to boot to them. See his page at [Managing EFI Boot Loaders for Linux](http://www.rodsbooks.com/efi-bootloaders/). Also see his rEFInd tool. – jww Jun 22 '14 at 03:06
  • @Lưu Vĩnh Phúc - I checked the properties of the unallocated partition and it's Partition Style is MBR. I also booted into Ubuntu with my Live USB and looked at the partitions with GParted. GParted doesn't recognize anything but 750gb of unused space. – Joe Jun 22 '14 at 03:20
  • @Joe, It's likely the problems are due to some **errors** or incorrect settings used when you "burned the ISO to a USB". – Pacerier Nov 09 '15 at 19:21
  • the problem was that I used the Microsoft Windows 7 USB Creator Tool which only supports BIOS @Pacerier – Joe Nov 10 '15 at 04:34
  • @Joe, Also see the question in my comment on http://askubuntu.com/questions/486556/no-partitions-found-while-installing-dual-boot-win8-ubuntu-14-04/486583#comment1018003_486581 – Pacerier Nov 10 '15 at 16:47

2 Answers2

1

Windows (and many other operating systems) requires GPT to be able to boot on UEFI systems. And some UEFI systems automatically boot on legacy BIOS mode if it detects the HDD as "legacy" MBR (although technically it's a buggy implementation).

So you must convert the disk to GPT. But gparted is very slow on disk operations, and it can't convert MBR to GPT either (that's a long time ago, I don't know if newer versions can, but I doubt that it can). As a result if you don't want to lose data you must use other partitioning tools to convert. Some GUI examples:

If you want to work with command line then there's gdisk which can also convert MBR to GPT without data loss. Windows 10 has the same capability with MBR2GPT.EXE

MBR2GPT.EXE converts a disk from the Master Boot Record (MBR) to the GUID Partition Table (GPT) partition style without modifying or deleting data on the disk. The tool is designed to be run from a Windows Preinstallation Environment (Windows PE) command prompt, but can also be run from the full Windows 10 operating system (OS) by using the /allowFullOS option.

See also Converting between GPT and MBR hard drive without losing data

phuclv
  • 26,555
  • 15
  • 113
  • 235
  • as it said, your GPT is error and you need to fix. If it has windows 8 pre-installed then definitely it was GPT at first. But I don't know what you have done to that drive so if you can make sure that it still has a correct GPT structure, select Yes for it to fix, otherwise you need some other ways – phuclv Jun 22 '14 at 04:03
  • In the past, when I installed Linux Mint - it used UEFI boot mode. When I removed that and reinstalled Windows 8, I was forced to boot from CSM mode because the LiveUSB wouldn't work otherwise. Now, all of my Windows booting is done using CSM. – Joe Jun 22 '14 at 04:05
  • maybe because you have used the non-UEFI windows install disk or have deleted all partitions so Windows installer didn't know that and messed up the GPT. You have to fix the GPT and use a UEFI 64-bit windows 8 install disk – phuclv Jun 22 '14 at 04:26
  • 1
    I've fixed the GPT table. See my answer (and question) here: http://askubuntu.com/questions/486556/no-partitions-found-while-installing-dual-boot-win8-ubuntu-14-04/486583#486583 – Joe Jun 22 '14 at 04:38
  • Instead of reinstalling Windows 8 and recovering the UEFI mode, I've decided to install Ubuntu in Legacy mode. Do you have any recommendations for that? – Joe Jun 22 '14 at 04:39
  • if you can live with legacy mode, I think there's no problem with that. But if you have fixed the GPT table, IMH it's better to reinstall windows and check if it's booting in UEFI mode to prevent problems later on – phuclv Jun 22 '14 at 04:44
0

Since reinstalling Win8, I cannot boot into UEFI mode. Which is ultimately, I think, affecting my wishes to dual-boot Ubuntu alongside Windows again.

Any ideas as to how to fix this?

I had the same problem on an ASUS Q500A laptop. I was attempting to multi-boot Windows 8, Debian, Fedora and Ubuntu. The idea was to install all the base operating systems first, and then spend the next two days in patching (in case one install blew out earlier install/patch work).

My solution was to install Windows first, and then apply all the Windows patches. After all the Windows patches were installed, I could boot into UEFI and load the other OSes. And the "apply all Windows patches" included the required reboots too. Its not enough to just install the patches.

Without the patches, I could not even get the UEFI boot screen to show. And I tried everything I could find to get to that boot screen - from pressing ESC, F2, F10, F12, etc. I even read the damn laptop manual and the manual on the Aptios Firmware. I could not find the behavior documented anywhere.

Here's a few threads when I was trying to avoid the "fully patch Windows" solution: How to enter UEFI on computer startup (what did Windows change)? from Microsoft Forums and Dual Boot Linux and Windows 8 on ASUS laptop (Windows 8 Installed) from Super User.

And I never was able to determine who was at fault for locking me out of my own system (i.e., UEFI spec requirement, Microsoft logo requirement, Firmware feature, etc).

jww
  • 11,918
  • 44
  • 119
  • 208
  • 1
    When you say UEFI boot screen, do you mean the BIOS settings reached on startup with the F2 or F12 key? Or do you actually mean the UEFI boot menu with the pretty Windows styling reached by Shift-clicking the Restart button? – Joe Jun 22 '14 at 02:50
  • 1
    @Joe - the boot screen offered by the UEFI via ESC and friends. Its not frills. Not the Windows styled boot screen. For what its worth, I could not get Windows to allow me to boot to the Linux ISOs from the Windows style screens either when patches were waiting. That includes both DVD and thumb drives. They would not show up as a bootable device when patches were pending. – jww Jun 22 '14 at 03:04
  • 1
    In one of the links you gave me, the same mistake was made. The user asked how to get to UEFI boot screen, and the Microsoft professional corrected him that he was trying to get into BIOS. You mean the BIOS settings, which I have no problem getting into. I mean, electing to use UEFI boot mode (vs CSM/Legacy/BIOS boot mode). Whenever I switch to UEFI mode, my system doesn't find a bootable drive. – Joe Jun 22 '14 at 03:17
  • @Joe - OK, thanks. I could not get into the Firmware's built-in screen to select which partition to boot. Though I could get into the Windows style boot menu, my bootable devices were not present until I applied patches. Here, bootable devices included other partitions, DVD ISOs and USB Thumb Drive ISOs. I hope that clears things up for you. – jww Jun 22 '14 at 03:23
  • I will look further into the links you provided, thanks for your time. – Joe Jun 22 '14 at 03:25
  • as the OP said, the HDD is MBR, so he can't boot in UEFI mode anyway – phuclv Jun 22 '14 at 03:58
  • 1
    @Lưu - UEFI has a legacy mode that will allow the downgrade. Its transparent when it works properly. However. the updated image makes it appear he's using partition tables or GPT. It looks like his firmware could be confused. – jww Jun 22 '14 at 04:00
  • @jww, Is it even possible to boot to anything non-Windows from Windows' UEFI screen? – Pacerier Nov 09 '15 at 19:19