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

[Xen-users] Error occur when boot domU:mount: mounting none on /dev failed: No such device


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Sean Shoufu Luo <luoshoufu@xxxxxxxxx>
  • Date: Fri, 30 Jul 2010 12:17:03 +0800
  • Delivery-date: Thu, 29 Jul 2010 21:18:33 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=TDRfqZKvIKj76BaZyzMt9mn930NJg4hIVWTexz3t2GKpuqrwKjyyKbsfvfzFNch2EY 3AKEc0Ltskq5RQQAeS8HBIHMolsspGhjmMDI0YUpLalefQ/Vb7koCl2RVtAfDvcidSH8 97GczN4d6b6UX0HXT+P9fUOW5pGJbHPeq+lv8=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

I installed xen 4.0 on Ubuntu 10.04 (Lucid), and success to boot with xen-4.0.gz and 2.6.31.13 kernel.
As documents said, the 2.6.31.13 kernel can be used as dom0, as well as domU, so I tried to use it to crate my first domU.

first I use debootstrap to create my basic file system for the domU, and then write the configure file as follow
1 kernel="/boot/vmlinuz-2.6.31.13"
  2 ramdisk="/boot/initrd.img-2.6.31.13"
  3 name="myvm"
  4 memory=256
  5 #bootloader="/usr/bin/pygrub"
  6 #boot="c"
  7 #dhcp="dhcp"
  8 disk=['file:/home/sluo/xen/vm/myvm.img,hda1,w','file:/home/sluo/xen/vm/myvm.    swap,hda2,w']
  9 vif=['']
 10 #root="/dev/sda2 ro"
 11 root="UUID=37b781b3-0373-4f04-9230-42708e24c9aa ro"
 12 rootdelay=120
 13 extra="earlyprintk=xen nomodeset initcall_debug debug loglevel=10"

After this, i run '#xm create myvm.cfg' and succeed to get vm created, then run 'xm console myvm'
The domU goes started, but when loading kernel, it stopped the error, and goes to initramfs prompt:
Loading, please wait...
mount: mounting none on /dev failed: No such device


BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu11) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)

Sometimes, it will give another error message saying "Give up waiting for root device", just as following:

Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/sda2 does not exist. Dropping to a shell!

I search a lot by google, but seems no result to resolve my problem completely ..........


Anyone have idea about this? Attached is information of my system ... Any other information needed, please tell me!

Thanks,
Sean

Attachment: RESULTS.txt
Description: Text document

_______________________________________________
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®.