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

[Xen-users] /dev/sda2 does not exist. Dropping to a shell! (Dom0: Ubuntu 10.10, DomU: Ubuntu 10.10)


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Hitesh Khandelwal <hitesh.iitk@xxxxxxxxx>
  • Date: Wed, 9 Mar 2011 19:34:37 -0500
  • Delivery-date: Wed, 09 Mar 2011 16:36:10 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pei13QKWuHrTE91Uv0L6rdHqi4lC1k85PrVzYqsyTJmVVK8gVEZEpS0DrNWe+3mZQk i4qc98z9bCHtHhdy0jxJBFY6SeoNpBHKoDtuSM1QV64XaDs0qEl/9PJ+H9j3EHc9eKyR 5gK4pt6cJumCGWo15qzHiDYuZ1JSRMjWE2t+s=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Running DomU image(Ubuntu 10.10) on Dom0(Ubuntu 10.10) shows the following error:

mount: mounting none on /dev failed: No such device
W: devtmpfs not available, falling back to tmpfs for /dev
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
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!

BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) 


ls /dev, shows no sda module loaded. I tried with xvda as well but it also shows the same error. Here is my configuration file for DomU:

kernel = '/boot/vmlinuz-2.6.32.27'
ramdisk = '/boot/initrd-2.6.32.27.img'
vcpus       = '1'
memory      = '512'
root        = '/dev/sda2 ro'
disk        = [
                  'file:/home/hkhande/xen-image/domains/cloud-vm06/disk.img,sda2,w',
                  'file:/home/hkhande/xen-image/domains/cloud-vm06/swap.img,sda1,w',
              ]
name        = 'cloud-vm06'
vif         = [ 'ip=128.10.130.191,mac=00:16:3E:FC:B1:FD,bridge=eth2' ]
>
on_reboot   = 'restart'
on_crash    = 'restart'
extra = 'xencons=hvc'

Everything works fine with pygrub, but I need to use Dom0 xenified kernel only. I also modified /etc/initramfs-tools/modules in Dom0 to include scsi_mod, sd_mod, blkbk modules, followed by update-initramfs.


Thanks,
Hitesh

Hitesh Khandelwal | Graduate Student | Purdue University | http://www.hiteshkhandelwal.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®.