PXELinux + WDS + CentStream8/9 - nvme0n1 hang

Issues related to configuring your network
Post Reply
Gabber359
Posts: 2
Joined: 2022/06/25 19:35:57

PXELinux + WDS + CentStream8/9 - nvme0n1 hang

Post by Gabber359 » 2022/06/26 08:55:29

Hey folks.

So I've been banging my head against the wall on this for a solid few days now.
Windows Server 2016 + WDS
Got PXELinux to work (took a while)
Windows LTI deployments work just fine
CentOS8 + 9 Streams do not.


Seems to always hang at '[OK] Started cancel waiting for multipath siblings of nvme0n1'
Always. No matter how I write the ks.cfg file. And yes, I ran through the manual installation(s) and then copied the ks info from there. First I thought it was a bug in 8 due to:
https://bugzilla.redhat.com/show_bug.cgi?id=1916168

So I tried 9 just now. Ironically, VMWare thinks the ISO is 5 or lower lol, so can only use SDA and not nvme. Fine. Even using 'ignoredisk --only-use=sda' doesn't work.
I've scoured the Internet and troubleshooted myself for possible solutions but no dice. This is my last hope :(. Any help would be appreciated, thanks.
https://sites.google.com/site/rajamuthu ... repxelinux
https://tool.frogg.fr/Tutorial_Linux_PXE_on_WDS
https://www.plop.at/en/ploplinux/live/n ... tml#pxew41
https://linuxconfig.org/automating-linu ... -kickstart
https://centosfaq.org/centos/problems-w ... kickstart/
And obviously:
https://docs.fedoraproject.org/en-US/Fe ... edisk.html

Just some of the sites I found.
Below are some screenshots of my issue:
https://imgur.com/a/WftDuhH

https://imgur.com/a/hIhtexn

My ks.cfg for Stream 8:

Code: Select all

#version=RHEL8
# Use graphical install
graphical

%packages
@^graphical-server-environment
kexec-tools

%end

# Keyboard layouts
keyboard --xlayouts='us (euro)'
# System language
lang en_GB.UTF-8

# Network information
network  --hostname=localhost.localdomain

# Run the Setup Agent on first boot
firstboot --enable

ignoredisk --only-use=nvme0n1

# System bootloader configuration
bootloader --append="crashkernel=auto" --location=mbr --boot-drive=nvme0n1

autopart

# Partition clearing information
clearpart --none --initlabel

# System timezone
timezone Europe/Amsterdam --isUtc --nontp

# Root password
rootpw --iscrypted <edit>

%addon com_redhat_kdump --enable --reserve-mb='auto'

%end

%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
%end
ks.cfg for Stream 9:

Code: Select all

#version=RHEL9
# Use graphical install
graphical

%addon com_redhat_kdump --enable --reserve-mb='auto'
%end

# Keyboard layouts
keyboard --xlayouts='us (intl)'
# System language
lang en_GB.UTF-8

%packages
@^graphical-server-environment

%end

# Run the Setup Agent on first boot
firstboot --enable

# Disk config
ignoredisk --only-use=sda
autopart

#Partition clearing info
cleartpart --none --initlabel

# System timezone
timezone Europe/Amsterdam --isUtc --nontp

# Root password
rootpw --iscrypted <edit>

x86 and x64 default config:

Code: Select all

DEFAULT      menu.c32
PROMPT       0
NOESCAPE     0
ALLOWOPTIONS 0
# Timeout in units of 1/10 s
TIMEOUT 300
MENU MARGIN 10
MENU ROWS 16
MENU TABMSGROW 21
MENU TIMEOUTROW 26
MENU COLOR BORDER 	30;44 	#20ffffff #00000000 none
MENU COLOR SCROLLBAR 	30;44 	#20ffffff #00000000 none
MENU COLOR TITLE 	0 	#ffffffff #00000000 none
MENU COLOR SEL   	30;47 	#40000000 #20ffffff
MENU TITLE PXE Boot Menu

LABEL wds
MENU LABEL Windows Deployment Services
KERNEL pxeboot.0

LABEL abort
MENU LABEL AbortPXE
KERNEL	abortpxe.0

LABEL local 
MENU DEFAULT
MENU LABEL Boot from Harddisk
LOCALBOOT 0
# Type 0x80
#---
LABEL CentStream8
MENU LABEL Centos 8 Install
KERNEL /Linux/CentOs/vmlinuz
APPEND initrd=/Linux/CentOs/initrd.img ks=ftp://<edit>@192.168.6.138/cent/ks.cfg 

LABEL CentOS9
MENU LABEL Centos 9 Install
KERNEL /Linux/Centos9/vmlinuz
APPEND initrd=/Linux/Centos9/initrd.img ks=ftp://<edit>1@192.168.6.138/cent9/ks.cfg 
Fun note: In APPEND, yes, I've tested with 'inst.repo=<location> (I've copied the contents of the iso to the server location), but that opens a whole new bag of worms to the point where it shuts down my VM. I still think it's a disk config issue looking at what's going on tbh. So first things first.
Bonus pic:
https://imgur.com/a/UZEQDbw

Edit: I believe the nvme01n hang was just a small part of a larger issue. I still think it's a disk config issue, since adding the repo (the last image) spits out various errors, but continues past the original nvme01 hang.

Gabber359
Posts: 2
Joined: 2022/06/25 19:35:57

Re: PXELinux + WDS + CentStream8/9 - nvme0n1 hang

Post by Gabber359 » 2022/06/27 08:40:35

Solved: Upped the VM's memory from 2GB to 4GB. Installation breezes through. Still stops at the config menu though, something to do with the disk partition, but that's a non-issue. I literally just clicked the disk, clicked saved, then continued the installation. I'll have to recheck the cfg file.

Post Reply