Bug 1343559 - Fresh install on eMMC produces 'no bootable device' issue
Summary: Fresh install on eMMC produces 'no bootable device' issue
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: 24
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-06-07 12:58 UTC by Luca Ciavatta
Modified: 2017-08-08 14:47 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-08 14:47:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
program.log (121.93 KB, text/plain)
2016-06-07 13:32 UTC, Luca Ciavatta
no flags Details
journal.log (1.83 MB, text/x-vhdl)
2016-06-07 13:33 UTC, Luca Ciavatta
no flags Details

Description Luca Ciavatta 2016-06-07 12:58:36 UTC
Description of problem:
I made a fresh install of Fedora 24 Beta on a Acer ES1-111M-C1LE, a Celeron machine with eMMC storage. The storage is recognized and right partitioned. The installation process went smooth but, after the reboot, the system shows a 'no bootable device' issues.

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


How reproducible:
Make a fresh install of Fedora 24 Beta on a machine with an eMMC storage.

Steps to Reproduce:
1. Boot the machine from a Fedora 24 Beta USB KEY
2. Complete the installation process through the Anaconda installer
3. Re-Boot the machine

Actual results:
'No bootable device' issue.

Expected results:
Fedora o.s. starts as usual

Additional info:
I solved the issue going into BIOS settings. Leaving 'Secure Boot' enabled and choosing 'shim-fedora.efi' in the 'Select an UEFI file as trusted for executing' option.

I also described the process here: https://cialu.net/blog/install-fedora-emmc.html

Comment 1 Luca Ciavatta 2016-06-07 13:32:52 UTC
Created attachment 1165651 [details]
program.log

Comment 2 Luca Ciavatta 2016-06-07 13:33:43 UTC
Created attachment 1165652 [details]
journal.log

Comment 3 Brian Lane 2016-06-08 00:27:00 UTC
Could you grab the output from 'efibootmgr -v'?

It's possible that we didn't setup the correct path to shim.efi, or your firmware may require manual intervention for whatever reason.

You could also try running:

efibootmgr -c -w -L FedoraTest -d /dev/mmcblk0 -p 1 -l \EFI\fedora\shim.efi

and also post the output of 'efibootmgr -v' afterwards.

Comment 4 Luca Ciavatta 2016-06-08 11:33:13 UTC
efibootmgr -c -w -L FedoraTest -d /dev/mmcblk0 -p 1 -l \EFI\fedora\shim.efi
 
BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0004,0001,2001,2002,2003
Boot0000* Unknown Device: 
Boot0001* Fedora
Boot0002* Unknown Device: 
Boot0003* Windows Boot Manager
Boot2001* EFI USB Device
Boot2002* EFI DVD/CDROM
Boot2003* EFI Network
Boot0004* FedoraTest

efibootmgr -v

BootCurrent: 0001
Timeout: 0 seconds
BootOrder: 0004,0001,2001,2002,2003
Boot0000* Unknown Device: 	HD(1,GPT,7808b833-e89a-4456-ae50-459c67e9dcc6,0x800,0x64000)/File(\EFI\fedora\shim.efi)RC
Boot0001* Fedora	PciRoot(0x0)/Pci(0x17,0x0)/Ctrl(0x0)/HD(1,GPT,7808b833-e89a-4456-ae50-459c67e9dcc6,0x800,0x64000)/File(\EFI\fedora\shim-fedora.efi)A01 ..
Boot0002* Unknown Device: 	HD(1,GPT,7808b833-e89a-4456-ae50-459c67e9dcc6,0x800,0x64000)/File(\EFI\fedora\shim.efi)RC
Boot0003* Windows Boot Manager	HD(2,GPT,5fd3b602-b757-4beb-b2af-b45f1ddedef1,0x12c800,0x96000)/File(\EFI\Microsoft\Boot\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4.4.d.4.7.9.5.}....................
Boot0004* FedoraTest	HD(1,GPT,7808b833-e89a-4456-ae50-459c67e9dcc6,0x800,0x64000)/File(EFIfedorashim.efi)
Boot2001* EFI USB Device	RC
Boot2002* EFI DVD/CDROM	RC
Boot2003* EFI Network	RC

Comment 5 Peter Jones 2016-06-08 16:23:01 UTC
If you do:

cd /sys/firmware/efi/efivars/
cp PhysicalBootOrder-59d1c24f-50f1-401a-b101-f33e0daed443 ~/
cp BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c ~/
# if chattr fails, ignore the failure
chattr -i PhysicalBootOrder-59d1c24f-50f1-401a-b101-f33e0daed443
rm PhysicalBootOrder-59d1c24f-50f1-401a-b101-f33e0daed443
cat ~/BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c > PhysicalBootOrder-59d1c24f-50f1-401a-b101-f33e0daed443

and then reboot, do the right menus show up?

Comment 6 Luca Ciavatta 2016-06-08 17:32:11 UTC
(In reply to Peter Jones from comment #5)
> If you do:
> 
> cd /sys/firmware/efi/efivars/
> cp PhysicalBootOrder-59d1c24f-50f1-401a-b101-f33e0daed443 ~/
> cp BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c ~/
> # if chattr fails, ignore the failure
> chattr -i PhysicalBootOrder-59d1c24f-50f1-401a-b101-f33e0daed443
> rm PhysicalBootOrder-59d1c24f-50f1-401a-b101-f33e0daed443
> cat ~/BootOrder-8be4df61-93ca-11d2-aa0d-00e098032b8c >
> PhysicalBootOrder-59d1c24f-50f1-401a-b101-f33e0daed443
> 
> and then reboot, do the right menus show up?

Which menus?

Now I boot directly into Grub and after in Fedora, to do what you ask and check menus you mean first to remove the trusted efi file I selected?

Comment 7 Fedora End Of Life 2017-07-25 21:02:14 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2017-08-08 14:47:11 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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