Sponsored Content
Operating Systems Linux Fedora Xvm Xen doesn't find installation files Post 302385276 by PatrickBaer on Thursday 7th of January 2010 04:30:27 PM
Old 01-07-2010
I know it's not really dummy-level, but it was the forum with the most viewers and the least specific Smilie It seems it's not limited to Solaris

Well, the command line was:

Code:
virt-install --name PDC --ram 1024 --location /root/windowsserver.iso --file /dev/zvol/dsk/container1/PDC --file-size 49 --vnc --os-type=windows

and

Code:
virt-install --name PDC --ram 1024 --location /dev/dsk/c8t0d0s2 --file /dev/zvol/dsk/container1/PDC --file-size 49 --vnc --os-type=windows

The virt-install.log says:

Code:
[Thu, 07 Jan 2010 09:18:49 virt-install 1142] DEBUG (Guest:88) Path is block file: Assuming Block disk type.
[Thu, 07 Jan 2010 09:18:49 virt-install 1142] DEBUG (DistroManager:140) DistroInstaller location is a local file/path: /root/windowsserver.iso
[Thu, 07 Jan 2010 09:18:49 virt-install 1142] DEBUG (ImageFetcher:178) Preparing mount at /var/tmp/virtinstmnt.TI-MxD
[Thu, 07 Jan 2010 09:18:49 virt-install 1142] DEBUG (DistroManager:66) Attempting to detect distro:
[Thu, 07 Jan 2010 09:18:49 virt-install 1142] DEBUG (ImageFetcher:163) local hasFile: Couldn't find /var/tmp/virtinstmnt.TI-MxD/.treeinfo
[Thu, 07 Jan 2010 09:18:49 virt-install 1142] DEBUG (ImageFetcher:163) local hasFile: Couldn't find /var/tmp/virtinstmnt.TI-MxD/Fedora
[Thu, 07 Jan 2010 09:18:49 virt-install 1142] DEBUG (ImageFetcher:163) local hasFile: Couldn't find /var/tmp/virtinstmnt.TI-MxD/.treeinfo
[Thu, 07 Jan 2010 09:18:49 virt-install 1142] DEBUG (ImageFetcher:163) local hasFile: Couldn't find /var/tmp/virtinstmnt.TI-MxD/Server
[Thu, 07 Jan 2010 09:18:49 virt-install 1142] DEBUG (ImageFetcher:163) local hasFile: Couldn't find /var/tmp/virtinstmnt.TI-MxD/Client
[Thu, 07 Jan 2010 09:18:49 virt-install 1142] DEBUG (ImageFetcher:163) local hasFile: Couldn't find /var/tmp/virtinstmnt.TI-MxD/RedHat
[Thu, 07 Jan 2010 09:18:49 virt-install 1142] DEBUG (ImageFetcher:163) local hasFile: Couldn't find /var/tmp/virtinstmnt.TI-MxD/.treeinfo
[Thu, 07 Jan 2010 09:18:49 virt-install 1142] DEBUG (ImageFetcher:163) local hasFile: Couldn't find /var/tmp/virtinstmnt.TI-MxD/CentOS
[Thu, 07 Jan 2010 09:18:49 virt-install 1142] DEBUG (ImageFetcher:163) local hasFile: Couldn't find /var/tmp/virtinstmnt.TI-MxD/boot/platform/i86xpv/kernel/unix
[Thu, 07 Jan 2010 09:18:49 virt-install 1142] DEBUG (ImageFetcher:163) local hasFile: Couldn't find /var/tmp/virtinstmnt.TI-MxD/platform/i86pc/boot_archive
[Thu, 07 Jan 2010 09:18:49 virt-install 1142] DEBUG (ImageFetcher:163) local hasFile: Couldn't find /var/tmp/virtinstmnt.TI-MxD/boot/x86.microroot
[Thu, 07 Jan 2010 09:18:49 virt-install 1142] DEBUG (ImageFetcher:200) Cleaning up mount at /var/tmp/virtinstmnt.TI-MxD
[Thu, 07 Jan 2010 09:18:49 virt-install 1142] ERROR (virt-install:517) Could not find an installable distribution at '/root/windowsserver.iso'

The problem seems obvious, but how could I force it to look for the windows files?
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to find size of each subdirect? du -sk | ls doesn't work

Using solaris 2.5.1, and how can I get a summary of the size of each subdirectory, say for /export/home, all the users? usually I do a du -sk dirname but I have to manually type in each name, is there a better way? Thanks, (3 Replies)
Discussion started by: kymberm
3 Replies

2. Shell Programming and Scripting

perl - how do i find out if a file doesn't contain a pattern?

how do i check a file for a pattern and perform an action if it doesn't exist? i know how to search a file for a pattern. you just place it in an array like so. #!/usr/bin/perl my $data_file = "file.txt"; open DATA, "$data_file"; my @array_of_data = <DATA>; if ($_ =~ m/pattern/i) {... (4 Replies)
Discussion started by: mjays
4 Replies

3. Programming

find() doesn't find '|' for some reason

Here's some sample output and my code follows it. Why can't find() find '|'. It just dosn't make a bit of sense at all. AL01463|Pell City|Saint Clair|B|02115|AL|35125|630|Birmingham (Ann and Tusc)|13890|40|Charter Communications|Fairfield|Charter Communications|2 -1... (1 Reply)
Discussion started by: sepoto
1 Replies

