Home / Community / Blog / Configure CentOS 8 network install

Configure CentOS 8 network install

Download image and extract files into some directory. I had to use separate machine, so I copied files to my ftp server (192.168.1.28).

mount -o loop /tmp/CentOS-8-x86_64-1905-boot.iso /mnt/iso
scp -r * admin@192.168.1.28:/data/pub/CentOS-8.0.1905-boot
umount /mnt/iso

On my tftp/ftp server:

mkdir /data/tftpboot/networkboot/CentOS8-1905
cp /data/pub/CentOS-8.0.1905-boot/images/pxeboot/vmlinuz \
          /data/tftpboot/networkboot/CentOS8-1905/
cp /data/pub/CentOS-8.0.1905-boot/images/pxeboot/initrd.img \
          /data/tftpboot/networkboot/CentOS8-1905/

Add entry to PXE configuration (in my case /data/tftpboot/pxelinux.cfg/default):

LABEL InstallCentOS-8.0.1905
MENU LABEL Install CentOS 8 1905
kernel /networkboot/CentOS8-1905/vmlinuz
APPEND initrd=/networkboot/CentOS8-1905/initrd.img \
          ip=dhcp \
          inst.repo=ftp://192.168.1.28/CentOS-8.0.1905-boot

Source:
https://docs.centos.org/en-US/8-docs/advanced-install/assembly_preparing-for-a-network-install/

Comments

Log in or create a user account to comment.

Just my blog...

Mon Tue Wed Thu Fri Sat Sun
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31