Comment 1 for bug 269492

Revision history for this message
malaiwah (michel-belleau) wrote :

On jaunty, I had success with these steps, done BEFORE rebooting into my new installation. The key is creating the file "/etc/iscsi/iscsi.initramfs" and rebuilding the init ram disk.

Here are my notes:

BEFORE REBOOT, ON TARGET [chroot /target /bin/bash]
apt-get update
apt-get install open-iscsi
remove dhcp from /etc/network/interfaces for eth0 (already configured via initramfs)
verify all /etc/iscsi/iscsid.conf parameters
edit /usr/share/initramfs-tools/hooks/iscsi: iscsistart is really in /sbin (copy_exec)
add "sleep 2" to iscsi script (/usr/share/initramfs-tools/scripts/local-top/iscsi) just before "configure_networking" for my via-rhine card
nano /etc/iscsi/iscsi.initramfs: (ISCSI_TARGET_NAME=iqn.blahblah, ISCSI_TARGET_IP=192.168.15.x)
apt-get dist-upgrade
dpkg-reconfigure linux-image-2.6.28-11-server (if kernel not upgraded in dist-upgrade)