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: Thu, 8 Sep 2011 06:28:27 -0700 (PDT)
Delivery-date: Thu, 08 Sep 2011 06:31:03 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <A68AEC16-3188-4B9C-A4B9-A1C4C71C0EDC@xxxxxxxxxxx>
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> <A68AEC16-3188-4B9C-A4B9-A1C4C71C0EDC@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
yeal,you are right~
1)root@debian:/bootapt-get install linux-image-2.6-xen-686(for i386)
2)root@debian:/boot# ls /boot/
config-2.6.32.40                initrd.img-2.6.32-5-xen-686     
vmlinuz-2.6.32-5-686-bigmem
config-2.6.32.40.old            System.map-2.6.32.40            
vmlinuz-2.6.32-5-xen-686
config-2.6.32-5-686-bigmem      System.map-2.6.32.40.old        xen-4.2.gz
config-2.6.32-5-xen-686         System.map-2.6.32-5-686-bigmem  
xen-4.2-unstable.gz
grub                            System.map-2.6.32-5-xen-686     xen-4.gz
initrd.img-2.6.32.40            vmlinuz-2.6.32.40               xen.gz
initrd.img-2.6.32-5-686-bigmem  vmlinuz-2.6.32.40.old           
xen-syms-4.2-unstable
3)vim /etc/xen/localhost.cfg: 
*kernel      = '/boot/vmlinuz-2.6.32-5-xen-686'
ramdisk     = '/boot/initrd.img-2.6.32-5-xen-686'*

vcpus       = '1'
memory      = '512'

#
#  Disk device(s).
#
root        = '/dev/xvda2 ro'
disk        = [
                  'file:/var/lib/xen/domains/localhost/disk.img,xvda2,w',
                  'file:/var/lib/xen/domains/localhost/swap.img,xvda1,w',
              ]


#
#  Physical volumes
#


#
#  Hostname
#
name        = 'localhost'

#
#  Networking
#
vif         = [ 'ip=192.168.226.242,mac=00:16:3E:AA:9A:30' ]

#
#  Behaviour
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'
4) i can start the domU successfully.that's ok,thank you very very very very
very much~~

--
View this message in context: 
http://xen.1045712.n5.nabble.com/xen-create-image-ALERT-dev-xvda2-does-not-exist-Dropping-to-a-shell-tp4782287p4782409.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