14.04 server PXE installation fails at "Configure the network" page
Solution 1
Append biosdevname=0
to the kernel in the PXE default file, that solves this network problem. The reason can be found in this document:
Reference: Nicnaming – Solving it with Biosdevname
Solution 2
The issue seems to be the interface naming issue. To workaround the problem, do the following in the installation shell:
# sed -i 's/eth0/p1p1/' /etc/network/interfaces
# ip addr add [IP address]/24 dev p1p1
# ip link set p1p1 up
# ip route add [IP address]/24 via [GW IP address] dev p1p1
After these steps, go back to the installer through exiting the shell and continue the installation
It looks, if the installation can be instructed to name the interface eth0
, then there should not be such a problem.
Related videos on Youtube
user277236
Updated on September 18, 2022Comments
-
user277236 over 1 year
Tried unattended PXE install, it fails at this page
Network autoconfiguration failed Your network is probably not using the DHCP protocol. Alternatively, the DHCP server may be slow or some network hardware is not working properly. <Continue>
My DHCP server works fine with 12.04 and all other Linux distributions, such as RHEL and SLES. More importantly,
pxelinux.0
is fetched over and the kernel and initrd are downloaded and started. So I assume this should be a client problem instead of server's. In particular, the 14.04 installer problem.Jump to a shell in the installer, found
ifconfig
is not available. Trieddhclient
, it returns no error (return code is 0 too) but still cannot ping the PXE or DHCP servers. The error for failedping
is "Network is unreachable".tcpdump
shows there is not any DHCP request on the DHCP server after the initial one in PXE.lspci
shows all the NICs.01:00.1 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller ...
Any idea what could have gone wrong?
Other info:
ip link
shows the interface is p1p1 but /etc/network/interface shows only eth0 is configured.~ # ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: p1p1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:22:99:b2:00:12 brd ff:ff:ff:ff:ff:ff 3: p2p1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:22:99:b2:00:14 brd ff:ff:ff:ff:ff:ff 4: p3p1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:22:99:b2:00:10 brd ff:ff:ff:ff:ff:ff 5: eth3: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:22:99:b2:00:16 brd ff:ff:ff:ff:ff:ff 6: rename6: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:22:99:b2:00:17 brd ff:ff:ff:ff:ff:ff 7: p2p2: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:22:99:b2:00:11 brd ff:ff:ff:ff:ff:ff 8: p4p1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:22:99:b2:00:13 brd ff:ff:ff:ff:ff:ff 9: p5p1: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000 link/ether 00:22:99:b2:00:15 brd ff:ff:ff:ff:ff:ff
/etc/network # cat interfaces
# This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 172.25.0.101 netmask 255.255.255.0 network 172.25.0.0 broadcast 172.25.0.255 gateway 172.25.0.1 # dns-* options are implemented by the resolvconf package, if installed dns-nameservers 172.25.0.1
-
user.dz about 10 years+1, but is there any reference or documentation about this?
-
user277236 about 10 years
-
user277236 almost 10 yearsNoticed and very appreciate your help. Need to learn how to use this new editor :).