[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] question regarding booting custom guest kernel
Hello,
I am having trouble with creating a guest domain with a modified kernel. I used the xen-create-image command with following arguments:
xen-create-image --boot --force --install=1 --keep --arch=x86_64 --dhcp --passwd \ --kernel=/boot/vmlinuz-3.11.0-guest --initrd=/boot/initrd-3.11.0-guest \ --modules=/lib/modules/3.11.0-guest --size=20G --swap=512M --memory=128M \
--hostname=ubuntu-3.11.0-guest1 However, it fails and here is the partial log: <snip> Done Installation method: debootstrap
Using /usr/sbin/debootstrap as debootstrap command Copying files from host to image. Copying files from /var/cache/apt/archives/ -> /tmp/UxsUPuN66R/var/cache/apt/archives
Done Done I: Retrieving Release I: Retrieving Release.gpg I: Checking Release signature I: Valid Release signature (key id 630239CC130E1A7FD81A27B140976EAF437D05B5)
E: Invalid Release file, no entry for main/binary-x86_64/Packages WARNING (/usr/bin/xt-install-image): The installed system at /tmp/UxsUPuN66R doesn't seem to be a full system. WARNING (/usr/bin/xt-install-image): The installed system is missing the common file: /bin/ls.
WARNING (/usr/bin/xt-install-image): The installed system at /tmp/UxsUPuN66R doesn't seem to be a full system. WARNING (/usr/bin/xt-install-image): The installed system is missing the common file: /bin/cp.
Copying files from new installation to host. Copying files from /tmp/UxsUPuN66R/var/cache/apt/archives -> /var/cache/apt/archives/ Done Done Done System installation failed. Aborting
umount: /tmp/UxsUPuN66R/proc: not found Running command 'umount /tmp/UxsUPuN66R/proc 2>&1' failed with exit code 256. Aborting </snip> I also tried to download a precise image from mirror and then use the modified kernel and ramdisk image from above. In this case, I see the following error while trying to do: # xl create /etc/xen/precise.cfg
[56369.665439] init: Failed to spawn network-interface (vif1.0) pre-start process: unable to change root directory: No such file or directory [56369.677040] init: Failed to spawn network-interface-security (network-interface/vif1.0) pre-start process: unable to change root directory: No such file or directory
[56369.683333] init: Failed to spawn network-interface (vif1.0) post-stop process: unable to change root directory: No such file or directory [56369.696917] IPv6: ADDRCONF(NETDEV_UP): vif1.0: link is not ready
[56369.822639] device vif1.0 entered promiscuous mode [56369.826883] IPv6: ADDRCONF(NETDEV_UP): vif1.0: link is not ready [56369.973214] xenbr0: port 3(vif1.0) entered disabled state [56369.973420] device vif1.0 left promiscuous mode
[56369.973424] xenbr0: port 3(vif1.0) entered disabled state Can someone point out where the problem is? Thanks a lot Aastha Mehta _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |