Closed Tjzabel closed 7 years ago
Debugged w/ @Tjzabel - Confirmed issue exists and involves UEFI, BIOS install works fine.
@axk4545 going to assign this to you since this is your territory.
@ct-martin Will look into it soo.
UPDATE: Currently this issue is present both in the Cinnamon and GNOME TigerOS installations.
@axk4545 @Tjzabel confirm installer / install image have grub2-efi package installed. If so, file bug upstream with both anaconda and grub2 developers.
@linux-modder @Tjzabel @ct-martin it is in the ks. please confirm it is actually in the resultant image.
per @linux-modder add --efi to LMC command in build scripts.
@axk4545 Can confirm grub2-efi is installed on the liveusb, will rebuild with —efi and then we can retest
"livemedia-creator: error: unrecognized arguments: --efi" (cc @axk4545 @linux-modder )
This makes me think we should also test on Mac as they have a special EFI implementation
@axk4545 Attempted an install with a TigerOS live USB burned with Fedora Media Writer. Same result
@ct-martin on live doesn't mean it's in the squashfs tho the squahsfs is what is rsync'd off for install on a non netinstall iso
Will check the present ks today and see if I can find a bug in the logic or usage.
@linux-modder do you have a command I can run on the live to test if it's there?
@Tjzabel will test once we get a build. currently blocked on gstreamer dep issues upstream
@Tjzabel can I have the logs from the install and the exact error message? the logs will be at /tmp/anaconda.log
, /tmp/program.log
and /tmp/syslog
on the installer system(when running from the install disk/live usb). they can also be pulled from the installed system in /var/log/anaconda
if you skip the GRUB step and complete the install.
It might be an issue with the anaconda install class. I will look at it.
Soooo The UEFI build works!! How should I proceed? This issue may be available to close.
@Tjzabel test it repeatedly. also if you have the old one with logs grab them please.
So, what did we change between then and now?
@Tjzabel what iso was tested? was it bare metal or virtual? so I can secondarily confirm and possibly peck at the logs and such to iron out the actual part that fixed this.
@linux-modder The latest ISO was tested using a UEFI build box. It was installed bare-metal.
There is no /boot/efi partition now, which is interesting
@Tjzabel Make sure it wasn't done in BIOS mode by mistake
@axk4545 How should I go about finding that out.
@Tjzabel @linux-modder @ct-martin I attempted a UEFI install and was able to reproduce the issue. Please see the attached logs. Also looping @AdamWill in on this as he expressed interest in helping me debug this logs.zip
This install used linuxmodder.iso
Output of lsblk
on the effected disk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sdb 8:16 0 74.5G 0 disk
├─sdb1 8:17 0 200M 0 part
├─sdb2 8:18 0 1G 0 part
└─sdb3 8:19 0 73.3G 0 part
├─tigeros-swap 253:3 0 7.5G 0 lvm
├─tigeros-home 253:4 0 21.6G 0 lvm
└─tigeros-root 253:5 0 44.3G 0 lvm
Will check @AdamWill on any issues the logs may reveal
@Tjzabel's install was accidentally done in BIOS mode
I installed the latest build (linuxmodder.iso) in Virtualbox, forcing EFI. program.log
indicates that grub2-mkconfig
is returning a nonzero status:
When I looked in /boot/efi/EFI/
after the install, there was no tigeros
directory. I'm guessing this is the issue.
The grub2-efi
package creates boot/efi/EFI/fedora
automatically. If the issue is our EFI directory isn't being created, we should either use the fedora
directory, or rename fedora
to tigeros
.
I'm gonna remove our EFI change, rebuild, and see if the install completes successfully.
@Josh1147582 Let us know if it work and we can make the fix.
Ah, that's a reasonable theory. Other install classes that change efi_dir
, I think, come along with a different set of bootloader packages that provide the appropriate directory. E.g. RHEL changes it to (I think) "redhat", and of course ships with grub2 packages that provide bootloader bits in /boot/efi/EFI/redhat
.
@AdamWill so do we have a need to keep it as TigerOS as far as conflicting or IP stuff? It would be nice to not repackage grub stuff
I can't speak Officially Legally, but I'd be really surprised if we considered that a branding violation. Obviously if you want to be parallel installable with real-Fedora, changing it is useful.
@AdamWill ok. will talk it over with @RITlug/tigeros-team
http://pkgs.fedoraproject.org/cgit/rpms/grub2.git/tree/grub2.spec?h=f22 So it appears that GRUB sets the efidir at build time in the specfile. Would be nice to see if this can be split out.
We have implemented a temporary fix with #71 and opened #79 to track making a more permanent fix
I got
The following error occurred while installing the boot loader. The system will not be bootable, Would you like to ignore this and continue with installation?
failed to write boot loader configuration
@axk4545 @ct-martin When installing TigerOS GNOME edition to my physical laptop, the bootloader fails to install properly.
When I select the exact same configuration on the official Fedora 26 distro, the installation goes fine.