Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: Virtualizace XEN  (Přečteno 3323 krát)

djdve

  • Návštěvník
  • Příspěvků: 25
Virtualizace XEN
« kdy: 04 Října 2009, 20:23:46 »
Ahoj, chci se zeptat, v čem dělám chybu. Vůbec nevím co sním. Díky moc

Toto mi píše log: (vps1.local.log)
Kód: [Vybrat]
General Information
--------------------
Hostname       :  vps.local
Distribution   :  gutsy
Partitions     :  swap            256Mb (swap)
                  /               2Gb   (ext3)
Image type     :  sparse
Memory size    :  128Mb
Kernel path    :  /boot/vmlinuz-2.6.27-7-xen
Initrd path    :  /boot/initrd.img-2.6.27-7-xen

Networking Information
----------------------
IP Address 1   : 10.0.0.6 [MAC: 00:16:3E:F6:8D:E8]
Netmask        : 255.255.255.0
Broadcast      : 10.0.0.138
Gateway        : 10.0.0.138

Creating partition image: /home/xen/domains/vps.local/swap.img
0+0 records in
0+0 records out
0 bytes (0 B) copied, 9.906e-05 s, 0.0 kB/s
Done

Creating swap on /home/xen/domains/vps.local/swap.img
Setting up swapspace version 1, size = 262140 KiB
no label, UUID=4bdfccb5-d01a-4ee1-b3a5-e8621910425d
Done

Creating partition image: /home/xen/domains/vps.local/disk.img
0+0 records in
0+0 records out
0 bytes (0 B) copied, 0.000117202 s, 0.0 kB/s
Done

Creating ext3 filesystem on /home/xen/domains/vps.local/disk.img
mke2fs 1.41.3 (12-Oct-2008)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
131072 inodes, 524288 blocks
26214 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=536870912
16 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Writing inode tables: done                           
Creating journal (16384 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 31 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
Done
Installation method: debootstrap
Falling back to default debootstrap command

Copying files from host to image.
Copying files from /var/cache/apt/archives -> /tmp/tDkJHDC4A7/var/cache/apt/archives
Done
Done
I: Retrieving Release
E: Failed getting release file http://de.archive.ubuntu.com/ubuntu/dists/gutsy/Release

Copying files from new installation to host.
Copying files from /tmp/tDkJHDC4A7/var/cache/apt/archives -> /var/cache/apt/archives
Done
Done
The installation of the new system has failed.

The system is missing the common file: /bin/ls
Done
System installation failed.  Aborting


A toto při instalaci:

Kód: [Vybrat]
root@server:~# xen-create-image --hostname=vps.local --size=2Gb --swap=256Mb --ide --ip=10.0.0.6 --netmask=255.255.255.0 --gateway=10.0.0.138 --force --dir=/home/xen --memory=128Mb --arch=i386 --kernel=/boot/vmlinuz-2.6.27-7-xen --initrd=/boot/initrd.img-2.6.27-7-xen --debootstrap --dist=gutsy --mirror=http://de.archive.ubuntu.com/ubuntu/ --passwd
Unknown option: debootstrap

General Information
--------------------
Hostname       :  vps.local
Distribution   :  gutsy
Partitions     :  swap            256Mb (swap)
                  /               2Gb   (ext3)
Image type     :  sparse
Memory size    :  128Mb
Kernel path    :  /boot/vmlinuz-2.6.27-7-xen
Initrd path    :  /boot/initrd.img-2.6.27-7-xen

Networking Information
----------------------
IP Address 1   : 10.0.0.6 [MAC: 00:16:3E:F6:8D:E8]
Netmask        : 255.255.255.0
Broadcast      : 10.0.0.138
Gateway        : 10.0.0.138


Creating partition image: /home/xen/domains/vps.local/swap.img
Done

Creating swap on /home/xen/domains/vps.local/swap.img
Done

Creating partition image: /home/xen/domains/vps.local/disk.img
Done

Creating ext3 filesystem on /home/xen/domains/vps.local/disk.img
Done
Installation method: debootstrap
Done
System installation failed.  Aborting


Logfile produced at:
/var/log/xen-tools/vps.local.log
Please select one and only one of the installation methods:
 --dir
 --evms
 --lvm

Díky moc za radu :)

1x23

  • Aktivní člen
  • *
  • Příspěvků: 449
Re:Virtualizace XEN
« Odpověď #1 kdy: 07 Ledna 2012, 12:40:23 »
chybi tam slozka kde se narve virtualka --dir=/home/neco/
NTB: Lenovo P50. OS - Ubuntu 18.04

Linux registred user: 499415

1x23

  • Aktivní člen
  • *
  • Příspěvků: 449
Re:Virtualizace XEN
« Odpověď #2 kdy: 07 Ledna 2012, 12:44:52 »
ahoj, chtel bych se zeptat, je nejaky figl jak stopnout virtual po prekroceni urciteho poctu operaci?
NTB: Lenovo P50. OS - Ubuntu 18.04

Linux registred user: 499415

 

Provoz zaštiťuje spolek OpenAlt.