--- Ron Johnson <[EMAIL PROTECTED]> wrote: > On 09/20/08 18:42, Stephen Liu wrote: > > --- nate <[EMAIL PROTECTED]> wrote: > > > >> Stephen Liu wrote: > >>> The module seem non-existing. > >>> > >>> > >>> $ ls -l /lib/modules/$(uname -r)/kernel/drivers/block/loop.ko > >>> ls: /lib/modules/2.6.18-xen/kernel/drivers/block/loop.ko: No such > >> file > >>> or directory > >> How about > >> > >> > >> [EMAIL PROTECTED]:~]$ grep -i loop /boot/config-`uname -r` > >> CONFIG_BLK_DEV_LOOP=m > >> CONFIG_BLK_DEV_CRYPTOLOOP=m > > > > > > Hi nate, > > > > > > # grep -i loop /boot/config-`uname -r` > > CONFIG_BLK_DEV_LOOP=y > > CONFIG_BLK_DEV_CRYPTOLOOP=m > > CONFIG_XEN_NETDEV_LOOPBACK=y > > Then there's no need to load the loop driver, since it's already > built into the kernel.
Thanks. But I can't resolve why xen-create-image unable creating ubunut guest $ ls -l /usr/lib/xen-tools/ubuntu.d total 56 -rwxr-xr-x 1 root root 480 2006-11-19 05:51 10-generate-locale -rwxr-xr-x 1 root root 482 2006-11-19 05:51 15-disable-hwclock -rwxr-xr-x 1 root root 1709 2006-11-19 05:51 20-setup-apt -rwxr-xr-x 1 root root 907 2006-11-19 05:51 25-disable-tls -rwxr-xr-x 1 root root 930 2006-11-19 05:51 30-fix-inittab -rwxr-xr-x 1 root root 2630 2006-11-19 05:51 35-setup-users -rwxr-xr-x 1 root root 2505 2006-11-19 05:51 40-setup-networking -rwxr-xr-x 1 root root 1783 2006-11-19 05:51 50-setup-hostname -rwxr-xr-x 1 root root 813 2006-11-19 05:51 60-copy-host-files -rwxr-xr-x 1 root root 729 2006-11-19 05:51 65-copy-user-files -rwxr-xr-x 1 root root 708 2006-11-19 05:51 70-install-ssh -rwxr-xr-x 1 root root 929 2006-11-19 05:51 80-install-modules -rwxr-xr-x 1 root root 1703 2006-11-19 05:51 90-make-fstab -rwxr-xr-x 1 root root 485 2006-11-19 05:51 99-clean-image $ ls -l /usr/lib/xen-tools/ total 24 drwxr-xr-x 2 root root 4096 2008-09-12 22:41 centos4.d -rw-r--r-- 1 root root 2658 2006-11-19 05:51 common.sh lrwxrwxrwx 1 root root 8 2008-09-12 22:41 dapper.d -> ubuntu.d drwxr-xr-x 2 root root 4096 2008-09-12 22:41 debian.d lrwxrwxrwx 1 root root 8 2008-09-12 22:41 edgy.d -> ubuntu.d lrwxrwxrwx 1 root root 8 2008-09-12 22:41 etch.d -> debian.d drwxr-xr-x 2 root root 4096 2008-09-12 22:41 fedora.d drwxr-xr-x 2 root root 4096 2008-09-12 22:41 gentoo.d lrwxrwxrwx 1 root root 8 2008-09-12 22:41 sarge.d -> debian.d lrwxrwxrwx 1 root root 8 2008-09-12 22:41 sid.d -> debian.d lrwxrwxrwx 1 root root 8 2008-09-12 22:41 stentz.d -> fedora.d drwxr-xr-x 2 root root 4096 2008-09-18 23:04 ubuntu.d [/code] Performed following test but failed: # xen-create-image --hostname=xen7.satimis.com --size=2Gb --swap=256Mb --ide --ip=192.168.0.117--netmask=255.255.255.0 --gateway=192.168.0.1 --force --dir=/vserver --memory=32Mb --arch=i386 --kernel=/boot/vmlinuz-2.6.18-xen --debootstrap --dist=dapper --mirror=http://archive.ubuntu.com/ubuntu/ --passwd General Infomation -------------------- Hostname : xen7.satimis.com Distribution : dapper Fileystem Type : ext3 Size Information ---------------- Image size : 2Gb Swap size : 256Mb Image type : sparse Memory size : 32Mb Kernel path : /boot/vmlinuz-2.6.18-xen Networking Information ---------------------- IP Address 1 : 192.168.0.117--netmask=255.255.255.0 Netmask : 255.255.255.0 Gateway : 192.168.0.1 WARNING ------- Loopback module not loaded and you're using loopback images Run the following to load the module: modprobe loop loop_max=255 Creating swap image: /vserver/domains/xen7.satimis.com/swap.img Done Creating disk image: /vserver/domains/xen7.satimis.com/disk.img Done Creating ext3 filesystem on /vserver/domains/xen7.satimis.com/disk.img Done Installing your system with debootstrap mirror http://archive.ubuntu.com/ubuntu/ Done System installation failed. Aborting Logfile produced at: /var/log/xen-tools/xen7.satimis.com.log * end * # tail /var/log/xen-tools/xen7.satimis.com.log Copying files from new installation to host. Copying files from /tmp/GK1IqjXCQ1/var/cache/apt/archives -> /var/cache/apt/archives Done Done The installation of the new system appears to have failed. There is no '/bin/ls' installed in the new installation directory Done System installation failed. Aborting * end * I don't understand what does 'bin/'ls' refer to? Any advice? TIA B.R. Stephen Send instant messages to your online friends http://uk.messenger.yahoo.com -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]