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] ramdisk option in domU config file does not work

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] ramdisk option in domU config file does not work
From: Li Ge <lge@xxxxxxxxxx>
Date: Wed, 20 Jul 2005 17:43:25 -0500
Delivery-date: Wed, 20 Jul 2005 22:42:11 +0000
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/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

Hi,
I added ramdisk option in domU config file to let it load initrd when domU is booting up. I got the follow error message:

# xm create /root/vm1.cfg -c
Using config file "/root/vm1.cfg".
Error: Error creating domain: (0, 'Error')

When I commented the ramdisk option out, the problem went away and I could start domU without a problem. Here is the domU config file I used:

# Kernel image file.
kernel = "/boot/vmlinuz-2.6-xenU"

# Optional ramdisk.
#ramdisk = "/boot/initrd-2.6.12-xenU-reiserFS"
ramdisk = "/boot/initrd-2.6.12-xenU"

# Initial memory allocation (in megabytes) for the new domain.
memory = 128

# A name for your domain. All domains must have different names.
name = "vm1"

disk = [ 'phy:sda7,hda1,w' ]

# Set if you want dhcp to allocate the IP address.
#dhcp="dhcp"
# Set netmask.
#netmask=
# Set default gateway.
#gateway=
# Set the hostname.
#hostname= "vm%d" % vmid

# Set root device.
root = "/dev/hda1 ro"

# Sets runlevel 4.
extra = "4"

Could it be something I've missed? The xen version is the xen-unstable tree with latest changeset 5814.

Thanks,
Li

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