Windows 8.1 and Fedora 25 Dual Boot Tutorial.

Discussion in 'Linux' started by abcdefg9040, Dec 26, 2016.

  1. abcdefg9040

    abcdefg9040 MDL Novice

    Apr 27, 2016
    6
    2
    0
    #1 abcdefg9040, Dec 26, 2016
    Last edited: Dec 26, 2016
    Windows 8.1 and Fedora 25 Dual Boot Tutorial.

    1.First install Windows.

    2.Install Easy UEFI tool.
    h**p://w*w.easyuefi.com/index-us.html

    3.Disable Fast Startup options in the Control Panel  Power Options  Choose what the power button does  Change settings that are currently unavailable  Untick ‘Turn on fast Startup’.

    4.Shrink a partition and make at least 20GB unallocated space from the windows Computer management  Disk management.

    5.Use rufus or other Bootable USB maker to create a Fedora bootable usb drive.

    6.Backup Windows EFI partition using Easy UEFI tool.

    7.Manually install rEFInd boot manager to the Windows EFI partition following the guide at:

    h**p://w*w.rodsbooks.com/refind/installing.html#windows

    or follow the same below.

    a.Download refind-bin-gnuefi.zip file.
    h**p://w*w.rodsbooks.com/refind/getting.html

    listed under A binary zip file - a variant package……………compiled with GNU-EFI……..

    b.Extract the rEFInd bin to Windows C:\ (root) directory.

    c.Go inside the rEFInd bin & delete the unnecessary .efi files & license notepad files inside the following folders according to your needs & PC architecture.
    drivers_aa64
    drivers_ia32
    drivers_x64

    d.Open command Prompt with administrative privileges. Just to make sure the fast startup is disabled use the following command.
    Powercfg /h off

    e.Type mountvol S: /S in the Administrator Command Prompt window. This makes the ESP (EFI System Partition) accessible as drive S: from that window. (You can use a drive identifier other than S: if you like.)

    f.Change into the main rEFInd package directory that was copied to C:\ in step b.
    Go inside the bin folder in C drive and copy the path in the address bar and paste it before ‘cd’ for change directory in the command prompt.

    cd C:\refind-bin-0.10.4

    g.Type xcopy /E refind S:\EFI\refind\ to copy the refind directory tree to the ESP's EFI directory. If you omit the trailing backslash from this command, xcopy will ask if you want to create the refind directory. Tell it to do so.

    h.Type S: to change to the ESP.

    i.Type cd EFI\refind to change into the refind subdirectory.

    j.Type rename refind.conf-sample refind.conf to rename rEFInd's configuration file.

    k.Type bcdedit /set {bootmgr} path \EFI\refind\refind_x64.efi to set rEFInd as the default EFI boot program. Note that {bootmgr} is entered as such; that's not a notation for a variable. Also, change refind_x64.efi to refind_ia32.efi on systems with 32-bit EFIs. Such computers are rare, and most of them are tablets. Check your Windows bit depth to determine which binary you should use.

    l.If you like, type bcdedit /set {bootmgr} description "rEFInd description" to set a description (change rEFInd description as you see fit).

    Further methodologies of installing rEFInd can be found at:
    h**p://w*w.rodsbooks.com/refind/installing.html

    8.Connect the Internet/Wifi connections and attach the Fedora boot USB and reboot. At this point, when you reboot, rEFInd should appear as your new default boot program.

    9.Select the USB drive Fedora boot option from rEFInd menu that uses GRUB to boot Fedora.

    10.Start Fedora live.

    11.Try Fedora & load Terminal & type the following to see whether the system has booted in UEFI mode.
    [ -d /sys/firmware/efi ] && echo UEFI || echo Legacy  Enter
    Output should be ‘UEFI’.

    12.Refer to the Fedora documentation of how to install Fedora. Source is given below. Install Fedora with the following partitioning. Do not use Windows EFI partition. Create a new EFI partition for Fedora.

    >=400MB  /boot/efi
    >=10GB  /
    >=4GB  Swap
    >=10GB  /home

    13.Install normally & reboot to Windows when rEFInd boot manager appears. do not boot in to Fedora.

    14.Load Easy UEFI tool and delete the USB drive entry in the EFI partition (if there is one) and put the Windows boot manager to the top of the list. Remove USB drive and reboot.

    15.rEFInd menu will find and load the two OS’es.

    Sources:
    h**p://w*w.rodsbooks.com/refind/installing.html#windows
    h**p://w*w.rodsbooks.com/refind/getting.html
    h**ps://docs.fedoraproject.org/en-US/Fedora/25/html/Installation_Guide/index.html
     
  2. linhdr15

    linhdr15 MDL Novice

    Dec 20, 2016
    6
    0
    0
    thanks for your information. I will watch it to support my work