Bug 1707416 - fedora not booting to grub
Summary: fedora not booting to grub
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 30
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-07 13:19 UTC by kksheth
Modified: 2019-05-16 06:32 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-16 06:32:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description kksheth 2019-05-07 13:19:14 UTC
Description of problem: Fresh install fedora 30 in dual boot (windows 10) not booting to grub. grub2-mkconfig identifies only windows. No fedora kernels. boots directly to windows. Booting to fedora possible by pressing F12 key at initial stage and selecting fedora.


Version-Release number of selected component (if applicable):


How reproducible: Installed windows 10. create free partition. In free partition install fedora.
https://forums.fedoraforum.org/showthread.php?321293-grub-help


Steps to Reproduce:
1. dual boot with windows. install fedora 30. (I tried workstation as well as cinnamon spin)
2. boot 
3. failure. Boots straight to windows

Actual results: 
Boots straight to windows

Expected results:
 Boot to fedora. grub should appear

Additional info:
tried
[root@localhost welcome]# grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
Generating grub configuration file ...
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
done
[root@localhost welcome]#

Comment 1 kksheth 2019-05-08 04:20:43 UTC
welcome@localhost ~]$ sudo blkid
[sudo] password for welcome: 
/dev/sda1: LABEL="Recovery" UUID="FA30BA4830BA0C1F" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="fb586f66-0b42-45b6-bed8-e3f5ab383b94"
/dev/sda2: UUID="98BA-F979" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="34469feb-5357-4379-8cac-b649e2d9190e"
/dev/sda3: PARTLABEL="Microsoft reserved partition" PARTUUID="c66881b1-f7f2-4313-b9db-cddbb426b258"
/dev/sda4: LABEL="cee" UUID="34F4BC8AF4BC503A" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="a42f5a81-04d0-4a91-a0af-27a2a3f81027"
/dev/sda5: LABEL="dee" UUID="A29C92AE9C927D0B" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="cb5aa58a-f621-455f-a16e-def64f05f981"
/dev/sda6: LABEL="boot" UUID="27e70f53-c655-4261-b85e-dedda12de4f7" TYPE="ext4" PARTUUID="8a0bf9fd-63ca-4d7d-b3f6-5e509e5c9dca"
/dev/sda7: LABEL="swap" UUID="4048a635-af19-4e94-97c9-17ba12bd3014" TYPE="swap" PARTUUID="af0b9967-fe7c-45b1-ad89-aeac902cad07"
/dev/sda8: LABEL="root" UUID="dc729fb6-bd02-42d1-9d86-024b4d3bd134" TYPE="ext4" PARTUUID="d17d3140-0993-4c9a-b50d-621b55605089"
[welcome@localhost ~]$ 

I was earlier dual booting Fedora29 plus windows 10 successfully. I reformatted partitions while installing Fedora30 (Except EFI partition of course)

Comment 2 kksheth 2019-05-13 06:25:39 UTC
Reinstalled Windows 10. (Fresh by deleting all partitions). Then installed Fedora 30. Same situation

Comment 3 kksheth 2019-05-16 06:32:26 UTC
solved.
In windows, opened command prompt with admin rights and used command
bcdedit /set {bootmgr} path \EFI\fedora\grubx64.efi 

It appears that may be fedora do not have any problem. may be problem with windows overwriting boot sequence. 
however, i was booting successfully in this same system with fedora 29. So, i am not clear whose fault.

You may close the bug.


Note You need to log in before you can comment on or make changes to this bug.