what are the error messages?<br><br><div class="gmail_quote">On Sat, May 29, 2010 at 12:30 AM, Ghazal Salehi <span dir="ltr"><<a href="mailto:ghazal.salehi@gmail.com">ghazal.salehi@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi All<br>
<br>
I have deployment problem with my VMs.<br>
I have tried two images ttylinux and centos.<br>
I think there is something wrong with defining disks.<br>
<br>
This is the output of file ../ttylinux.img :<br>
<br>
/srv/ttylinux.img: x86 boot sector, LInux i386 boot LOader; partition<br>
1: ID=0x83, starthead 1, startsector 63, 81585 sectors, extended<br>
partition table (last)\011<br>
<br>
---------------------------------------------------------<br>
output of file ../centos.img :<br>
---------------------------------------------------------<br>
<br>
/srv/cloud/one/1Gimage/euca-centos-5.3-x86_64/centos.orig.5-3.x86-64.img:<br>
Linux rev 1.0 ext3 filesystem data (large files)<br>
<br>
-------------------------------------------------<br>
VM Description file:<br>
-------------------------------------------------<br>
NAME = centos<br>
CPU = 0.1<br>
MEMORY = 64<br>
<br>
OS = [<br>
kernel="/srv/cloud/one/1Gimage/euca-centos-5.3-x86_64/xen-kernel/vmlinuz-2.6.27.21-0.1-xen"<br>
#initd = "/srv/cloud/one/1Gimage/euca-centos-5.3-x86_64/xen-#kernel/initrd-2.6.27.21-0.1-xen"<br>
, root = "sda1"<br>
]<br>
<br>
DISK = [<br>
source = "/srv/cloud/one/1Gimage/euca-centos-5.3-x86_64/centos.orig.5-3.x86-64.img",<br>
target = "sda1",<br>
readonly = "no" ]<br>
<br>
#DISK = [ type = mnt,<br>
# size = 2048,<br>
# taget = sd2]<br>
<br>
DISK = [ type = swap,<br>
size = 2048,<br>
target = sd3<br>
]<br>
<br>
NIC = [ NETWORK = "net201" ]<br>
<br>
FEATURES=[ acpi="no" ]<br>
<br>
--------------------------------------------------<br>
fstab file from centos image<br>
---------------------------------------------------<br>
/dev/sda1 / ext3 defaults,errors=remount-ro 0 0<br>
/dev/sda2 /mnt ext3 defaults 0 0<br>
/dev/sda3 swap swap defaults 0 0<br>
devpts /dev/pts devpts gid=5,mode=620 0 0<br>
proc /proc proc defaults 0 0<br>
<br>
--------------------------------------------------<br>
fstab file from tylinux image<br>
---------------------------------------------------<br>
/dev/hda1 / ext2 defaults 0 0<br>
tmpfs /dev tmpfs noauto 0 0<br>
devpts /dev/pts devpts gid=5,mode=0620 0 0<br>
tmpfs /dev/shm tmpfs rw,noexec,nosuid,size=24k 0 0<br>
proc /proc proc noauto 0 0<br>
sysfs /sys sysfs noauto 0 0<br>
<br>
<br>
I have gained the fstab files by mounting the images in a temporary<br>
folder and then umount it again.<br>
I don't know how to define mnt partition of centos image in<br>
description file which is sd2 in fstab file.<br>
<br>
Thank you in advance for your help.<br>
<br>
Regards<br>
Ghazal<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Mehdi<br>