Closed asharrem closed 3 years ago
Hi @asharrem,
Testing builds on Virtualbox with EFI enabled - ISO fails to run. With EFI off, ubiquity crashes likely at Grub install stage. Target system is "bionic".
I cannot reproduce this error. Can you give more details of the entire process you are running? What is your OS? Do you use UEFI on the host?
_During build process, grub-pc does not run? Presume grub-install needs to run during build process. May missing something from chroot_build like; grub-install --target=x8664-efi --efi-directory=/boot/efi --recheck --no-nvram --removable
Not, necessary.
Thanks for all,
Hi @asharrem,
I've made some niceties to the documentation and imaging scripts.
Could you check if everything is OK?
Thank you very much,
Hi @mvallim, First of all...Thank you so very much for your wonderful script. I have used so many different methods to build/customise a live & installable ISO, this is the most ideal for me. Remastersys, Pinguy, Customizer, Cubic - They have all got me somewhere close over the years. I am testing using VirtualBox 6.1 on a EFI Ubuntu 18.04 host. When EFI is enabled in VitualBox, it just boots to EFI shell & I was pretty stuck from there. I eventually discovered that to get the ISO to boot in EFI, I have to enter a couple of EFI Shell commands: FS0: cd isolinux bootx64.efi
The remainder of my issues were all to do with Ubiquity Installer & the customised environment I was building. I am not using any of the (u)buntu-desktop meta packages, rather I build a custom openbox environment. This meant ubiquity needed some files that are not listed as dependencies; tzdata, upower, language-pack-en(-base). I have spent a few weekends now debugging and I finally figured out the final Ubiquity issue causing the installer crash with my build;
Now all I need to figure out is how to get EFI booting to work without entering shell commands - just like a (u)buntu Live CD. My assumption is that EFI/BOOT/BOOTx64.EFI is a default that EFI is looking for?
The actual ISO image from my build worked fine booting EFI on a physical hardware install, so it just looks like VirtualBox has the issue.
Testing builds on Virtualbox with EFI enabled - ISO fails to run. With EFI off, ubiquity crashes likely at Grub install stage. Target system is "bionic".
During build process, grub-pc does not run? Presume grub-install needs to run during build process. May missing something from chroot_build like; grub-install --target=x86_64-efi --efi-directory=/boot/efi --recheck --no-nvram --removable
Will test & update...