Bug#657955: nbd-client-udeb: nbd-root install / mkinitramfs: missing /sys/block entry

January 30th, 2012 - 03:50 am ET by viop | Report spam
Package: nbd-client-udeb
Severity: important
Tags: d-i

Dear Maintainer,

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 .

Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 1 replyReplies Make a reply

Replies

#1 ipod
January 30th, 2012 - 11:20 pm ET | Report spam
Dear maintainer,

It seems that the bug appears only in installations of testing/sid, because:

After some more trials, what DOES work for NBD-root setup in
debian-installer, is:

AT: Debian GNU/Linux installer boot menu
-hit TAB; type "modules=partman-nbd"; hit ENTER

AT: [!!] Select a language
-hit TAB; "<Go Back>" is highlighted; hit ENTER

AT: [!] Debian installer main menu
-arrow key down to "Change debconf priority"; hit ENTER

AT: [!!] Change debconf priority
-arrow key down to "low"; hit ENTER

...carry on with installation as normal, until:

AT: [?] Choose a mirror of the debian archive (Debian version to install:)
-the selection should be "squeeze - stable"; hit ENTER

...carry on with installation as normal, until:

AT: [.] Debian installer main menu (Detect disks)
-skip "Detect disks"; arrow key down to "Partition disks"; hit ENTER

AT: [?] Debian installer main menu (Choose an installation step)
-hit TAB; "<Go Back>" is highlighted; hit ENTER;

AT: [!!] Partition disks (This is an overview of your currently selected...)
-the selection should be "Configure the Network Block Device"; hit ENTER

AT: [!!] Partition disks (NBD configuration action:)
-the selection should be "Connect a Network Block Device"; hit ENTER

AT: [!!] Partition disks (Network Block Device device node:)
-the selection should be "/dev/nbd0"; hit ENTER

AT: [!!] Partition disks (Network Block Device server:)
-type the IP address or hostname of your NBD server, e.g. 192.168.0.110

AT: [!!] Partition disks (Network Block Device port or name:)
-type the port number that your NBD server is listening on, e.g. 12345

AT: [!!] Partition disks (NBD configuration action:)
-arrow key down to "Finish and return to the partitioner"; hit ENTER

...carry on with installation as normal, until:

AT: [.] Debian installer main menu (Install the GRUB boot loader on a hard
disk)
-arrow key down to "Continue without the boot loader"; hit ENTER
-(make sure to note the kernel parameters it gives you)

...carry on with the installation as normal.
=




To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics