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] Error occur when boot domU:mount: mounting none on /dev fail

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Error occur when boot domU:mount: mounting none on /dev failed: No such device
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=JKRA0vREh714DoI7ABRLbTg7dUE6CrUaffsGRKXlv5s=; b=DbVn5OXwTgrw1jUS8OAY2bSkriBf7N8b3PvySKsElolCSjlJJsJ6/qhB11ifH34hgn eG3DCi728H9jtZ5OyNKWyqo/F2fX4yrjOU29Oa4Bg+Sovx0tcVTMVMp4HZyC1u2gFbaE rnvrznIHJNJvPCUVppjo6/bc8xGqCuvcDrblw=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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
<Prev in Thread] Current Thread [Next in Thread>