Package: xen-tools Version: 0.9-1-bpo1 Severity: minor When booting a sarge system created with xen-tools (and changed to use hda rather than sda, because of what I said in #352937) I noticed that the swap didn't get activated. Upon investigation I noticed I could solve the problem by just making the devices, calling the makedev script!
I fixed this in xen-tools by creating the /etc/xen-tools/hook.d/65-make-devs attached. It would be nice if this could be added to xen-tools either as-is or with modification. Right now I'm creating both hda and sda, but it could be adjusted to create just sda or hda depending of which one is used (that is: supposing 352937 gets fixed too, otherwise just creating sda would be sufficient). Thanks, Guido
#!/bin/sh # # This script creates devices in the new system # They are useful if the image doesn't use dynamic device creation (eg. udev) # # Guido prefix=$1 chroot ${prefix} /dev/MAKEDEV hda chroot ${prefix} /dev/MAKEDEV sda