Hi,
I have installed FC5 with xen kernel. But when I start the installation from
internet it is throwing some error. The error details given below.
[root@xen ~]# uname -a
Linux xen.fc5.sify.net 2.6.16-1.2080_FC5xen0 #1 SMP Tue Mar 28 04:13:51 EST 2006
i686 i686 i386 GNU/Linux
[root@xen log]# xm list
Name ID Mem(MiB) VCPUs State Time(s)
Domain-0 0 489 2 r----- 129.0
Then
# dd if=/dev/zero of=fedora.img bs=1M count=1 seek=5120
#/sbin/mke2fs -F -j fedora.img
# mount -o loop fedora.img /mnt
[root@xen bin]# /usr/sbin/xenguest-install.py
What is the name of your virtual machine? xenguest
How much RAM should be allocated (in megabytes)? 512
What would you like to use as the disk (path)? /mnt/
What is the install location?
http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/
Starting install...
Using config file "/etc/xen/xenguest".
Error: Error creating domain: (22, ''Invalid argument'')
If your install has exited, you can restart your guest by running
''xm create -c xenguest''. Otherwise, you can reconnect to the
console
by running ''xm console xenguest''
[root@xen mnt]# xm create -c xenguest
Using config file "/etc/xen/xenguest".
Traceback (most recent call last):
File "/usr/bin/pygrub", line 256, in ?
cf = get_config(file, isconfig)
File "/usr/bin/pygrub", line 110, in get_config
if is_disk_image(fn):
File "/usr/bin/pygrub", line 78, in is_disk_image
buf = os.read(fd, 512)
OSError: [Errno 21] Is a directory
Error: Boot loader didn''t return any data!
[root@xen mnt]# xm console xenguest
Error: Domain ''xenguest'' not found when running ''xm
console''
Kindly do the needful
Thanks & Regards,
K.K.RamaSanthanam
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
http://lists.xensource.com/xen-users
Did you do an "umount" of "/mnt" before starting the install? sandhaanam@sify.com schrieb:> Hi, > > > > I have installed FC5 with xen kernel. But when I start the > installation from internet it is throwing some error. The error details > given below. > > > > > > [root@xen ~]# uname -a > > Linux xen.fc5.sify.net > 2.6.16-1.2080_FC5xen0 #1 SMP Tue Mar 28 04:13:51 EST 2006 i686 i686 i386 > GNU/Linux > > [root@xen log]# xm list > > Name ID > Mem(MiB) VCPUs State Time(s) > > Domain-0 0 > 489 2 r----- 129.0 > > > > Then > > # dd if=/dev/zero of=fedora.img bs=1M > count=1 seek=5120 > > #/sbin/mke2fs -F -j fedora.img > > # mount -o loop > fedora.img /mnt > > > > > > [root@xen bin]# /usr/sbin/xenguest-install.py > > > What is the name of your virtual machine? > xenguest > > How much RAM should be allocated (in megabytes)? 512 > > What > would you like to use as the disk (path)? /mnt/ > > What is the install > location? > > > http://download.fedora.redhat.com/pub/fedora/linux/core/development/i3 > 86/ > > > > > > Starting install... > > Using config file > "/etc/xen/xenguest". > > Error: Error creating domain: (22, ''Invalid > argument'') > > If your install has exited, you can restart your guest by > running > > ''xm create -c xenguest''. Otherwise, you can reconnect to the > console > > by running ''xm console xenguest'' > > > > [root@xen mnt]# xm create > -c xenguest > > Using config file "/etc/xen/xenguest". > > Traceback (most > recent call last): > > File "/usr/bin/pygrub", line 256, in ? > > cf > get_config(file, isconfig) > > File "/usr/bin/pygrub", line 110, in > get_config > > if is_disk_image(fn): > > File "/usr/bin/pygrub", line > 78, in is_disk_image > > buf = os.read(fd, 512) > > OSError: [Errno 21] Is > a directory > > Error: Boot loader didn''t return any data! > > > > > > [root@xen > mnt]# xm console xenguest > > > Error: Domain ''xenguest'' not found when running ''xm console'' > > > > Kindly > do the needful > > > > > > Thanks & Regards, > > > > K.K.RamaSanthanam > > > <http://ads.sify.com/RealMedia/ads/click_nx.ads/mail.sify.com/sentmail@Bottom> > > > Watch India vs. England LIVE, Hot videos and more only on Sify Max! > Click Here < http://www.sifymax.com> > > Get to see what''s happening in your favourite City on Bangalore Live! > <http://www.bangalorelive.in> > > > ------------------------------------------------------------------------ > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi,> [...] > # dd if=/dev/zero of=fedora.img bs=1M count=1 seek=5120 > > #/sbin/mke2fs -F -j fedora.img > > # mount -o loop fedora.img /mnt > [...]You don''t need to create and mount that file manually. You can just point the installer script to the full path of fedora.img - it will be created there if it doesn''t exist. Basically, you only need to do what is described in the fedora wiki about creating xen domU''s on Fedora5. BTW: for more detailed questions about this fedora-specific script you might get better answers on the fedora-xen mailing list. Henning _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Hi, I have unmounted the /mnt before start the installation. Thanks & regards, K.K.RamaSanthanam _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users