[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Re: xen-create-image:ALERT! /dev/xvda2 does not exist. Dropping to a shell



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.