Bug 1462564 - boot loader install failed
boot loader install failed
Status: NEW
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
26
Unspecified Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: Anaconda Maintenance Team
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-18 19:18 EDT by John Reiser
Modified: 2017-06-18 19 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
/var/log/anaconda/anaconda.log from installed system (106.76 KB, text/plain)
2017-06-18 19:25 EDT, John Reiser
no flags Details
/var/log/anaconda/journal.log from installed system (1.60 MB, text/plain)
2017-06-18 19:26 EDT, John Reiser
no flags Details
/var/log/anaconda/program.log from installed system (87.80 KB, text/plain)
2017-06-18 19:27 EDT, John Reiser
no flags Details
/var/log/anaconda/storage.log from installed system (365.18 KB, text/plain)
2017-06-18 19:28 EDT, John Reiser
no flags Details

  None (edit)
Description John Reiser 2017-06-18 19:18:48 EDT
Description of problem: Custom partitioning using standard partitions for install of Fedora 26 Beta on a bare-metal BIOS system (no UEFI), including a request to install a new boot loader, forgets to require a BIOS Boot partition.  Eventually the install fails with the message "boot loader install failed".


Version-Release number of selected component (if applicable):
anaconda-26.21.9-1.fc26.x86_64


How reproducible: every time; 2 actual failures, with success on third attempt after creating a BIOS Boot partition


Steps to Reproduce:
1. Boot Fedora-Workstation-Live-x86_64-26_Beta-1.4.iso to desktop on a BIOS-only (no UEFI) bare metal machine with gpt drives.
2. Click on Install fedora icon
3. Custom (manual) partition using standard partitions: reformat an existing ext4 partition as / (root); reformat an existing FAT partition (on the same drive) as /boot/grub2; request that a boot loader be installed to that drive. Exit Custom partitioning with no BIOS Boot partition present.

Actual results: Install gets nearly to the end ("Installing: 100%" and even farther) but fails with "boot loader install failed".  That's the only message that is displayed.  In fact the boot loader was never written to the MBR.


Expected results: successful install, including boot loader


Additional info: Succeeded on 3rd attempt after creating a 1MiB BIOS Boot partition.  Will attach /var/log/anaconda/*.log soon.
Comment 1 John Reiser 2017-06-18 19:25 EDT
Created attachment 1288937 [details]
/var/log/anaconda/anaconda.log from installed system
Comment 2 John Reiser 2017-06-18 19:26 EDT
Created attachment 1288938 [details]
/var/log/anaconda/journal.log from installed system

$ grep -n 'boot loader' journal.log
11302:Jun 18 03:04:57 f26p64b.local anaconda[3201]: Installing boot loader
11305:Jun 18 03:04:57 f26p64b.local anaconda[3201]: boot loader stage1 target device is sda
11306:Jun 18 03:04:57 f26p64b.local anaconda[3201]: boot loader stage2 target device is sda2
11623:Jun 18 03:05:25 f26p64b.local anaconda[3201]: bootloader.write failed: boot loader install failed
11634:Jun 18 03:05:32 f26p64b.local anaconda[3201]: Installing boot loader -- DONE
Comment 3 John Reiser 2017-06-18 19:27 EDT
Created attachment 1288939 [details]
/var/log/anaconda/program.log from installed system
Comment 4 John Reiser 2017-06-18 19:28 EDT
Created attachment 1288940 [details]
/var/log/anaconda/storage.log from installed system

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