Pxeboot hang RTNETLINK answers: File exists

General support questions
Post Reply
jacklee26
Posts: 4
Joined: 2022/01/27 18:17:47

Pxeboot hang RTNETLINK answers: File exists

Post by jacklee26 » 2022/01/27 18:29:47

HI I have setup pxe under ubuntu on centos images but is when pxe booting it occur
dracut-initqueue[XXX]: RTNETLINK answers: File exists
dracut-initqueue[XXX]: warning could no tboot
dracut-initqueue[XXX]: warning:/dev/root does not exist

my pxelinux.cfg/default look like this:

Code: Select all

label centos7.0 test (debug)
MENU LABEL centos7.0 http
kernel kernel_boot/centos/centos7.0/vmlinuz
append initrd=kernel_boot/centos/centos7.0/initrd.img \ url=http://192.168.2.1/images/CentOS-7-x86_64-DVD-1503-01.iso ip=dhcp
but if I use ubuntu it will be working fine example as below:

Code: Select all

label UBUNTU test
MENU LABEL UBUNTU test x64 http
kernel kernel_boot/ubuntu/ubuntu20.04/vmlinuz
append initrd=kernel_boot/ubuntu/ubuntu20.04/initrd \ url=http://192.168.2.1/images/ubuntu-20.04.3-desktop-amd64.iso ip=dhcp
do anyone have idea about using .iso image.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Pxeboot hang RTNETLINK answers: File exists

Post by TrevorH » 2022/01/27 18:34:50

Why would you even attempt to install from media that is over 6 years old? Please don't. Start over and use the iso image for CentOS 7.9.2009.

The message about RTNETLINK usually means you tried to add a route that already exists. Since you're getting your network info from DHCP, I'd look there to see what routes it's trying to give to the client.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

jacklee26
Posts: 4
Joined: 2022/01/27 18:17:47

Re: Pxeboot hang RTNETLINK answers: File exists

Post by jacklee26 » 2022/01/28 12:37:58

Hi TrevorH,
I change my CentOS to 8.5, right now it occurs different error message:
dracut-initqueue timeout - starting timeout scripts
do you have any idea about it?

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Pxeboot hang RTNETLINK answers: File exists

Post by jlehtone » 2022/01/28 13:14:49

For comparison:

Code: Select all

LABEL CentOS7x64
        MENU LABEL CentOS 7 setup nfs
        KERNEL images/Centos7.9.2009/vmlinuz
        APPEND vga=normal initrd=images/Centos7.9.2009/initrd.img nomodeset ip=dhcp inst.repo=nfs:ro,nfsvers=4:nfs.mydomain:/mirrors/centos.org/7/os/x86_64

LABEL CentOS7x64ftp
        MENU LABEL CentOS 7 setup ftp
        KERNEL images/Centos7.9.2009/vmlinuz
        APPEND vga=normal initrd=images/Centos7.9.2009/initrd.img nomodeset ip=dhcp inst.repo=ftp://10.20.30.40/pub/centos.org/7/os/x86_64

LABEL Alma8
         MENU LABEL AlmaLinux OS 8.5
         KERNEL images/Alma8.5/vmlinuz
         APPEND vga=normal initrd=images/Alma8.5/initrd.img nomodeset ip=dhcp inst.repo=nfs:ro,nfsvers=4:nfs.mydomain:/mirrors/almalinux.org/8.5/BaseOS/x86_64/os
I have no ISO files, but I have copies of repos, copied with rsync from nearest mirrors that are shared via NFS and/or vsftpd. One does not need inst.repo at all if net to nearest mirror is stable / not limited.

tunk
Posts: 1205
Joined: 2017/02/22 15:08:17

Re: Pxeboot hang RTNETLINK answers: File exists

Post by tunk » 2022/01/28 13:40:05

I change my CentOS to 8.5 ...
CentOS 8 is EOL and will not get any updates.
Consider converting to Rocky Linux, Almalinux, Springdale, OEL etc.

Post Reply