Building clusters with UmVirt Linux From Scratch

Configuring FreeDos raw disk image PXE boot over iSCSI

Prepare freedos disk image

PXE-server kernel configuration

First of all iSCSI specific options have to be enabled in kernel:

    Device Drivers > 
      SCSI device support > 
         SCSI low-level drivers

    <M> iSCSI Initiator over TCP/IP [ISCSI_TCP]
    <M> iSCSI Boot Sysfs Interface  [ISCSI_BOOT_SYSFS]

    File systems >
      Pseudo filesystems

    <M>  Userspace-driven configuration filesystem  [CONFIGFS_FS]

    Device Drivers

    <M> Generic Target Core Mod (TCM) and ConfigFS Infrastructure ---> [TARGET_CORE]
       <M> TCM/IBLOCK Subsystem Plugin for Linux/BLOCK [TCM_IBLOCK]
       <M> TCM/FILEIO Subsystem Plugin for Linux/VFS [TCM_FILEIO]
       <M> TCM/pSCSI Subsystem Plugin for Linux/SCSI [TCM_PSCSI]
       <M> TCM/USER Subsystem Plugin for Linux [TCM_USER2]
       <M> TCM Virtual SAS target and Linux/SCSI LDD fabric loopback module [LOOPBACK_TARGET]
       <M> SCSI Target Mode Stack [ISCSI_TARGET]
       <M>    Chelsio iSCSI target offload driver [ISCSI_TARGET_CXGB4]
       <M> TCM Virtual Remote target [REMOTE_TARGET]

Linux kernel source tree is stored in "/usr/src/linux-*" directory.

To edit kerel options run

    make menuconfig

To build kernel run

    chimp kernel_build

To install kernel run

    chimp kernel_install

After kernel installation system should be rebooted.

PXE-server configuration

iSCSI target configuration

iPXE configuration

Kea configuration

Compute unit test launch

Run compute unit. On PXE boot attempt FreeDOS shold be loaded.

FreeDOS over iSCSI