Skip to content

Instantly share code, notes, and snippets.

Created February 26, 2016 23:07
Show Gist options
  • Save anonymous/f5b09529f279348ac6e6 to your computer and use it in GitHub Desktop.
Save anonymous/f5b09529f279348ac6e6 to your computer and use it in GitHub Desktop.
How to reproduce Gigabyte - Clover Duplicate UEFI Boot entries Bug - with screenshots
* Make sure Windows 10 is installed in UEFI mode! On a SATA disk
* Boot into Windows 10
DONT NEED CLOVER TO REPRODUCE THIS BUG.
THESE CLOVER STEPS ARE NOT NECESSARY - SKIP.
SEE FURTHER BELOW FOR MEMTEST x86 IMAGE METHOD.
===
Clover Method:
* Download Clover ISO image file, from here:
https://sourceforge.net/projects/cloverefiboot/files/Bootable_ISO/
* Unpack .lzma archive with 7zip
* In explorer select .lzma file, right click 7Zip --> 'Extract here'
* Unpack .tar archive with 7zip
* In explorer select .tar file, right click 7Zip --> 'Extract to CloverISO-3346/'
* Launch RUFUS tool
* Select 'GPT Partition Scheme for UEFI'
* Select 'FAT32'
* Select 'Clover-v2.3k-3346-X64.iso'
* Click 'Start' button
* Clover UEFI is now on USB Key
* Go to linux computer (for example ubuntu)
* Insert Clover USB Key
* Optional (to go faster) - make Clover disk size SMALLER
* This does not
* Load up 'GParted' GUI program
* Select Clover USB disk (here, /dev/sdc, the last disk)
* Right click Clover partition --> Select 'Unmount'
* Right click Clover partition --> Select 'Resize/Move'
* Drage the bar smaller, to only 100mb partition size
* Click 'Apply'
* Make dd disk image in linux of Clover USB
* Here, the USB disk is '/dev/sdc'
* Command if skipped last steps
* $ sudo dd if=/dev/sdc of=clover-usb.dd.img bs=1M
* Command if completed last steps
* $ sudo dd if=/dev/sdc of=clover-usb.dd.img bs=1M count=200
* Now Get a REAL SATA hard disk - must be SATA / IDE (but can be in USB caddy ATM)
* If SATA hdd is called '/dev/sdd', then we restore dd image like this:
* Run command, BE CAREFUL FOR OUTPUT DISK
* $ sudo dd if=clover-usb.dd.img of=/dev/sdd
* Now take SATA hdd out of USB caddy, it has Clover UEFI bootloader installed onto it
* Go to target Gigabyte Machine Z170x Gaming 3 / 5 motherboard
* Connect SATA hdd with Clover ---> SATA hdd port
* So its installed 2x hard disks:
(one is Windows UEFI, the other is Clover UEFI hard disk)
* Keep attached Windows 10 UEFI boot disk (SATA hdd)
* Keep attached the Clover UEFI Boot disk (SATA hdd)
* Attach another USB key (FAT32), for taking screenshots
* Disconnect all other disks
* Reboot into BIOS Setup
* Take Screenshot
* Continue to boot into Windows 10
* Reboot into BIOS Setup
* Take Screenshot
* Continue to boot into Windows 10
* Reboot into BIOS Setup
* Take Screenshot
* Continue to boot into Windows 10
again, again,
===
MEMTEST x86 METHOD:
Example BIOS Screenshots:
http://imgur.com/a/GzsJC
Same duplicate entries, this time shown by the 'EasyUEFI' program in Windows:
https://i.imgur.com/FtjfuEx.png
https://i.imgur.com/RscOSL6.png
https://i.imgur.com/ONITPfZ.png
OK - to reproduce this method:
* Make sure Windows 10 is installed in UEFI mode! On a SATA disk
* Boot into Windows 10
* Download PASSMARK MemTest86 V6.3.0 Free Edition Version 6.2
http://www.memtest86.com/download.htm
MAKE SURE ITS UEFI ONE. For example:
http://www.memtest86.com/downloads/memtest86-usb.tar.gz
* Then Unzip --> dd to SATA HDD (for example with help of USB Caddy)
* Go to target Gigabyte Machine Z170x Gaming 3 / 5 motherboard
* Connect SATA hdd with Clover ---> SATA hdd port
* So its installed 2x hard disks:
(one is Windows UEFI, the other is PASSMARK Memtest x86 UEFI hard disk)
* Keep attached Windows 10 UEFI boot disk (SATA hdd)
* Keep attached the PASSMARK Memtest x86 UEFI Boot disk (SATA hdd)
* Attach another USB key (FAT32), for taking screenshots
* Disconnect all other disks
* Reboot into BIOS Setup
* Take Screenshot
* Continue to boot into Windows 10
* Reboot into BIOS Setup
* Take Screenshot
* Continue to boot into Windows 10
* Reboot into BIOS Setup
* Take Screenshot
* Continue to boot into Windows 10
again, again,
@danalec
Copy link

danalec commented Mar 29, 2017

everytime I update the kernel using mkinitcpio, it duplicates the boot entry (archlinux, two partition and single ssd setup). ga-170x-ud3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment