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] Cannot open root device "sda1" or unknown-block(0, 0) -- RHE

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Cannot open root device "sda1" or unknown-block(0, 0) -- RHEL 5
From: "Steven J. Backus" <backus@xxxxxxxxxxxxx>
Date: Sun, 10 Jun 2007 07:48:16 -0600 (MDT)
Delivery-date: Tue, 12 Jun 2007 09:54:52 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Whenever I try to boot a client I get:

VFS: Cannot open root device "sda1" or unknown-block(0,0)

My disk image looks like this:

drwxr-xr-x  6 root root  4096 Jun  8 14:12 .
drwxr-xr-x 25 root root  4096 Jun  8 14:14 ..
drwxr-xr-x  2 root root  4096 Jun  8 15:31 dev
drwxr-xr-x  2 root root  4096 Jun  8 14:13 etc
drwx------  2 root root 16384 Jun  8 14:01 lost+found
drwxr-xr-x  5 root root  4096 Jun  8 14:02 var

I have an etc/fstab:

/dev/sda1               /                       ext3    defaults 1 1
none                    /dev/pts                devpts  gid=5,mode=620 0 0
none                    /dev/shm                tmpfs   defaults 0 0
none                    /proc                   proc    defaults 0 0
none                    /sys                    sysfs   defaults 0 0

I'm not sure I made the sda1 node correctly:

MAKEDEV -d /mnt/dev -x sda1

xend.log says:

[2007-06-08 15:55:53 xend 2081] DEBUG (blkif:24) exception looking
up device number for sda1: [Errno 2] No such file or directory:
'/dev/sda1'

Can someone tell me how to create /dev/sd1 properly?  Is there any
good documentation anywhere on setting this up?

Thanks,
  Steve

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>