I am trying to boot a diskless CentOS-7 VM using iPXE from a remote iSCSI target. This is how I am booting from iPXE command line,
Code: Select all
iPXE> sanboot iscsi:10.10.201.235::3260:1:iqn.2017-04.net.timbuktu.vms01:ipxe-centos
Code: Select all
[ OK ] Reached target Paths.
[ OK ] Reached target Basic System.
[ 1.879252] 8139cp 0000:00:03.0 ibft0: link up, 100Mbps, full-duplex, lpa 0x05E1
[ 2.005564] tsc: Refined TSC clocksource calibration: 2399.985 MHz
[ 4.524074] dracut: FATAL: No handler for netroot type 'iscsi:10.10.201.235::3260:1:iqn.2017-04.net.timbuktu.vms01:ipxe-centos'
[ 4.527404] dracut: Refusing to continue
[ 4.538742] systemd-shutdown[1]: Sending SIGTERM to remaining processes...
[ 4.545350] systemd-journald[97]: Received SIGTERM from PID 1 (systemd-shutdow).
[ 4.552599] systemd-shutdown[1]: Sending SIGKILL to remaining processes...
[ 4.555682] systemd-shutdown[1]: Unmounting file systems.
[ 4.557112] systemd-shutdown[1]: All filesystems unmounted.
[ 4.558437] systemd-shutdown[1]: Deactivating swaps.
[ 4.559660] systemd-shutdown[1]: All swaps deactivated.
[ 4.560910] systemd-shutdown[1]: Detaching loop devices.
[ 4.562229] systemd-shutdown[1]: All loop devices detached.
[ 4.563520] systemd-shutdown[1]: Detaching DM devices.
[ 4.564787] systemd-shutdown[1]: All DM devices detached.
[ 4.566254] systemd-shutdown[1]: Halting system.
[ 4.572123] System halted.
Code: Select all
linux16 /vmlinuz-3.10.0-327.el7.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto nomodeset rd.lvm.lv=centos/root rd.lvm.lv=centos/swap console=tty0 console=ttyS0,115200n8 netroot=iscsi:10.10.201.235::3260:1:iqn.2017-04.net.timbuktu.vms01:ipxe-centos iscsi_initiator=iqn.2017-04.net.timbuktu.vms01:ipxe-centos rd.iscsi.ibft=1 rd.iscsi.waitnet=0 rd.iscsi.testroute=0