Add the iscsi kernel module to the loader/stage1 image, add iscsi user space commands to stage2 image. diff -uprN -X /home/patman/dontdiff anaconda-10.91.12/scripts/mk-images iscsi-anaconda-10.91.12/scripts/mk-images --- anaconda-10.91.12/scripts/mk-images 2005-12-12 14:10:30.000000000 -0800 +++ iscsi-anaconda-10.91.12/scripts/mk-images 2006-02-06 14:01:16.000000000 -0800 @@ -35,7 +35,7 @@ COMMONMODS="fat vfat nfs sunrpc lockd fl USBMODS="ohci-hcd uhci-hcd ehci-hcd hid mousedev usb-storage sd_mod sr_mod ub" FIREWIREMODS="ieee1394 ohci1394 sbp2" IDEMODS="ide-cd" -SCSIMODS="sr_mod sg st sd_mod scsi_mod" +SCSIMODS="sr_mod sg st sd_mod scsi_mod iscsi_tcp" FSMODS="fat msdos vfat ext3 reiserfs jfs xfs" LVMMODS="dm-mod dm-zero dm-snapshot dm-mirror" RAIDMODS="md raid0 raid1 raid5 raid6" diff -uprN -X /home/patman/dontdiff anaconda-10.91.12/scripts/upd-instroot iscsi-anaconda-10.91.12/scripts/upd-instroot --- anaconda-10.91.12/scripts/upd-instroot 2006-02-01 15:52:12.000000000 -0800 +++ iscsi-anaconda-10.91.12/scripts/upd-instroot 2006-02-06 14:01:16.000000000 -0800 @@ -120,7 +120,8 @@ PACKAGES="glibc glibc-common setup opens xfsprogs xfsdump dmapi libacl libattr attr acl python-urlgrabber policy policycoreutils pyparted xorg-x11 selinux-policy-targeted libstdc++ expat libgcc readline ncurses yum python-sqlite - python-elementtree pykickstart e2fsprogs-libs" + python-elementtree pykickstart e2fsprogs-libs iscsi-initiator-utils + db4" if [ $ARCH = i386 -o $ARCH = x86_64 ]; then PACKAGES="$PACKAGES pcmciautils kernel-utils" @@ -272,6 +273,7 @@ bin/mkfs* bin/sed etc/group etc/passwd +etc/iscsid.conf etc/pcmcia/* etc/protocols etc/services @@ -291,6 +293,7 @@ $LIBDIR/ld*.so* $LIBDIR/libblkid* $LIBDIR/libcom_err* $LIBDIR/libcrypt* +$LIBDIR/libdb-* $LIBDIR/libdevmapper* $LIBDIR/libdl* $LIBDIR/libe2p* @@ -354,6 +357,8 @@ sbin/xfs_repair usr/sbin/xfs_db usr/sbin/xfs_check usr/sbin/xfs_copy +sbin/iscsid +sbin/iscsiadm usr/bin/python usr/bin/python?.? usr/bin/hmount