in Linux

Windows 8 and Fedora 20 UEFI Dual Boot

Hello all first of all this is not a question, Its my personal experience with dual booting windows 8 and fedora 20.

I have HP ENVY M6 M6-k025dx Ultrabook, it came with windows 8 preinstalled and had secure boot and uefi boot enabled by default as it comes in all other latest notebooks 😉

Now, how i started the process and what problems i have faced till now:

I never took a backup of preinstalled windows 8 as i dont want to keep it
I forgot to disable fastboot from windows 8 power options, but it dint made any difference for me cuz i dont want to access windows partitions in linux.
I shrank my 750GB HDD, 671GB available to C:\ partiton to 350GB. And now my C:\ is about 349.9GB something… Rest is further broke in two partitions as 200GB for data partition as i plan it to use as windows spare partition for keeping my data and rest of space i left unallocated for linux.
I made the usb installer for fedora 20 64bit with UNetbootin usb maker, as i have used it from many years and i am happy with it.
Ok, now i rebooted my noteboot with UEFI and secure boot enabled to install fedora from live usb installer. I pressed F9 to select usb to start with, and i was presented with a menu like:

  • – OS Boot Manager
  • – Fedora Live Installer [EFI] i dont remember the exact text
  • – Boot from EFI file

Ive selected Fedora EFI installer and presented with a fedora efi boot menu
i selected Fedora Live Installer
it showed the fedora logo starting up and booting, but i felt like it was stuck, i pressed down key and see the that booting was hung at: Reached Target System. And after a short while it dropped to dracut emergency shell.
Its OK… i thought may its secure boot’s fault, so i disabled secure boot and restarted the u’book. its power on now and asked to confirm that i really want to disable secure boot by pressing a series of numbers followed by enter key like 9521+ENTER, so i did it… and it continued. But as the fedora started to boot it came to the same position as it was with sec boot enabled, now thats a big disappointment!!
Lastly i completely disabled EFI and went to back Legacy Mode, thanks to HP they gave that option available in bios…
I booted with fedora installer n got a working live fedora session, and to check little things i decied to run live session rather than direct install it!
Now i got satisfied with full working and snappy response of fedora, i started the installer and began installation
Selected custom parttion, by granting auto partitioning on the free space left on hdd that was 120GB, installer suggested /home of 65GB, /boot 500MB, / 35GB and swap of 8GB. After a little consideration i continued the installer, and the installation started.
I was amazed to see installation speed, it completed in 2 minutes and almost 35 seconds!! Like WOW! then restarted the machine n i got the ugly the grub menu to boot into fedora…
Fedora started good in time and everything was awesome!

Now i plan to boot into windows again to see if windows survived the transition 😛 But as i thought windows 8 wont booted again, i broke its EFI bootloader! I enabled efi and sec’boot but no progress, it claimed there was not efi bootable partition for windows 8 to boot with, but i knew it was there! Next day, that is yesterday i read here that other universal usb makers arent that good in making uefi bootable usbs, that clicked me! I downloaded the legit fedora usb maker and made the fedora live usb from ISO!

Then the magic happened:

I enabled UEFI and Secure Boot from BIOS and plugged the fedora installer usb
It booted flawlessly in EFI mode 😀
I replaced my old installation of fedora 20 that i installed the day before.
Installer finished in again around 3 minutes
Rebooted the machine
Booted in windows 8! Hahahahahahahahahha 😛 WTF!! (Till yesterday it was broke, i tried almost everything to start it!)
Checked windows, checked facebook stream 😉 . OKAY its fine!!
Rebooted and held F9 to select boot partition
And this is what i want, got a boot menu with entries like

  • – OS Boot Manager
  • – Fedora 20 [HDD SERIAL NUMBER]
  • – Boot from EFI file

Booted in fedora, and all is good now! 😀