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
LIVEMEDIA-CREATOR(1)					      General Commands Manual					      LIVEMEDIA-CREATOR(1)

NAME
livemedia-creator - Create live install media SYNOPSIS
livemedia-creator [-h] (--make-iso | --make-disk | --make-fsimage | --make-appliance | --make-ami) [--iso ISO] [--disk-image DISK_IMAGE] [--fs-image FS_IMAGE] [--ks KS] [--image-name IMAGE_NAME] [--image-only] [--keep-image] [--no-virt] [--proxy PROXY] [--anaconda-arg ANACONDA_ARGS] [--armplatform ARMPLATFORM] [--location LOCATION] [--logfile LOGFILE] [--lorax-templates LORAX_TEMPLATES] [--tmp TMP] [--resultdir RESULT_DIR] [--app-name APP_NAME] [--app-template APP_TEMPLATE] [--app-file APP_FILE] [--ram MEMORY] [--vcpus VCPUS] [--vnc VNC] [--arch ARCH] [--kernel-args KERNEL_ARGS] [--dracut-arg DRACUT_ARGS] [--title TITLE] [--project PROJECT] [--releasever RELEASEVER] [--volid VOLID] [--squashfs_args SQUASHFS_ARGS] DESCRIPTION
livemedia-creator uses Anaconda, kickstart and Lorax to create bootable media that use the same install path as a normal system install. It can be used to make live isos, bootable (partitioned) disk images and filesystem images for use with virtualization. The general idea is to use virt-install to install into a disk image and then use the disk image to create the bootable media. livemedia-creator --help will describe all of the options available. At the minimum you need: --make-iso to create a final bootable .iso --iso to specify the Anaconda install media to use with virt-install --ks is the kickstart to use to install the system OPTIONAL ARGUMENTS
: -h, --help show this help message and exit --make-iso Build a live iso --make-disk Build a partitioned disk image --make-fsimage Build a filesystem image --make-appliance Build an appliance image and XML description --make-ami Build an ami image --iso ISO Anaconda installation .iso path to use for virt-install --disk-image DISK_IMAGE Path to disk image to use for creating final image --fs-image FS_IMAGE Path to filesystem image to use for creating final image --ks KS Kickstart file defining the install. --image-name IMAGE_NAME Name of fs/disk image to create. Default is a random name. --image-only Exit after creating fs/disk image. --keep-image Keep raw disk image after .iso creation --no-virt Use Anaconda's image install instead of virt-install --proxy PROXY proxy URL to use for the install --anaconda-arg ANACONDA_ARGS Additional argument to pass to anaconda (no-virt mode). Pass once for eachargument --armplatform ARMPLATFORM the platform to use when creating images for ARM, i.e., highbank, mvebu, omap,tegra, etc. --location LOCATION location of iso directory tree with initrd.img and vmlinuz. Used to run virt-install with a newer initrd than the iso. --logfile LOGFILE Path to logfile --lorax-templates LORAX_TEMPLATES Path to mako templates for lorax --tmp TMP Top level temporary directory --resultdir RESULT_DIR Directory to copy the resulting images and iso into. Defaults to the temporaryworking directory --title TITLE Substituted for @TITLE@ in bootloader config files --project PROJECT substituted for @PROJECT@ in bootloader config files --releasever RELEASEVER substituted for @VERSION@ in bootloader config files --volid VOLID volume id --squashfs_args SQUASHFS_ARGS additional squashfs args APPLIANCE ARGUMENTS
: --app-name APP_NAME Name of appliance to pass to template --app-template APP_TEMPLATE Path to template to use for appliance data. --app-file APP_FILE Appliance template results file. VIRT-INSTALL ARGUMENTS: --ram MEMORY Memory to allocate for installer in megabytes. --vcpus VCPUS Passed to --vcpus command --vnc VNC Passed to --graphics command --arch ARCH Passed to --arch command --kernel-args KERNEL_ARGS Additional argument to pass to the installation kernel DRACUT ARGUMENTS
: --dracut-arg DRACUT_ARGS Argument to pass to dracut when rebuilding the initramfs. Pass this once foreach argument. NOTE: this overrides the default. SEE ALSO
Documentation in /usr/share/docs/lorax/README.livemedia-creator AUTHOR
Brian C. Lane 2013-07-26 LIVEMEDIA-CREATOR(1)
All times are GMT -4. The time now is 11:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy