asb / spindle

http://asbradbury.org/projects/spindle/
Other
185 stars 43 forks source link

/dev/nbd0 does not exist #139

Closed ghost closed 10 years ago

ghost commented 10 years ago

Hi

After running _setup_spindleenvironment and debootstrap completing successfully I got the following message: umount: /dev/nbd0: not mounted /dev/nbd0 disconnected (I guess this is expected from universal_cleanup)

Then I do: sudo modprobe nbd max_part=16 which doesn't output any errors and schroot -c spindle W: line 5 [spindle]: Unknown key ‘preserve-environment’ used I: This option may be present in a newer version Is that warning expected? My current schroot version is 1.4.0-1ubuntu1

However when running wheezy-stage0 I got: Died: nbd device '/dev/nbd0' does not exist.

If I don't change the chroot environment then I don't have any problems with '/dev/nbd0', but I don't think this is the way it works.

System: Ubuntu 10.04 Kernel 2.6.32-49-generic

Any advice? Thanks!

ghost commented 10 years ago

This was a problem with schroot version is 1.4.0-1ubuntu1. I updated it to 1.4.25 and works as expected now.