kickstart/pxeboot
-
- Posts: 45
- Joined: 2014/10/24 16:20:13
kickstart/pxeboot
Has anyone figured out how to pxeboot/kickstart install centos 8 yet? Using the same method from CentOS 7 doesn't work.
Re: kickstart/pxeboot
for me it works like with CentOS 7, here is an example lpxelinux.0 config (change <YOURMIRROR> and path to ks file):
Code: Select all
label lpxelinux.0
kernel http://<YOURMIRROR>/8/BaseOS/x86_64/os/images/pxeboot/vmlinuz
append initrd=http://<YOURMIRROR>/8/BaseOS/x86_64/os/images/pxeboot/initrd.img inst.ks=http://your-shiny-kickstart.ks inst.repo=http://<YOURMIRROR>/8/BaseOS/x86_64/os
-
- Posts: 45
- Joined: 2014/10/24 16:20:13
Re: kickstart/pxeboot
I Keep getting this. Permissions are correct.
- Attachments
-
- pxeboot-error.JPG (142.22 KiB) Viewed 2549 times
Re: kickstart/pxeboot
i would try to download the file manually with curl or wget, looks like some files/dirs on your ftp server have not enough permissions
-
- Posts: 45
- Joined: 2014/10/24 16:20:13
Re: kickstart/pxeboot
Ok now getting this after moved my images folder up 2-3 levels.
Here is my tftpboot
Here is my tftpboot
Code: Select all
default menu.c32
prompt 0
timeout 300
ONTIMEOUT 1
menu title ########## CentOS PXE Boot Menu ##########
label 1
menu label ^1) Install CentOS 8 DVD
menu default
nohalt 1
kernel /networkboot/centos8-DVD/1905/vmlinuz
append initrd=/networkboot/centos8-DVD/1905/initrd.img inst.ks=ftp://10.150.1.7/pub/centos/8/ks.cfg inst.repo=ftp://10.150.1.7/pub/centos/8/BaseOS/x86_64/os/ method=ftp://10.150.1.7/pub/centos/8 devfs=nomount
- Attachments
-
- pxeboot-error1.JPG (86.41 KiB) Viewed 2541 times
Re: kickstart/pxeboot
That message screen looks more like something is not being liked in the kc.cfg file you have. I'm having a filesystem kickstart creation issue that puts leaves me in the GUI setup screen when it's not working. Looks like the non-gui version version of some ks.cfg file issue, maybe. Post the kc.cfg if you would.
If you have a CentOS 8 system install the package "pykickstart" and run your ks.cfg through the "ksvalidator" program from that package. Note running ksvalidator from CentOS 7 will follow CentOS 7 "rules" not 8's.
If you have a CentOS 8 system install the package "pykickstart" and run your ks.cfg through the "ksvalidator" program from that package. Note running ksvalidator from CentOS 7 will follow CentOS 7 "rules" not 8's.
-
- Posts: 45
- Joined: 2014/10/24 16:20:13
Re: kickstart/pxeboot
Code: Select all
#platform=x86, AMD64, or Intel EM64T
#version=DEVEL
# Keyboard layouts
keyboard 'us'
lang en_US
# Reboot after installation
reboot
# System timezone
timezone America/Chicago
# Use text mode install
text
# Network information
network --bootproto=dhcp --device=ens162
# Use network installation
#url --url="ftp://10.150.1.7/pub/centos8-DVD/1905/BaseOS"
repo --name=baseos --baseurl="ftp://10.150.1.7/pub/centos/8/BaseOS"
bootloader --location=mbr --append="rhgb quiet crashkernel=auto"
zerombr
# System authorization information
auth --useshadow --passalgo=sha512
# Firewall configuration
firewall --enabled --port=ssh
skipx
firstboot --disable
# SELinux configuration
selinux --enforcing
# System bootloader configuration
bootloader --location=mbr
# Partition clearing information
clearpart --all
# Disk partitioning information
part /boot --size 1024 --asprimary --fstype=xfs --ondrive=sda
part pv.1 --size 1 --grow --fstype=xfs --ondrive=sda
volgroup vg_root --pesize=4 pv.1
logvol / --fstype xfs --vgname vg_root --size=3072 --name=lv_root
logvol /var --fstype xfs --vgname vg_root --size=20480 --name=lv_var
logvol /tmp --fstype xfs --vgname vg_root --size=5120 --name=lv_tmp
logvol swap --vgname vg_root --size=2048 --name=lv_swap
logvol /home --fstype xfs --vgname vg_root --size=10240 --name=lv_home
logvol /usr --fstype xfs --vgname vg_root --size=20480 --name=lv_usr
#part pv.2 --size 1 --grow --fstype=xfs --ondrive=sda2
#volgroup vg_opt --pesize=4 pv.2
logvol /opt --fstype xfs --vgname vg_root --size=5120 --name=lv_opt --grow
%packages
@standard
@Base
@Core
@Development Tools
openssh-clients
sudo
kernel-headers
kernel-devel
net-tools
vim
wget
curl
rsync
bash-completion
ipa-client
%end
repo --name=appstream --baseurl="ftp://10.150.1.7/pub/centos/8/AppStream"
Re: kickstart/pxeboot
First installer "!" issues is source definition. I think you should comment the repo and change the url line to:
Second "!" for the screen shot is software selection issue. At the very least the "Development Tools" is just "development" and don't think that "Base" or Core" is good.
Code: Select all
url --url="ftp://10.150.1.7/pub/centos8-DVD/1905/"