Skip to content

Instantly share code, notes, and snippets.

@dmc5179
Created October 25, 2024 00:59
Show Gist options
  • Save dmc5179/d5c519d1aceec9ba392cc470217f2b99 to your computer and use it in GitHub Desktop.
Save dmc5179/d5c519d1aceec9ba392cc470217f2b99 to your computer and use it in GitHub Desktop.
RHEL 8 Live ISO
# enable network
nmcli con show
nmcli con up enp1s0
mkdir /mnt/tmpfs
mount -o size=8G -t tmpfs none /mnt/tmpfs
# Enable subscription
subscription-manager register
# or copy in /etc/yum.repos.d files for satellite to base system
dnf --releasever=8 --installroot=/mnt/tmpfs groupinstall Base
dnf --releasever=8 --installroot=/mnt/tmpfs install pciutils usbutils vim
dnf --releasever=8 --installroot=/mnt/tmpfs install kernel-devel kernel-headers kernel-core kernel-modules
dnf --releasever=8 --installroot=/mnt/tmpfs install gcc make rpm-build
cp /etc/yum.repos.d/* to /mnt/tmpfs/etc/yum.repos.d/
mount -t /proc proc /mnt/tmpfs/proc/
mount -t /sysfs sys /mnt/tmpfs/sys/
mount -o bind /dev /mnt/tmpfs/dev/
mount -o bind /dev/pts /mnt/tmpfs/dev/pts
# Pull the mft tgz file to system using scp
# Copy mft tgz to /mnt/tmpfs/root/
chroot /mnt/tmpfs/
cd /root/
tar -xzf mft*.gz
#cd to directory
./install
mst start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment