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

Re: [Xen-users] New user question...

>         I am trying to run a simple ttylinux as a domU
>         ( from sf.net/xen )

OK.

>         /etc/xen/ttyconf looks like what the Xen 2.0 documentation
>         suggests
>
>         kernel = "/boot/vmlinuz-2.6.11-1.1369_FC4xenU"
>         memory = 64
>         name = "ttylinux"
>         nics=1ip="1.2.3.4"
>         disk=['file:/tftpboot,sda1,w'] .................#the Xen doc
>         says /path/to/ttylinux/rootfs
>         root="/dev/sda1 ro"
>
>         [root@localhost tftpboot]# xm create ttyconf1 -c vmid=2
>         Using config file "/etc/xen/ttyconf1".
>         Error: Error creating domain: vbd: Segment not found:
>         uname=file:/tftpboot
>
>         i untarred the ttylinux.bz2 in the empty tftpboot directory (not
>         for any particular reason)
>         [root@localhost ~]# ls /tftpboot
>         bin  dev  etc  init  lib  linux-install  loopfs  proc  sbin  sys
>         sysroot  ttylinux

Are you sure the tftpboot directory was empty?  ttylinux.bz2 is not a tar 
file, just a compressed file - all it should have left behind it the file 
"ttylinux".  I don't know where the other directories came from :-)

The file: directive needs to point to the disk file itself, not to a 
directory.  Could you please try:
disk=['file:/tftpboot/ttylinux,sda1,w']

Let us know how you get on!

Cheers,
Mark

>         what is that i need to change ..the domU is from an FC4 Rpm and
>         i have not been able to run from a physical device as root fs
>         either ,the kernel starts booting and stops at freeing unused
>         memory..156K..which from the FAQ i saw was related to initrd
>         could not fix it that way.....so just waiting for help
>
>         Digz
>
>
>
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
> solely for the use of the addressee(s). If you are not the intended
> recipient, please notify the sender by e-mail and delete the original
> message. Further, you are not to copy, disclose, or distribute this e-mail
> or its contents to any other person and any such actions are unlawful. This
> e-mail may contain viruses. Infosys has taken every reasonable precaution
> to minimize this risk, but is not liable for any damage you may sustain as
> a result of any virus in this e-mail. You should carry out your own virus
> checks before opening the e-mail or attachment. Infosys reserves the right
> to monitor and review the content of all messages sent to or from this
> e-mail address. Messages sent to or from this e-mail address may be stored
> on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer
> ********INFOSYS***

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