From 8ebe3a97134b1f128be0acf73c82394fe94b06e7 Mon Sep 17 00:00:00 2001 From: veilor-org Date: Sun, 3 May 2026 16:27:15 +0100 Subject: [PATCH] =?UTF-8?q?v0.5.17:=20text-mode=20boot=20=E2=80=94=20drop?= =?UTF-8?q?=20fedora=20branding,=20full=20hackery=20scroll?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Per user: bottom-screen "fedora" logo + spinner during boot is fedora- logos package + GRUB graphical theme. v0.5.17 strips it for now — v0.6 will re-introduce plymouth with veilor-black theme + LUKS-prompt- friendly config. Changes: 1. Kernel cmdline: add `logo.nologo console=tty0` - logo.nologo: suppress kernel boot logo (Tux/Fedora leaf) - console=tty0: explicit text console output - `quiet` already absent → all kernel msgs scroll 2. /etc/default/grub patches in chroot %post: - GRUB_DISTRIBUTOR="veilor-os" (menu titles read "veilor-os" not "Fedora Linux 43...") - GRUB_THEME= (empty — no graphical theme) - GRUB_TERMINAL_OUTPUT="console" (text-mode menu, no gfxterm) - Drop GRUB_BACKGROUND 3. Regen grub.cfg + EFI grub.cfg with new branding Result: pure text scroll boot, white-on-black, no fedora artifacts. veilor-os menu title in GRUB picker. "Hackery dope" aesthetic. For real users wanting splash → v0.6 ships plymouth + veilor theme. --- overlay/usr/local/bin/veilor-installer | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/overlay/usr/local/bin/veilor-installer b/overlay/usr/local/bin/veilor-installer index 158a94b..7c8988e 100644 --- a/overlay/usr/local/bin/veilor-installer +++ b/overlay/usr/local/bin/veilor-installer @@ -377,7 +377,7 @@ __SSHKEY_DIRECTIVE__ # Full hardening cmdline (installed system, not live): # --location=none: anaconda auto-places bootloader (UEFI grub2-efi or BIOS). -bootloader --append="lockdown=integrity slab_nomerge init_on_alloc=1 init_on_free=1 randomize_kstack_offset=on vsyscall=none plymouth.enable=0 rd.plymouth=0" +bootloader --append="lockdown=integrity slab_nomerge init_on_alloc=1 init_on_free=1 randomize_kstack_offset=on vsyscall=none plymouth.enable=0 rd.plymouth=0 logo.nologo console=tty0" # Disk: zero, LUKS2 (argon2id), btrfs subvolumes (no LVM intermediary). # Native btrfs-on-LUKS matches Fedora KDE Spin defaults; LVM+btrfs combo @@ -576,6 +576,23 @@ for unit in \ ln -sf /dev/null /etc/systemd/system/$unit done +# GRUB branding: drop fedora menu titles + theme + graphical splash. +# Pure text-mode "hackery" boot per veilor aesthetic. Logo/theme work +# revisits in v0.6 via plymouth + veilor-black theme. +sed -i \ + -e 's|^GRUB_DISTRIBUTOR=.*|GRUB_DISTRIBUTOR="veilor-os"|' \ + -e 's|^GRUB_THEME=.*|GRUB_THEME=|' \ + -e 's|^GRUB_TERMINAL_OUTPUT=.*|GRUB_TERMINAL_OUTPUT="console"|' \ + -e '/^GRUB_BACKGROUND=/d' \ + /etc/default/grub 2>/dev/null || true +# Append GRUB_TERMINAL_OUTPUT if not present +grep -q '^GRUB_TERMINAL_OUTPUT=' /etc/default/grub 2>/dev/null || \ + echo 'GRUB_TERMINAL_OUTPUT="console"' >> /etc/default/grub +# Regen grub.cfg with new branding (anaconda already wrote one; replace). +grub2-mkconfig -o /boot/grub2/grub.cfg 2>/dev/null || true +[ -f /boot/efi/EFI/fedora/grub.cfg ] && \ + grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg 2>/dev/null || true + # Symlink display-manager.service → sddm.service. (Anaconda usually # handles this when sddm is the only DM, but be explicit.) ln -sf /usr/lib/systemd/system/sddm.service /etc/systemd/system/display-manager.service