feat(boot): update Limine config format and add post-boot phase integration
- commit
- 8a17af832fd3402fdd8fa57d39c32f52631b782b
- author
- bnema · · 2025-10-19 20:17 UTC
- committer
- bnema · · 2025-10-19 17:45 UTC
- parent
- 84a3844
- signature
- unsigned
1 file · +12 -11
M install/boot/limine.sh +12 -11
| @@ -36,15 +36,16 @@ fi | |||
| 36 | 36 | # Install Limine to the disk (BIOS - optional, will fail on UEFI-only systems) | |
| 37 | 37 | arch-chroot /mnt limine bios-install "$ARCHUP_DISK" >> "$ARCHUP_INSTALL_LOG_FILE" 2>&1 || true | |
| 38 | 38 | ||
| 39 | - | # Create Limine configuration directory | |
| 39 | + | # Create Limine configuration directory (Limine searches in /EFI/limine/) | |
| 40 | 40 | mkdir -p /mnt/boot/EFI/BOOT | |
| 41 | + | mkdir -p /mnt/boot/EFI/limine | |
| 41 | 42 | ||
| 42 | 43 | # Create Limine configuration with proper syntax | |
| 43 | - | cat > /mnt/boot/EFI/BOOT/limine.conf <<EOF | |
| 44 | + | cat > /mnt/boot/EFI/limine/limine.conf <<EOF | |
| 44 | 45 | # ArchUp - Limine bootloader configuration | |
| 45 | 46 | # Docs: https://github.com/limine-bootloader/limine/blob/trunk/CONFIG.md | |
| 46 | 47 | ||
| 47 | - | timeout: 5 | |
| 48 | + | timeout: 0 | |
| 48 | 49 | default_entry: 0 | |
| 49 | 50 | interface_branding: ArchUp | |
| 50 | 51 | interface_branding_colour: 6 | |
| @@ -53,17 +54,17 @@ quiet: yes | |||
| 53 | 54 | ||
| 54 | 55 | # Arch Linux | |
| 55 | 56 | :Arch Linux | |
| 56 | - | protocol: linux | |
| 57 | - | kernel_path: boot():/vmlinuz-linux | |
| 58 | - | module_path: boot():/initramfs-linux.img | |
| 59 | - | cmdline: $KERNEL_PARAMS | |
| 57 | + | protocol: linux | |
| 58 | + | kernel_path: boot():/vmlinuz-linux | |
| 59 | + | module_path: boot():/initramfs-linux.img | |
| 60 | + | cmdline: $KERNEL_PARAMS | |
| 60 | 61 | ||
| 61 | 62 | # Arch Linux (fallback) | |
| 62 | 63 | :Arch Linux (fallback) | |
| 63 | - | protocol: linux | |
| 64 | - | kernel_path: boot():/vmlinuz-linux | |
| 65 | - | module_path: boot():/initramfs-linux-fallback.img | |
| 66 | - | cmdline: $KERNEL_PARAMS | |
| 64 | + | protocol: linux | |
| 65 | + | kernel_path: boot():/vmlinuz-linux | |
| 66 | + | module_path: boot():/initramfs-linux-fallback.img | |
| 67 | + | cmdline: $KERNEL_PARAMS | |
| 67 | 68 | EOF | |
| 68 | 69 | ||
| 69 | 70 | # Copy Limine EFI bootloader | |
| @@ -36,15 +36,16 @@ fi | |||||
| 36 | # Install Limine to the disk (BIOS - optional, will fail on UEFI-only systems) | 36 | # Install Limine to the disk (BIOS - optional, will fail on UEFI-only systems) | ||
| 37 | arch-chroot /mnt limine bios-install "$ARCHUP_DISK" >> "$ARCHUP_INSTALL_LOG_FILE" 2>&1 || true | 37 | arch-chroot /mnt limine bios-install "$ARCHUP_DISK" >> "$ARCHUP_INSTALL_LOG_FILE" 2>&1 || true | ||
| 38 | 38 | ||||
| 39 | - | # Create Limine configuration directory | 39 | + | # Create Limine configuration directory (Limine searches in /EFI/limine/) |
| 40 | mkdir -p /mnt/boot/EFI/BOOT | 40 | mkdir -p /mnt/boot/EFI/BOOT | ||
| 41 | + | mkdir -p /mnt/boot/EFI/limine | |||
| 41 | 42 | ||||
| 42 | # Create Limine configuration with proper syntax | 43 | # Create Limine configuration with proper syntax | ||
| 43 | - | cat > /mnt/boot/EFI/BOOT/limine.conf <<EOF | 44 | + | cat > /mnt/boot/EFI/limine/limine.conf <<EOF |
| 44 | # ArchUp - Limine bootloader configuration | 45 | # ArchUp - Limine bootloader configuration | ||
| 45 | # Docs: https://github.com/limine-bootloader/limine/blob/trunk/CONFIG.md | 46 | # Docs: https://github.com/limine-bootloader/limine/blob/trunk/CONFIG.md | ||
| 46 | 47 | ||||
| 47 | - | timeout: 5 | 48 | + | timeout: 0 |
| 48 | default_entry: 0 | 49 | default_entry: 0 | ||
| 49 | interface_branding: ArchUp | 50 | interface_branding: ArchUp | ||
| 50 | interface_branding_colour: 6 | 51 | interface_branding_colour: 6 | ||
| @@ -53,17 +54,17 @@ quiet: yes | |||||
| 53 | 54 | ||||
| 54 | # Arch Linux | 55 | # Arch Linux | ||
| 55 | :Arch Linux | 56 | :Arch Linux | ||
| 56 | - | protocol: linux | 57 | + | protocol: linux |
| 57 | - | kernel_path: boot():/vmlinuz-linux | 58 | + | kernel_path: boot():/vmlinuz-linux |
| 58 | - | module_path: boot():/initramfs-linux.img | 59 | + | module_path: boot():/initramfs-linux.img |
| 59 | - | cmdline: $KERNEL_PARAMS | 60 | + | cmdline: $KERNEL_PARAMS |
| 60 | 61 | ||||
| 61 | # Arch Linux (fallback) | 62 | # Arch Linux (fallback) | ||
| 62 | :Arch Linux (fallback) | 63 | :Arch Linux (fallback) | ||
| 63 | - | protocol: linux | 64 | + | protocol: linux |
| 64 | - | kernel_path: boot():/vmlinuz-linux | 65 | + | kernel_path: boot():/vmlinuz-linux |
| 65 | - | module_path: boot():/initramfs-linux-fallback.img | 66 | + | module_path: boot():/initramfs-linux-fallback.img |
| 66 | - | cmdline: $KERNEL_PARAMS | 67 | + | cmdline: $KERNEL_PARAMS |
| 67 | EOF | 68 | EOF | ||
| 68 | 69 | ||||
| 69 | # Copy Limine EFI bootloader | 70 | # Copy Limine EFI bootloader | ||