Ask Your Question

Dual boot Windows 8 and Fedora 19

asked 2013-09-19 21:47:06 -0500

tdl.ver713 gravatar image

updated 2013-09-20 00:45:16 -0500

FranciscoD_ gravatar image


I recently bought the Acer Aspire V3-551G-X419 Laptop. It came pre-installed with Windows 8. I wanted to install Fedora 19 on it so i used Gparted live cd to resize my HDD and installed Fedora.

Now i'm unable to boot into windows though i can see all the files (from windows) if i mount the partition. Fedora works fine. I went trough the questions asked by multiple people in this site and tried out their solutions but it did not work for some reason.

Here is the output when i tried the blkid command -

[root@localhost ~]# blkid
/dev/sda1: LABEL="Recovery" UUID="62E4BE43E4BE196D" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="e0edaf2a-e155-475b-939a-4d4f0f198371" 
/dev/sda2: LABEL="ESP" UUID="06C1-0984" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="d9fb699e-d959-4fb6-9f80-7787f16092ea" 
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="a2722a76-4210-4f2a-9ec9-f2d41fda7add" 
/dev/sda4: LABEL="Acer" UUID="C280C32980C32331" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="e1a35f53-db8e-4bdd-a20b-71b54d4af518" 
/dev/sda5: LABEL="Push Button Reset" UUID="7090C60690C5D330" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="2ec2c0dc-de0a-40a1-8f3d-97229230509a" 
/dev/sda6: PARTUUID="af87631d-83e2-4ce4-aec1-2659b3beaf90" 
/dev/sda7: UUID="7b2d4eee-98d0-46c5-9424-9099b1a22746" TYPE="ext4" PARTUUID="eef4d615-e49e-4525-919a-9b272a3cd5dd" 
/dev/sda8: UUID="iNXYDN-Lu9f-Bm3Y-t5ba-uq2C-i417-9OXKVI" TYPE="LVM2_member" PARTUUID="e06a8bbd-1e08-4753-a0bd-674bcaa0d480" 
/dev/sda9: LABEL="Extra" UUID="3C405D1172234D51" TYPE="ntfs" PARTUUID="84d9ae70-783d-49d2-9a57-223ddd7bf70f" 
/dev/mapper/fedora-root: UUID="0eb2c94d-d225-4435-ad4e-0fdb620ca0a6" TYPE="ext4" 
/dev/mapper/fedora-swap: UUID="a0edf377-d8c5-4d23-aee5-52ab6718ad66" TYPE="swap" 
/dev/mapper/fedora-home: UUID="30aa0096-746f-4c20-ad35-0e9017be888e" TYPE="ext4"
Please help!

Also this is what i got when i tried the parted /dev/sda command -

Model: ATA WDC WD7500BPVT-2 (scsi)
Disk /dev/sda: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags: pmbr_boot

Number Start End Size File system Name Flags 1 1049kB 420MB 419MB ntfs Basic data partition hidden, diag 2 420MB 735MB 315MB fat32 EFI system partition boot 3 735MB 869MB 134MB Microsoft reserved partition msftres 4 869MB 54.6GB 53.7GB ntfs Basic data partition 6 54.6GB 54.6GB 1049kB bios_grub 7 54.6GB 55.1GB 524MB ext4 8 55.1GB 111GB 56.4GB lvm 9 111GB 733GB 622GB ntfs 5 733GB 750GB 16.8GB ntfs Basic data partition hidden, diag

edit retag flag offensive close merge delete


Here the 4th partition has my windows 8 installed on it.

tdl.ver713 gravatar imagetdl.ver713 ( 2013-09-19 22:45:59 -0500 )edit

I did all the steps except - grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg this shows the error "No such file or directory". What path should i entering here? The path to the grub.cfg file? For me it would be /boot/grub2/grub.cfg - is this what i should be entering?

tdl.ver713 gravatar imagetdl.ver713 ( 2013-09-20 00:55:16 -0500 )edit

mount /dev/sda2 /boot/efi and try again the same command if it still return error try with grub2-mkconfig -o /boot/grub2/grub.cfg

gaurav9 gravatar imagegaurav9 ( 2013-09-20 03:16:37 -0500 )edit

Didn't work, it did create the grub.cfg file but it contains entries only for Fedora. Windows does not show up.

tdl.ver713 gravatar imagetdl.ver713 ( 2013-09-20 09:27:31 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted

answered 2013-09-19 22:43:57 -0500

gaurav9 gravatar image

As you have UEFI setup for windows 8 .you have to search where your windows 8 bootmgr files stored . then disable Grub2 OS prober echo GRUB_DISABLE_OS_PROBER=true >> /etc/default/grub

Establish the EFI boot partition holding the Windows boot manager and probe it for string hints search parameter (in my case it was: "/efi/Boot/bootx64.efi". I found lots of examples pointing to "/boot/efi/EFI/Microsoft/Boot/bootmgfw.efi". Note that, in fedora, the command for this is grub2-probe. Many examples online had grub-probe. This was confusing at first.

grub2-probe --target=hints_string /efi/Boot/bootx64.efi


grub2-probe --target=hints_string /efi/EFI/Microsoft/Boot/bootmgfw.efi

here your output will be 06C1-0984 as it is UUID of your EFI System Partition Create a custom menuentry for Win-8 UEFI-GPT system in "/etc/grub.d/40_custom" and add the results of the above command on the search line. It will look like the following:

menuentry "Microsoft Windows x86_64 UEFI-GPT" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --fs-uuid --no-floppy --set=root 06C1-0984
chainloader /efi/Boot/bootx64.efi


menuentry "Microsoft Windows x86_64 UEFI-GPT" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --fs-uuid --no-floppy --set=root 06C1-0984
chainloader /efi/EFI/Microsoft/Boot/bootmgfw.efi

and then enter
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg

edit flag offensive delete link more

answered 2013-09-19 23:55:28 -0500

Leo Gaurav gravatar image

updated 2013-11-19 09:28:01 -0500

Jomoos gravatar image

you can just select the partition and resize it using the inbuilt feature of resizing of the hard disk drive. it is very easy in fedora 19.

edit flag offensive delete link more

Question Tools



Asked: 2013-09-19 21:47:06 -0500

Seen: 9,430 times

Last updated: Nov 19 '13