SUPER IMPORTANT UPDATE 4: I am an ee-dee-oth. Simplest way to get this going is (1), get your Windows setup, (2) shrink your windows partition (in windows) to make room for Linux, (3) turn off secure boot, (4) install refind IN WINDOWS using the instructions on the refind site (http://www.rodsbooks.com/refind/installing.html#windows), (5) install Mageia to the empty space (refind should pick up linux automatically! You should then be able to customize refind by mounting your EFI partition (for me, the command was "mount /dev/sda2 /path/to/a/folder/I/made), and editing the refind.conf file.
So you can pretty much ignore the rest of this post...
UPDATE: Forgot to mention that I also mounted /boot to point to the EFI partition in step 4... kind of important... my bad.
UPDATE 2: Tried this on another X202e. Didn't pick up the Linux boot options. Fix was to add the ext4 driver to the /boot/EFI/tools/drivers folder on the EFI partition, and uncomment the "scan_driver_dirs" line in refind.conf (which I found in /boot/EFI/Microsoft/Boot). Use whichever driver for whichever file system you're using. (You can download the zip file here: http://www.rodsbooks.com/refind/getting.html)
UPDATE 3: Forgot to state that Secure Boot needs to be disabled. Whoops. Also kind of important.
I have an Asus X202e laptop, which doesn't allow BIOS-style (MBR) booting when there's a EFI partition on the hard drive (which means most of the instructions I found, including the ones on the Magiea site, don't work). Here's how I was able to dual-boot Windows 8 and Mageia 3 on a UEFI system.
In short:
Get efibootmgr and rEFInd installed, and you should be laughing.
Pre-requisites:
1. Windows 8/8.1 already installed, with the hard drive partitioned as you like (if you're on a blank hard drive, Windows will setup the EFI partition nicely).
2. You need to know which partitions point to where (e.g., my / pointed to /dev/sda5)
3. Magiea Install media and the LiveDVD (I used the KDE Live DVD)
4. The rEFInd RPM package (http://sourceforge.net/projects/refind/files/0.7.7/)
5. The rEFInd zip package (http://www.rodsbooks.com/refind/getting.html)
6. The efibootmgr RPM package (http://mirrors.kernel.org/mageia/distri ... x86_64.rpm)
7. Secure Boot needs to be disabled!
Steps:
1. I installed Mageia from the DVD ISO as per usual. (This left Mageia on the drive, but not accessible through the bootloader.)
2. I booted the system with the LiveDVD.
3. I had the RPM files on a SD card, which automatically mounted when inserted (so a USB stick would work, too...)
4. I manually mounted /, /boot, and /usr to point to the hard drive (i.e. "mount /dev/sda5 /" etc. This let me install the RPMs to the hard drive, instead of to RAM).
5. Installed the RPMs (efibootmgr then rEFInd)
6. Copied the driver file from the rEFInd zip package to the /boot/EFI/tools/drivers folder on the EFI partition (I was using ext4 partitions, so I used that driver)
7. Uncommented the "scan_driver_dirs" line in refind.conf (which I found in /boot/EFI/Microsoft/Boot)
8. I repaired /etc/fstab by reinstalling Mageia (/etc/fstab still had all the LiveDVD mount points in it...)
...and there was much rejoicing.
Disclaimers:
1. Could probably do this with only the Live DVD, but I wanted a fancier partition setup, so I used the regular DVD ISO for my installs.
2. Could probably download the RPMs while booted with the Live DVD, but I did it in a much more complicated way, so I'm probably the wrong person to ask.
3. May not need to mount /usr, but I had /usr on its own partition, and figured why not?
4. Reinstalling Mageia to fix /etc/fstab is probably overkill, but did the job.
Long story short, rEFInd is awesome, and I hope Mageia 4 has proper UEFI support out of the box.