agama-project / agama

A service-based Linux installer
GNU General Public License v2.0
135 stars 41 forks source link

Boot from disk after installation with Legacy USBBOOT gets stuck #1615

Open lkocman opened 1 week ago

lkocman commented 1 week ago

This tracker exists solely to track a known issue.

Similar to Issue #1609 we have a problem with "Boot from disk" entry in bootloader for legacy / USBBOOT scenarios. In my case tested on libvirt + virt-manager with agama-installer.iso as usb device as the first bootable device.

image

Boot from disk option works with UEFI / CD and USB installmedia as well as Legacy / CD. But Legacy USB doesn't.

Boot from disk with Legacy + CD can be simply achieved by default "exit" command generated by kiwi.

Boot from USBINSTALL LEGACY can be achieved by . Here hd0 is our installmedia.

set root=(hd1)
chainloader +1
boot

Keep in mind that this snippet will not work for Legacy/CD where the installation is at hd0.

I discussed this with Marcus Schaefer as well as @DimStar77 and we might simply document it https://openqa.opensuse.org/tests/4485755#step/grub_test/7

I checked Fedora which provides both options "Boot from disk 1" "Boot from disk 2", but these will not work with uefi .... Btw none of these options worked well in my libvirt+legacy+usbboot scenario with latest Fedora live image. Boot got stuck just like it does in our case with exit.

Imho we should focus on good experience withUEFI and document that user is expected to remove USB after installation at Legacy/USB scenarios.

lkocman commented 1 week ago

I wanted to avoid workarounding this known issue (by e.g. rewriting the boot entry on Legacy USB scenario)

So we rather removed USBboot_64-3G from our test matrix https://github.com/os-autoinst/opensuse-jobgroups/pull/519/files

Someone please tell me to re-enable it in case we ever support this configuration.