WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] Re: xen-create-image:ALERT! /dev/xvda2 does not exist. Dropp

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: xen-create-image:ALERT! /dev/xvda2 does not exist. Dropping to a shell
From: yunjiedu <350608693@xxxxxx>
Date: Fri, 9 Sep 2011 05:07:41 -0700 (PDT)
Delivery-date: Fri, 09 Sep 2011 05:10:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1315489361935-4782473.post@xxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <tencent_7BEAD61F3DB8A7C31DE675E7@xxxxxx> <1315489361935-4782473.post@xxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
hi,
i try your method and download the vmlinuz and initrd.gz,then do as this:
1)#dd if=/dev/zero of=vmdisk.img bs=1M seek=6000 count=1
2)#mkfs.ext3 vmdisk.img
3)#vim vmdisk.cfg:
/kernel = "vmlinuz"
ramdisk = "initrd.gz"
name = "debian-install"
memory = "1024"
disk = [ 'tap2:aio:/home/xen/tpl/pvm/debian/vmdisk.img,xvda,w', ]
vif = [ 'bridge=xenbr0', ]
vcpus=1
on_reboot = 'destroy'
on_crash = 'destroy'/
3)#xm create -c vmdisk.cfg(then install debian xen domU as usual)
4)#vim vmdisk.cfg:
/name = "squeeze"
memory = "1024"
disk = [ 'tap2:aio:/home/xen/tpl/pvm/debian/vmdisk.img,xvda,w', ]
root = "/dev/xvda ro"
vif = [ 'bridge=eth0', ]
vcpus=1
on_reboot = 'restart'
on_crash = 'destroy'
on_poweroff = "destroy"/
5)#mount -o loop vmdisk.img /mnt
but error happens:
*mount: you must specify the filesystem type*
6)i ignore aforementioned error.and do "xm create -c vmdisk.cfg",but error
also happen:
*Loading, please wait...
mount: mounting /dev/xvda on /root failed: No such file or directory
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.


BusyBox v1.17.1 (Debian 1:1.17.1-8) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs) *


what is the problem?I am looking forward to your help.




--
View this message in context: 
http://xen.1045712.n5.nabble.com/xen-create-image-ALERT-dev-xvda2-does-not-exist-Dropping-to-a-shell-tp4782287p4786096.html
Sent from the Xen - User mailing list archive at Nabble.com.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users