detached 8a17af8

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
3636 # Install Limine to the disk (BIOS - optional, will fail on UEFI-only systems)
3737 arch-chroot /mnt limine bios-install "$ARCHUP_DISK" >> "$ARCHUP_INSTALL_LOG_FILE" 2>&1 || true
3838
39-# Create Limine configuration directory
39+# Create Limine configuration directory (Limine searches in /EFI/limine/)
4040 mkdir -p /mnt/boot/EFI/BOOT
41+mkdir -p /mnt/boot/EFI/limine
4142
4243 # Create Limine configuration with proper syntax
43-cat > /mnt/boot/EFI/BOOT/limine.conf <<EOF
44+cat > /mnt/boot/EFI/limine/limine.conf <<EOF
4445 # ArchUp - Limine bootloader configuration
4546 # Docs: https://github.com/limine-bootloader/limine/blob/trunk/CONFIG.md
4647
47-timeout: 5
48+timeout: 0
4849 default_entry: 0
4950 interface_branding: ArchUp
5051 interface_branding_colour: 6
@@ -53,17 +54,17 @@ quiet: yes
5354
5455 # Arch Linux
5556 :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
6061
6162 # Arch Linux (fallback)
6263 :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
6768 EOF
6869
6970 # 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 || true37 arch-chroot /mnt limine bios-install "$ARCHUP_DISK" >> "$ARCHUP_INSTALL_LOG_FILE" 2>&1 || true
38 38
39-# Create Limine configuration directory39+# Create Limine configuration directory (Limine searches in /EFI/limine/)
40 mkdir -p /mnt/boot/EFI/BOOT40 mkdir -p /mnt/boot/EFI/BOOT
41+mkdir -p /mnt/boot/EFI/limine
41 42
42 # Create Limine configuration with proper syntax43 # Create Limine configuration with proper syntax
43-cat > /mnt/boot/EFI/BOOT/limine.conf <<EOF44+cat > /mnt/boot/EFI/limine/limine.conf <<EOF
44 # ArchUp - Limine bootloader configuration45 # ArchUp - Limine bootloader configuration
45 # Docs: https://github.com/limine-bootloader/limine/blob/trunk/CONFIG.md46 # Docs: https://github.com/limine-bootloader/limine/blob/trunk/CONFIG.md
46 47
47-timeout: 548+timeout: 0
48 default_entry: 049 default_entry: 0
49 interface_branding: ArchUp50 interface_branding: ArchUp
50 interface_branding_colour: 651 interface_branding_colour: 6
@@ -53,17 +54,17 @@ quiet: yes
53 54
54 # Arch Linux55 # Arch Linux
55 :Arch Linux56 :Arch Linux
56-protocol: linux57+ protocol: linux
57-kernel_path: boot():/vmlinuz-linux58+ kernel_path: boot():/vmlinuz-linux
58-module_path: boot():/initramfs-linux.img59+ module_path: boot():/initramfs-linux.img
59-cmdline: $KERNEL_PARAMS60+ cmdline: $KERNEL_PARAMS
60 61
61 # Arch Linux (fallback)62 # Arch Linux (fallback)
62 :Arch Linux (fallback)63 :Arch Linux (fallback)
63-protocol: linux64+ protocol: linux
64-kernel_path: boot():/vmlinuz-linux65+ kernel_path: boot():/vmlinuz-linux
65-module_path: boot():/initramfs-linux-fallback.img66+ module_path: boot():/initramfs-linux-fallback.img
66-cmdline: $KERNEL_PARAMS67+ cmdline: $KERNEL_PARAMS
67 EOF68 EOF
68 69
69 # Copy Limine EFI bootloader70 # Copy Limine EFI bootloader

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 0

    ↑↓ moveenter openesc close