Diskless boot always fail - error dracut - could not boot
Hi all. I am try to run diskless client, but always have error - "Could not boot" from dracut. I'm using PXE, tftp and nfs. client iso build using rsync. Tftp work properly. I think it's error in nfs.
My pxelinux.cfg/default :
default rhel7
label rhel7
kernel vmlinuz-3.10.0-693.el7.x86_64
append initrd=initramfs-3.10.0-693.el7.x86_64.img
root=nfs:10.0.0.1:/nodeboot rw
Show mount output :
$ showmount -e 10.0.0.1
Export list for 10.0.0.1:
/nodeboot 10.0.0.1/24
What a problem? What i'm doing wrong?
I configure all like in https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html-single/Storage_Administration_Guide/index.html#ch-disklesssystems
But always get error - "Could not boot".
Server OS rhel 7
Responses
Hi Artem,
group{ next-server 10.0.0.1;
filename "pxelinux.0";
host front0_em2 { option host-name "front0_em2"; hardware ethernet 00:00:00...00; fixed-address 10.0.0.1; }
host node00_0_eth0 { hardware ethernet 00:00:00...00; fixed-address 10.0.0.100;}
host node00_0_eth1 { option host-name "node00_0_eth1"; hardware ethernet 00:00:00...00; fixed-address 10.0.0.200;}
}
====================================================================================
host front0_em2 { option host-name "front0_em2"; hardware ethernet 00:00:00...00; fixed-address 10.0.0.1; }
It looks to me that you assign the same ip-address to the diskless server as the your tftp/nfs server, so you create an ip-conflict during configuration of the diskless server.
Am I correct?
Regards,
Jan Gerrit Kootstra
Hi Artem,
I would give tftp/nfs server fixed ip-address, not a DHCP host entry with fixed address.
Zdenek and I are interested in diskless client ip-address information too, not only the tftp/nfs server.
Can you provide the ip addr show and ip route information of the diskless client when it is dropped to dracut shell?
Regards,
Jan Gerrit
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
