In trying to follow your recommendations for debian-installer support for nbd:
- Download a daily image for your architecture.
- Either boot d-i with the extra boot-time argument modules=partman-nbd, or boot it in expert mode and select the partman-nbd module in the the 'download installer components' menu.
- And that's it! Everything else should Just Work(tm).
I have this error in debian-installer:
- Unable to install the selected kernel
- An error was returned while trying to install the kernel into the target system.
- Kernel package: 'linux-image-amd64'.
- Check /var/log/syslog or see virtual console 4 for details.
Looking at virtual terminal 4, I see:
- in-target: update-initramfs: Generating /boot/initrd.img-3.1.0-1-amd64
- in-target: mknitramfs: for root /dev/nbd0p1 missing nbd /sys/block entry
- in-target: mknitramfs: workaround is MODULES=most
- in-target: mknitramfs: Error please report the bug
Note in file /target/etc/initramfs-tools/initramfs.conf :
- MODULES=most (is already set)
I observe that there is an entry for /sys/class/block/nbd0p1 , but not /sys/block/nbd0p1 .