iSCSI support (modules and configuration) missing from initramfs

Bug #269492 reported by Roger Mach
8
Affects Status Importance Assigned to Milestone
open-iscsi (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After installing to an iSCSI disk, the initramfs image used at first boot into the newly installed system does not load any iSCSI kernel modules and there is no iSCSI configuration in /etc/iscsi, which causes the boot to fail.

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)

Revision history for this message
Colin Watson (cjwatson) wrote :

/etc/iscsi/iscsi.initramfs is now automatically created by the installer in Karmic if necessary. See bug 237460 for more details.

Changed in open-iscsi (Ubuntu):
status: New → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote :

(I think the changes I made cover all of malaiwah's notes, too.)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.