Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manjaro and Garuda ISOs won't boot automatically #1605

Open
JonathonHall-Purism opened this issue Feb 13, 2024 · 2 comments
Open

Manjaro and Garuda ISOs won't boot automatically #1605

JonathonHall-Purism opened this issue Feb 13, 2024 · 2 comments

Comments

@JonathonHall-Purism
Copy link
Collaborator

Heads can't boot Manjaro or Garuda ISOs. Both of these use variables in the GRUB configuration that Heads doesn't understand.

In this menu item, Heads would need to know the content of "$title" and that it will become "$2" in the menu entry. (This becomes part of the kernel file name and some important command line parameters. $kopt is not critical, it boots without it.)

    title=""
    for kopt in x86_64 $kopts  misobasedir=garuda root=miso:LABEL=GARUDA_DR460NIZED_RAPTOR quiet systemd.show_status=1 ibt=off; do
        if [ -n "$title" ] ; then
            title="$title $kopt";
        else
            title="$kopt";
        fi;
    done
    menuentry "Boot with open source drivers" --class=Garuda.x86_64 "$title" {# set arguments above with the editor
        linux /boot/vmlinuz-$2 driver=free nouveau.modeset=1 i915.modeset=1 radeon.modeset=1
        initrd /boot/amd_ucode.img /boot/intel_ucode.img /boot/initramfs-x86_64.img
    }
@JonathonHall-Purism
Copy link
Collaborator Author

Handling the $2 seems possible if $title wasn't broken in the first place, but handling the loop that sets $title isn't trivial. In this case it would work if executed in a shell, but I'm not sure if that's always true.

This was reported on the Librem 11 and it's possible to boot these manually from the recovery shell as a workaround: https://forums.puri.sm/t/librem-11-seabios-coreboot-does-not-recognize-keyboard-pureboot-does-not-boot-usb/22433/19

@JonathonHall-Purism JonathonHall-Purism changed the title Manjaro and Garuda won't boot automatically Manjaro and Garuda ISOs won't boot automatically Feb 13, 2024
@tlaurion
Copy link
Collaborator

Non-directly related #1499

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants