ChimeraOS / frzr

A deployment and automatic update mechanism for operating systems
MIT License
59 stars 14 forks source link

fix the fallback boot entry #20

Closed tleydxdy closed 2 years ago

tleydxdy commented 2 years ago

my system forgets the boot entry if that drive is removed, and I found out the failback efi entry is not working (just take me to the UEFI settings). Copying everything under EFI/syslinux over seems to fixed the problem.

I'm very new to ChimeraOS so I'm not sure if this is the only place that needs updating (like updates or whatever). and really I think it might be a good idea for ChimeraOS to just use the default location for everything since its the only os on the drive anyway.

tleydxdy commented 2 years ago

also seem like the instruction to use frzr-deploy in https://github.com/ChimeraOS/chimeraos/blob/master/BUILDING.md is outdated? the current bash script is totally not expecting a url.

alkazar commented 2 years ago

Thanks for the PR!

I don't like duplicating the files, so I think we should make EFI/BOOT the default location. However, we still need to support older installations, so we should add detection of the location of syslinux.cfg to frzr-deploy.

Another option might be to use symlinks, but I am not sure that would work.

tleydxdy commented 2 years ago

done

alkazar commented 2 years ago

@tleydxdy Thank you so much for implementing my suggestions. This looks great.

I will test this out and hopefully get a new ISO image out soon. Thanks again!