4. UNIX for Dummies Questions & Answers

Installation of Xen hypervisor

I want the steps to install Xen hypervisor (with Domain 0) on linux kernel 2.6.38.8 on ubuntu.Actually there are many links for the steps but each link shows differenet commands.So I want a precise note containing the steps for installation of Xen:wall: (0 Replies)
Discussion started by: pratibha
0 Replies

5. Red Hat

Xen Server Installation on CentOS6...?

Hello Folks, Anyone know about the support possibilities of Xenserver(open source) on CentOS6..? As I Googled and read alot of forums, but no luck. I have tried the followings. OS: CentOS6 Kernel: 2.6.32-71.29.1.el6.x86_64 Arch: x86_64 When tried to install XenServer from source. Xen4.0 -... (1 Reply)
Discussion started by: chandranjoy
1 Replies

6. OS X (Apple)

OS X 'find' nogroup/nouser doesn't traverse directories?

flamingo:~ joliver$ sudo find / -nogroup find: /dev/fd/4: No such file or directory find: /home: No such file or directory find: /Library: No such file or directory find: /net: No such file or directory find: /Network: No such file or directory find: /private: No such file or directory find:... (2 Replies)
Discussion started by: jnojr
2 Replies

7. Shell Programming and Scripting

Why regex pattern doesn't work in find?

$ find /opt/data_* -maxdepth 3 -type d -name "main*" 2> /dev/null /opt/data_025/maindblogs /opt/data_026/maindblogs /opt/data_027/maindblogs /opt/data_028/maindblogs $ find /opt/data_* -maxdepth 3 -type d -name "rvlogs*" 2> /dev/null /opt/data_002/prod/rvlogs2_archive... (4 Replies)
Discussion started by: urello
4 Replies

8. UNIX for Beginners Questions & Answers

Grep doesn't find what it should

Dear all, I wanted to use grep to search some files containing code - and the result was very disappointing: although I could see with my own eyes the expressions (written in the files), grep didn't give any output. Basically, I write this to the terminal grep "Find" *.txtor grep Find... (2 Replies)
Discussion started by: radudownload
2 Replies

9. Homework & Coursework Questions

Java doesnīt find the CLASSPATH (System variable)

1. The problem statement, all variables and given/known data: As a excercise I have to compile a program (Hello2.java) with a class file (HelloText.java) in another directory. (As you seen in the screenshot) Iīm setting a PATH and a CLASSPATH (system variables). Itīs working without a... (2 Replies)
Discussion started by: MenschTown
2 Replies
virt-clone(1M)						  System Administration Commands					    virt-clone(1M)

NAME
virt-clone - clone virtual machine images SYNOPSIS
/usr/bin/virt-clone [option] DESCRIPTION
The virt-clone utility is a command line tool for cloning existing virtual machine images. virt-clone copies disk images of an existing virtual machine and defines a new guest with an identical virtual hardware configuration. Elements that require uniqueness are updated to avoid a clash between old and new guests. With appropriate command-line arguments, virt-clone can run completely unattended, with the guest automatically starting itself as well. This allows for easy automation of guest installs. If you do not specify options to virt-clone, the command runs interactively, prompting for input as required. To run virt-clone, you must become superuser or assume the Primary Administrator role. OPTIONS
The following options are supported: --connect=URI Connect to the hypervisor at URI. -d, --debug Display debugging information when running the install process. -f disk_image, --file=disk_image Path to the file, disk partition, or logical volume to use as the backing store for the guest's virtual disk. If the original guest has multiple disks, this parameter must be repeated multiple times, once per disk in the original virtual machine. -h, --help Display the help message and exit. -m mac_addr, --mac=mac_addr Fixed MAC address for the guest. If the keyword random is specified, a random address will be used. -n name, --name=name Name of the new guest virtual machine instance. This must be unique among all guests known to the hypervisor on this machine, including those not currently active. To redefine an existing guest, use the virsh(1M) tool to shut it down and delete it prior to running virt- clone. This parameter will be prompted for if omitted on the command line. -o original_guest, -original=original_guest Name or UUID for the original guest to be cloned. This guest must be shut down since it is not possible to safely clone active guests. -u UUID, -uuid=UUID UUID for the guest; if none is specified, a random UUID is generated. If you specify UUID, use a 32-digit hexadecimal number. Keep in mind that UUIDs are intended to be unique across the entire data center, and indeed, the world. EXAMPLES
Example 1 Cloning a Guest with a Single Disk The following command clones a guest named demo, which has a single disk to copy. # virt-clone --original demo --name newdemo --file /var/lib/xen/images/newdemo.img Example 2 Cloning a Guest with Multiple Disks The following command clones a guest named demo, with has multiple disks to copy. # virt-clone --original demo --name newdemo --file /var/lib/xen/images/newdemo.img --file /var/lib/xen/images/newdata.img Example 3 Cloning to a Device with Comparable Disk Space The following command clones a guest to a physical device that has at least as much disk space as had the original guest. . If the destina- tion device is has more space, the new guest can do a file system resize when it boots. # virt-clone --name demo --file /dev/HostVG/DemoVM --mac 00:16:3e:34:11:54 ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWxvmu | +-----------------------------+-----------------------------+ |Interface Stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
virsh(1M), virt-install(1M), xm(1M), xVM(5), attributes(5), xVM(5) SunOS 5.11 23 Jun 2008 virt-clone(1M)
All times are GMT -4. The time now is 01:58 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy