v0.0.3 - Add loglevel=1 to live boot args to suppress TTY console noise

This commit is contained in:
Laan Tungir
2026-05-07 10:20:50 -04:00
parent adebb27c62
commit 0f74671529
59985 changed files with 8508144 additions and 4402 deletions

View File

@@ -0,0 +1,64 @@
source /boot/grub/config.cfg
# Live boot
menuentry "Live system (amd64)" --hotkey=l {
linux /live/vmlinuz-6.12.85+deb13-amd64 boot=live components console=tty0 console=ttyS0,115200n8 loglevel=4 findiso=${iso_path}
initrd /live/initrd.img-6.12.85+deb13-amd64
}
menuentry "Live system (amd64 fail-safe mode)" {
linux /live/vmlinuz-6.12.85+deb13-amd64 boot=live components memtest noapic noapm nodma nomce nosmp nosplash vga=788
initrd /live/initrd.img-6.12.85+deb13-amd64
}
# You can add more entries like this
# menuentry "Alternate live boot" {
# linux /live/vmlinuz-6.12.85+deb13-amd64 boot=live components console=tty0 console=ttyS0,115200n8 loglevel=4 findiso=${iso_path} custom options here
# initrd /live/initrd.img-6.12.85+deb13-amd64
# }
# menuentry "Alternate graphical installer" {
# linux custom options here
# initrd
# }
# menuentry "Alternate textual installer" {
# linux custom options here
# initrd
# }
# Installer (if any)
if false; then
source /boot/grub/install_start.cfg
submenu 'Advanced install options ...' --hotkey=a {
source /boot/grub/theme.cfg
source /boot/grub/install.cfg
}
fi
submenu 'Utilities...' --hotkey=u {
source /boot/grub/theme.cfg
# Memtest (if any)
if false; then
source /boot/grub/memtest.cfg
fi
# Firmware setup (UEFI)
if [ "${grub_platform}" = "efi" ]; then
menuentry "UEFI Firmware Settings" --hotkey=f {
fwsetup
}
fi
# Verify the checksums
if true; then
menuentry "Verify integrity of the boot medium" --hotkey=v {
linux /live/vmlinuz-6.12.85+deb13-amd64 boot=live components console=tty0 console=ttyS0,115200n8 loglevel=4 findiso=${iso_path} verify-checksums
initrd /live/initrd.img-6.12.85+deb13-amd64
}
fi
}

View File

@@ -0,0 +1,12 @@
label live-amd64
menu label ^Live system (amd64)
menu default
linux /live/vmlinuz
initrd /live/initrd.img
append boot=live components console=tty0 console=ttyS0,115200n8 loglevel=4
label live-amd64-failsafe
menu label Live system (amd64 fail-safe mode)
linux /live/vmlinuz
initrd /live/initrd.img
append boot=live components memtest noapic noapm nodma nomce nosmp nosplash vga=788

View File

@@ -0,0 +1,19 @@
# n-OS-tr boot posture: firstboot + signer + service menu start automatically.
# Optional network-facing daemons are installed but disabled by default.
enable n-os-tr-firstboot.service
enable nostr-id.service
enable nsigner.service
enable nostr-id-tui-services.service
disable nostr-id-tui.service
disable didactyl.service
disable c-relay.service
disable ginxsom.service
disable fips.service
disable fips-dns.service
disable nginx.service
disable nostr-config-loader.service
disable nostr-config-writer.service
disable ssh.service
disable tor.service

View File

@@ -0,0 +1 @@
/etc/systemd/system/nostr-id-tui-services.service

View File

@@ -0,0 +1 @@
/etc/systemd/system/nsigner.service

View File

@@ -0,0 +1,23 @@
[Unit]
Description=n-OS-tr Nostr Identity TUI
Documentation=file:///usr/share/doc/n-os-tr/README
After=systemd-user-sessions.service n-os-tr-firstboot.service
Wants=n-os-tr-firstboot.service
Conflicts=getty@tty1.service
Before=getty@tty1.service
[Service]
Type=simple
ExecStart=/usr/local/sbin/nostr-id-tui
Restart=always
RestartSec=1
StandardInput=tty
StandardOutput=tty
StandardError=journal
TTYPath=/dev/tty1
TTYReset=yes
TTYVHangup=yes
TTYVTDisallocate=yes
[Install]
WantedBy=multi-user.target