Created
August 29, 2021 06:44
-
-
Save zacharyfreeman70/ead4c8a9d2fec58753d7c295f39cfc00 to your computer and use it in GitHub Desktop.
Working Kickstart file for Minimal Fedora 34 install on top of software RAID-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
graphical | |
keyboard --xlayouts='us' | |
lang en_US.UTF-8 | |
network --bootproto=dhcp --device=eno1 --ipv6=auto --activate | |
url --mirrorlist="https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$arch" | |
%packages | |
@^minimal-environment | |
%end | |
firstboot --disable | |
timezone America/New_York --utc | |
reboot | |
# Create 3 software RAID1 arrays from /dev/sd{a,b}: /, /boot, and swap | |
ignoredisk --only-use=sdb,sda | |
clearpart --all --initlabel --drives=sda,sdb | |
part biosboot --fstype="biosboot" --ondisk=sda --size=1 | |
part biosboot --fstype="biosboot" --ondisk=sdb --size=1 | |
part raid.201 --fstype="mdmember" --ondisk=sda --size=1024 | |
part raid.202 --fstype="mdmember" --ondisk=sdb --size=1024 | |
part raid.301 --fstype="mdmember" --ondisk=sda --size=8192 | |
part raid.302 --fstype="mdmember" --ondisk=sdb --size=8192 | |
part raid.401 --fstype="mdmember" --ondisk=sda --size=1 --grow | |
part raid.402 --fstype="mdmember" --ondisk=sdb --size=1 --grow | |
raid /boot --device=boot --fstype="ext4" --level=RAID1 raid.201 raid.202 | |
raid swap --device=swap --fstype="swap" --level=RAID1 raid.301 raid.302 | |
raid / --device=root --fstype="ext4" --level=RAID1 raid.401 raid.402 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment