[xen-tools] problem with fedora
Maurizio Marini
maumar at cost.it
Mon Mar 12 14:32:30 CET 2007
my scenario
i have a debian sarge ad guest of xen beta 3.2;
i installed last xen tools and i created with no pain a debian guest; i tried
then fedora with no success, i think taht a small note like that u wrote on
gentoo http://lists.cvsrepository.org/xen-tools/Jun06/0017.html
would be very apreciated.
here in detail step by step what i have done:
cp /etc/xen/xen-tools.conf /etc/xen/xen-tools-fedora.org
modified /etc/xen/xen-tools-fedora.org with infos regarding fedora
then:
xen-create-image \
--hostname=fedora \
--rpmstrap \
--dist=stentz \
--config-file=/etc/xen-tools/xen-tools-fedora.conf \
--dir=/home/xen \
--force
less /var/log/xen-tools/fedora.log
General Infomation
--------------------
Hostname : fedora
Distribution : stentz
Fileystem Type : ext3
Size Information
----------------
Image size : 1Gb
Swap size : 128Mb
Image type : sparse
Memory size : 128Mb
Kernel path : /boot/vmlinuz-2.6.16-2-xen-686
Initrd path : /boot/initrd.img-2.6.16-2-xen-686
Networking Information
----------------------
IP Address : DHCP
Creating swap image: /home/xen/domains/fedora/swap.img
128+0 records in
128+0 records out
134217728 bytes transferred in 0.815311 seconds (164621511 bytes/sec)
Done
Creating disk image: /home/xen/domains/fedora/disk.img
0+0 records in
0+0 records out
0 bytes transferred in 0.000200 seconds (0 bytes/sec)
Done
Creating ext3 filesystem on /home/xen/domains/fedora/disk.img
mke2fs 1.37 (21-Mar-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
131072 inodes, 262144 blocks
13107 blocks (5.00%) reserved for the super user
First data block=0
8 block groups
32768 blocks per group, 32768 fragments per group
16384 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376
Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 38 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
Done
Setting up swapspace version 1, size = 134213 kB
no label, UUID=6b6ff8be-b236-4232-b9d8-88e6cfa8841b
Installing your system with rpmstrap
rpmstrap: warning: target directory /tmp/DgNLoyYhla already exists
warning: group lock does not exist - using root
warning: group mail does not exist - using root
/var/tmp/rpm-tmp.57957: line 2: /dev/null: No such file or directory
/var/tmp/rpm-tmp.57957: line 3: /dev/null: No such file or directory
warning: can't open /etc/fstab: No such file or directory
awk: cmd. line:1: fatal: cannot open file `/etc/fstab' for reading (No such
file or directory)
ls: readlink:: No such file or directory
ls: file: No such file or directory
ls: expected: No such file or directory
awk: cmd. line:1: fatal: cannot open file `/etc/fstab' for reading (No such
file or directory)
awk: cmd. line:1: fatal: cannot open file `/etc/fstab' for reading (No such
file or directory)
awk: cmd. line:1: fatal: cannot open file `/etc/fstab' for reading (No such
file or directory)
Done
Running hooks
Running hook 10-disable-tls
hook 10-disable-tls: done.
Running hook 30-disable-gettys
hook 30-disable-gettys: done.
Running hook 90-make-fstab
hook 90-make-fstab: done.
Done
No role script specified. Skipping
Creating Xen configuration file
The output directory we've been given, /etc/xen, doesnt exist
Aborting
Done
All done
--
CoST s.r.l. http://www.cost.it
e-mail: maumar at cost.it
phone: +390245446299 fax: +39024544633
mobile: 335 8259739
More information about the xen-tools-discuss
mailing list