ClearOS Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006871ClearOSanaconda - Installerpublic2016-01-05 12:002016-12-16 14:04
Assigned Toabylund 
PlatformOSOS Version
Product Version7.1.0 
Target Version7.3.0 Beta 1Fixed in Version7.3.0 Beta 1 
Summary0006871: Anaconda issues with UEFI
DescriptionClearOS 7.1 fails to install if using UEFI. A standard Centos 7.1 installation works correctly.

Installation begins, the packages are installed and then it fails with the error message:
bootloader.write failed: failed to write boot loader configuration

Here is an extract from the program.log file contained in the dump package.

15:07:49,872 INFO program: Running... grub2-mkconfig -o /boot/efi/EFI/clearos/grub.cfg
15:07:50,359 INFO program: /sbin/grub2-mkconfig: line 241: /boot/efi/EFI/clearos/ No such file or directory
15:07:50,359 DEBUG program: Return code: 1

and from the anaconda.log:
15:07:49,703 INFO anaconda: used boot args: crashkernel=auto rhgb quiet
15:07:50,359 ERR anaconda: bootloader.write failed: failed to write boot loader configuration

The problem is that the directory "clearos" does not exist, but "centos" does - so you've missed something when renaming centos to clearos.

If I switch to a different shell when the error appears execute the following commands:
chroot /mnt/sysimage
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg

then reboot, the system boots successfully. Otherwise it fails with a missing bootloader error.

Using BIOS instead of UEFI works correctly.
TagsNo tags attached.
Attached Files

- Relationships
has duplicate 0007641closedpbaldwin EFI boot mis-manages centos to clearos names for directories 

-  Notes
pbaldwin (administrator)
2016-01-05 12:01

This patch is likely involved: [^]

Along with the "shim" RPM -- file manifest:
dloper (administrator)
2016-01-05 14:33

This packages need to have the directory changed:


Once these are changed, the system should pull the correct directory and then build the grub files appropriately.

#rpm2cpio shim-0.7-5.2.el7.centos.2.x86_64.rpm | cpio -idmv

# rpm2cpio grub2-efi-2.02- | cpio -idmv
pbaldwin (administrator)
2016-01-07 09:31

Target version is 7.3 (or 7.2.1) since we don't have the build system workflow capabilities at the moment.

- Issue History
Date Modified Username Field Change
2016-01-05 12:00 pbaldwin New Issue
2016-01-05 12:01 pbaldwin Note Added: 0002481
2016-01-05 12:01 pbaldwin Status new => confirmed
2016-01-05 14:33 dloper Note Added: 0002491
2016-01-07 09:31 pbaldwin Note Added: 0002511
2016-03-09 14:04 pbaldwin Relationship added has duplicate 0007641
2016-11-16 09:12 pbaldwin Target Version 7.3.0 Beta 1 => 7.3.0 Beta 1
2016-12-09 21:02 pbaldwin Status confirmed => resolved
2016-12-09 21:02 pbaldwin Fixed in Version => 7.3.0 Beta 1
2016-12-09 21:02 pbaldwin Resolution open => fixed
2016-12-09 21:02 pbaldwin Assigned To => abylund
2016-12-16 14:04 pbaldwin Status resolved => closed