Received: from mx0.riseup.net (mx0.riseup.net [198.252.153.6]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id C06E92235BA for <~alpine/users@lists.alpinelinux.org>; Fri, 30 Jun 2023 10:30:41 +0000 (UTC) Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4Qss670vSWz9sy1 for <~alpine/users@lists.alpinelinux.org>; Fri, 30 Jun 2023 10:30:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1688121039; bh=YMolNLWe1W6Ir9kXEezZgNY/UTbTYcJwqdIe4xoGBY0=; h=Subject:From:To:Date:In-Reply-To:References:From; b=Eg7VVPQnk/iIQLtpb71WcK3nHdrAzhytfTSaPfxI/YufQrEbej0indqjgrvRyMrmA D3q2ZyOXeeYCR+Spl+FDQlIk7qI//beI1UdyLwwD7VL6c57jvf7u9KBLv4i6LsMOsc BQzI0rjmDzDAe6suCdckoZz9b/uz3Q2J1stcTRhc= X-Riseup-User-ID: B84BA5457FB8BAD9BF8919C1EF21DB64C1955DBCA767D40B9EBFFA2C01F83D20 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4Qss663gQQzFpl4 for <~alpine/users@lists.alpinelinux.org>; Fri, 30 Jun 2023 10:30:38 +0000 (UTC) Message-ID: <6b9ae3e080c1c10450061f715291a76670343e13.camel@riseup.net> Subject: Re: Cannot boot 3.18 with UEFI? From: Ralf Mardorf To: ~alpine/users@lists.alpinelinux.org Date: Fri, 30 Jun 2023 12:30:34 +0200 In-Reply-To: <20230630174332.4b38d6d5@nixosX240> References: <20230630174332.4b38d6d5@nixosX240> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 On Fri, 2023-06-30 at 17:43 +0800, RSS wrote: > Has anyone seen an Alpine 3.18 default Syslinux install work on UEFI? Hi, on my new PC I'm forced to use UEFI, since the new Intel GPU doesn't allow to select CSM, for this reason I migrated from syslinux to grub. I used syslinux from my Arch Linux install and now I'm using grub from the Arch Linux install. The pitfalls I experienced booting Alpine were not related to the grub bootloader. It's not that terrible as it does sound. Without all those grub configs for the configs and automation, it's possible to write a clean syslinux alike config for grub [1]. Regards, Ralf =E2=80=A2 rocketmouse@archlinux ~=20 $ cat /boot/grub/grub.cfg play 1920 440 1 0 1 880 2 0 1 880 1 0 1 440 2 set timeout=3D60 set color_normal=3Dlight-gray/black set color_highlight=3Dwhite/light-gray set menu_color_normal=3Dlight-gray/black set menu_color_highlight=3Dwhite/light-gray set default=3D"1" insmod efi_gop menuentry " -- HAL 9000-m1 ------------------------------------------------= -----------------" { true } menuentry " MemTest86 V10+ Free" { search --set=3Droot --no-floppy --fs-uuid 3F5B-F698 chainloader /EFI/memtest86/memtestx64.efi } menuentry " -- Arch Linux -------------------------------------------------= -----------------" { true } menuentry " Arch Linux threadirqs" { search --no-floppy --set=3Droot --label m1.archlinux linux /boot/vmlinuz-linux root=3D/dev/disk/by-label/m1.archlinux ro= threadirqs ibt=3Doff ipv6.disable=3D1 initrd /boot/intel-ucode.img /boot/initramfs-linux.img } menuentry " Arch Linux" { search --no-floppy --set=3Droot --label m1.archlinux linux /boot/vmlinuz-linux root=3D/dev/disk/by-label/m1.archlinux ro= ibt=3Doff ipv6.disable=3D1 initrd /boot/intel-ucode.img /boot/initramfs-linux.img } menuentry " Arch Linux Longterm" { search --no-floppy --set=3Droot --label m1.archlinux linux /boot/vmlinuz-linux-lts root=3D/dev/disk/by-label/m1.archlinu= x ro ibt=3Doff ipv6.disable=3D1 initrd /boot/intel-ucode.img /boot/initramfs-linux-lts.img } menuentry " Arch Linux Rt" { search --no-floppy --set=3Droot --label m1.archlinux linux /boot/vmlinuz-linux-rt root=3D/dev/disk/by-label/m1.archlinux= ro ibt=3Doff ipv6.disable=3D1 initrd /boot/intel-ucode.img /boot/initramfs-linux-rt.img } menuentry " -- Other Linux ------------------------------------------------= -----------------" { true } menuentry " Alpine Linux" { search --no-floppy --set=3Droot --label m1.alpine linux /boot/vmlinuz-lts root=3D/dev/disk/by-label/m1.alpine ro modu= les=3Dext4 initrd /boot/initramfs-lts } menuentry " Xubu 20.04 Linux 6.2.9-custom" { search --no-floppy --set=3Droot --label m1.xubu20.04 linux /boot/vmlinuz-6.2.9-custom root=3D/dev/disk/by-label/m1.xubu2= 0.04 ro initrd /boot/initrd.img-6.2.9-custom } menuentry " Ubuntu X Moon Studio lowlatency" { search --no-floppy --set=3Droot --label m1.archlinux linux /.boot/ubuntu_moonstudio/boot/vmlinuz-lowlatency root=3D/de= v/disk/by-label/moonstudio ro initrd /.boot/ubuntu_moonstudio/boot/initrd.img-lowlatency } submenu " *buntu -- Submenu --" { menuentry " Xubu 20.04 Linux 6.2.9-custom (recovery mode)" { search --no-floppy --set=3Droot --label m1.xubu20.04 linux /boot/vmlinuz-6.2.9-custom root=3D/dev/disk/by-label/m1.x= ubu20.04 ro recovery nomodeset=20 initrd /boot/initrd.img-6.2.9-custom } menuentry " Xubu 20.04 Linux 5.4.0-42-generic" { search --no-floppy --set=3Droot --label m1.xubu20.04 linux /boot/vmlinuz-5.4.0-42-generic root=3D/dev/disk/by-label/= m1.xubu20.04 ro initrd /boot/initrd.img-5.4.0-42-generic } menuentry " Xubu 20.04 Linux 5.4.0-42-generic (recovery mode)" { search --no-floppy --set=3Droot --label m1.xubu20.04 linux /boot/vmlinuz-5.4.0-42-generic root=3D/dev/disk/by-label/= m1.xubu20.04 ro recovery nomodeset=20 initrd /boot/initrd.img-5.4.0-42-generic } menuentry " Ubuntu X Moon Studio liquorix threadirqs" { search --no-floppy --set=3Droot --label m1.archlinux linux /.boot/ubuntu_moonstudio/boot/vmlinuz-liquorix root=3D/= dev/disk/by-label/moonstudio ro threadirqs initrd /.boot/ubuntu_moonstudio/boot/initrd.img-liquorix } } menuentry " -- System -----------------------------------------------------= -----------------" { true } menuentry " UEFI Firmware Settings" --id 'uefi-firmware' { fwsetup } menuentry " Restart" { reboot } menuentry " Shutdown" { halt } menuentry " ---------------------------------------------------------------= -----------------" { true }