When Secure Boot Fails - System Repair broke my Windows

Dark Rider

New Member
Member
Messages
187
I had a problem where I was running UEFI with secure boot disabled and dual booting with Linux Mint which is UEFI compliant. Mint had installed Grub, Mint's boot manager but I don't like Grub so i installed rEFInd. Unlike Grub rEFInd has support for UEFI and should have worked better as a boot manager. But it gave me problems too. So I had Grub and rEFInd both installed. I could boot to both Mint and Windows but the boot managers, both Grub or rEFInd, would not show at startup like they are supposed to. I had to boot the PC, then hit Escape getting into my options menu built into the system, hit F9 to get a list of boot options where i could then choose to boot from hard drive, cd rom, usb etc. rEFInd was in this list. Only after choosing rEFInd from here, was I able to open rEFInd and choose Windows or Mint. This is way too many steps to boot into an OS, so i thought i'd try to use the system repair disk to repair my master boot record or the EFI data that the system uses at boot under UEFI. I forgot that i had to run some additional commands under command prompt and just ran automatic repair from Advanced instead.

At this time Windows had no trouble working at all with secure boot enabled if I really needed windows to use secure boot.

It said it found but could not fix the errors. Suddenly, Windows would not boot even with secure boot enabled. I reran the tool 3 times and it didn't help so i wiped the drive and reinstalled Windows from a clean state. I really did not have errors on the system to begin with accept that the system was trying to access my boot managers in an odd manner.. although i could get everything to work.

The automatic repair option should not have made things worse, even breaking my secure boot but it did.

My point of this is to show that the repair disk tools and how they play with the EFI boot tools is buggy and it can break your system even if there is nothing wrong with Windows and it's ability to boot under secure boot. Don't trust the Repair Disk tool folks. Don't trust UEFI. Don't trust Secure Boot. Be smart. Install a clean system under Legacy Bios mode with UEFI and secure boot disabled.
 

My Computer

System One

  • OS
    Windows 8 64 bit
    System Manufacturer/Model
    HP Pavillion G7-2251dx
    CPU
    AMD A-8 4500M
    Memory
    8 Gigabytes DDR3 sdram
    Graphics Card(s)
    Discrete ATI Radeon HD 7640G with 2 Gigs
    Sound Card
    IDT Audio
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600x900
    Hard Drives
    500 gig
    Internet Speed
    3.5 mb/sec
Did you check the settings in your GRUB config files?

My GRUB (from Linux Mint 14 MATE install) wasn't auto booting the selected OS (W7).
The countdown time was set, but one of the other options disabled it.
Once I changed that option, everything worked as expected.
 

My Computer

System One

  • OS
    Windows 7 Ultimate SP1 (64 bit), Linux Mint 18.3 MATE (64 bit)
    Computer type
    PC/Desktop
    System Manufacturer/Model
    n/a
    CPU
    AMD Phenom II x6 1055T, 2.8 GHz
    Motherboard
    ASRock 880GMH-LE/USB3
    Memory
    8GB DDR3 1333 G-Skill Ares F3-1333C9D-8GAO (4GB x 2)
    Graphics Card(s)
    ATI Radeon HD6450
    Sound Card
    Realtek?
    Monitor(s) Displays
    Samsung S23B350
    Screen Resolution
    1920x1080
    Hard Drives
    Western Digital 1.5 TB (SATA), Western Digital 2 TB (SATA), Western Digital 3 TB (SATA)
    Case
    Tower
    Mouse
    Wired Optical
    Other Info
    Linux Mint 16 MATE (64 bit) replaced with Linux Mint 17 MATE (64 bit) - 2014-05-17
    Linux Mint 14 MATE (64 bit) replaced with Linux Mint 16 MATE (64 bit) - 2013-11-13
    Ubuntu 10.04 (64 bit) replaced with Linux Mint 14 MATE (64 bit) - 2013-01-14
    RAM & Graphics Card Upgraded - 2013-01-13
    Monitor Upgraded - 2012-04-20
    System Upgraded - 2011-05-21, 2010-07-14
    HDD Upgraded - 2010-08-11, 2011-08-24,
Did you check the settings in your GRUB config files?

My GRUB (from Linux Mint 14 MATE install) wasn't auto booting the selected OS (W7).
The countdown time was set, but one of the other options disabled it.
Once I changed that option, everything worked as expected.

Once I installed rEFInd I could not even access grub unless I did it from rEFInd's menu. I didn't try that option but should have. No matter though, how messed up my grub or rEFInd configuration was running that tool should not have broken things for windows running under secure boot.

Mint has some type of UEFI compatibility and so does rEFInd. Grub is MBR only. The beauty of rEFInd when it works properly is it has the ability to see a UEFI system and a MBR system ind give you the option to choose between them. No other tool can do this. I suspect the repair disk saw something in either Mint's or UEFI's compatibility and balked at it.. but it should not have messed up secure boot because secure boot was disabled at the time. Secure Boot had been disabled during this entire process so nothing in secure boot could have been corrupted for the repair disk to try to fix or mess with it.
 

My Computer

System One

  • OS
    Windows 8 64 bit
    System Manufacturer/Model
    HP Pavillion G7-2251dx
    CPU
    AMD A-8 4500M
    Memory
    8 Gigabytes DDR3 sdram
    Graphics Card(s)
    Discrete ATI Radeon HD 7640G with 2 Gigs
    Sound Card
    IDT Audio
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600x900
    Hard Drives
    500 gig
    Internet Speed
    3.5 mb/sec
Do you have the Windows System Reserved partition?

Most of the GRUB problems I have seen discussed on SevenForums, seem to be related to the Windows System Reserved partition.
I always pre-partition my HDDs, so I never get that WSR partition and GRUB has always worked (apart from the auto boot incident).

I don't have UEFI though and I don't know anything about rEFInd. :(
 

My Computer

System One

  • OS
    Windows 7 Ultimate SP1 (64 bit), Linux Mint 18.3 MATE (64 bit)
    Computer type
    PC/Desktop
    System Manufacturer/Model
    n/a
    CPU
    AMD Phenom II x6 1055T, 2.8 GHz
    Motherboard
    ASRock 880GMH-LE/USB3
    Memory
    8GB DDR3 1333 G-Skill Ares F3-1333C9D-8GAO (4GB x 2)
    Graphics Card(s)
    ATI Radeon HD6450
    Sound Card
    Realtek?
    Monitor(s) Displays
    Samsung S23B350
    Screen Resolution
    1920x1080
    Hard Drives
    Western Digital 1.5 TB (SATA), Western Digital 2 TB (SATA), Western Digital 3 TB (SATA)
    Case
    Tower
    Mouse
    Wired Optical
    Other Info
    Linux Mint 16 MATE (64 bit) replaced with Linux Mint 17 MATE (64 bit) - 2014-05-17
    Linux Mint 14 MATE (64 bit) replaced with Linux Mint 16 MATE (64 bit) - 2013-11-13
    Ubuntu 10.04 (64 bit) replaced with Linux Mint 14 MATE (64 bit) - 2013-01-14
    RAM & Graphics Card Upgraded - 2013-01-13
    Monitor Upgraded - 2012-04-20
    System Upgraded - 2011-05-21, 2010-07-14
    HDD Upgraded - 2010-08-11, 2011-08-24,
Back
Top