I’m looking to setup a kickstart file with systemd-boot
since i do not use grub. I was using chatgpt to go through the file but it keeps saying that I need several extra configurations to allow for my bootloader of choice.
#version=Fedora
# Use graphical install
graphical
# Keyboard layouts
keyboard --xlayouts='us'
# System language
lang en_US.UTF-8
# Network information
network --bootproto=dhcp --device=eth0 --onboot=on --activate
# Root password
rootpw --iscrypted <encrypted-password>
# Timezone
timezone America/New_York --isUtc
# Disk partitioning information
ignoredisk --only-use=sda
autopart --type=lvm
part /boot --fstype="xfs" --size=1024
part pv.01 --size=1 --grow --encrypted --passphrase=<your-luks-passphrase>
volgroup vg_system pv.01
logvol / --fstype="xfs" --size=20480 --name=lv_root --vgname=vg_system
logvol /home --fstype="xfs" --size=10240 --name=lv_home --vgname=vg_system
# Use graphical interface
graphical
# SELinux configuration
selinux --enforcing
# Firewall configuration
firewall --enabled
# Do not configure the X Window System
skipx
# System services
services --enabled=NetworkManager,sshd
# Set up bootloader
# Note: This sets up GRUB, additional steps required for systemd-boot
bootloader --location=mbr --boot-drive=sda
# Reboot after installation
reboot
%packages
@core
%end
%post
# Note: Add custom commands for systemd-boot setup here
%end
Any experts on kickstart scripts want to have a look and offer tips? I also asked Bard to see it’s reply. . .