Index of /stream9/dnfbootstrap
About
---
dnfbootstrap CS9 from an AL8 host
scratch LVM coming in from /dev/xvde
// clear the MBR
dd if=/dev/zero of=/dev/xvde bs=2M count=1
// prep the lvm with filesys
mkfs.ext4 -O^64bit -O^metadata_csum /dev/xvde
// our installroot
mount /dev/xvde /mnt/usb
// import the gpg key and init the rpmdb
sudo rpm --root=/mnt/usb --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
// proxy is picked up from ENV, export PROXY=http://192.168.1.3:3128
// if you have an older CPU without [aes,avx] opcodes, cs-9 glibc will block this from working
dnf --installroot=/mnt/usb --releasever=9 install dnf rpm nano dnf-plugins-core glibc-langpack-en --disablerepo=\* --setopt=gpgcheck=0 --setopt=tsflags=nodocs --setopt=module_platform_id=platform:el9 --repofrompath=cs9repo,http://mirror.stream.centos.org/9-stream/BaseOS/x86_64/os --enablerepo=cs9repo --exclude=gnome*
unmount /mnt/usb
// rpmdb is berkeley bdb, must be converted to sqlite
./convdb.sh
Author
---
PryMar56
Dec 2021