10-23-2009
RHEL Kickstart
Hi,
I am trying to install RHEL5.3 using kickstart method. Copied the rhel.iso file from DVD to http location. ks.cfg and rhel.iso files are available on a WINDOWS2008 Server (via HTTP). In ks.cfg file, provided the media path as url --url=http://xx.xx.xx.xx/RHEL53. System understanding the ks.cfg file but while installing the OS I am getting an error something like "dvd+rw-tools-7.0-1.el5.rpm is missing or media corrupted."
Tried expanding(unzipping) the rhel.iso file at same http location on WINDOWS2008 Server but still I am getting the same kind of error msg.
Tested the media (DVD/CD) by changing the ks.cfg file media path as cdrom and the installation is working fine.
How to get the right media on windows2008? Is there any method to copy the RHEL DVD files to a windows server? Is it OK to use the windows machine for the Linux media repository for kickstart installations?
Thanks in advance.
10 More Discussions You Might Find Interesting
1. Red Hat
Hey all,
I'm not sure if this possible but I had tested it out manually during the installation (placed a sleep in the pre-installation) and it worked. I'm trying to have a pexpect script to log into the mysql and input a new row for the pre-installation, which will end up displaying on a web... (1 Reply)
Discussion started by: karljbaker
1 Replies
2. Red Hat
Hi,
I heard a command that can collect all RHEL 5 log in a single compress file before I forget.
Does any body know...What the command is ?
Thanks. (4 Replies)
Discussion started by: nnnnnnine
4 Replies
3. Red Hat
Hi guys
I have CentOS installed on my server. I have also installed TFTP server, DHCP server. I am able to install CentOS on remote machines using PXE boot and kickstart cfg file.
I would like to install OpenSUSE using CentOS kickstart file. How do I do it ? I am also fine with any other... (2 Replies)
Discussion started by: msohail
2 Replies
4. Red Hat
RHEL 5.4
I'm trying to use %include statements in my kickstarts, and am running into some problems.
In %pre, I can %include /mnt/source/isolinux/setup-questions and that works just fine. One of the things it does is echo out several variables to /tmp/vars In %post --nochroot, I copy... (2 Replies)
Discussion started by: jnojr
2 Replies
5. Red Hat
Hi all,
Im studying rhcsa as of now, so yum installation and dependencies are messing me to not workit out.
i have dual os, win 7 & rhel 6.
i have tried this installation of vsftpd package with rhel 6 dvd in VM rhel 6 in win 7 as well as host rhel 6.still the same issue.
below error... (6 Replies)
Discussion started by: redhatlbug
6 Replies
6. Fedora
Can anyone tell me how you create a kickstart file for RHEL 6.1 install? I am new to this and wanting to learn Red Hat. I have a training guide that says to create one but it does not give you instructions on how to do so. (3 Replies)
Discussion started by: Saplmb
3 Replies
7. Red Hat
Hello all, I am having a bit of an issue on my Spacewalk installation. Some amplifying information is that it is Spacewalk 2.3 installed on a RHEL 6 machine and I am attempting to install/update a RHEL 5 channel/repository. I am fairly new to Spacewalk so I am still learning but this is what I... (3 Replies)
Discussion started by: jstone4646
3 Replies
8. UNIX for Dummies Questions & Answers
I know this question might have been asked a lot but couldn't find anything that worked. From a windows machine 'A' I can only SSH into Linux server 'B' from where I can SSH into another Linux server 'C'. I need to be able to run GUI interfaces on server C which run on my Windows machine. I... (3 Replies)
Discussion started by: hr.prasan
3 Replies
9. Red Hat
Hi
We have RHEL 6.7 on an HP physical server and want to install RHEL 7 (not upgrade) on top of it by means of virtualization. Is it possible to install/configure RHEV/KVM virtualization on base RHEL 6.7 OS instance and then install RHEL 7 as a VM guest on it? If yes, could you please guide me... (1 Reply)
Discussion started by: magnus29
1 Replies
10. Red Hat
Hi everyone,
I have a custom kickstart file from a software vendor and I'm trying to package that with a RHEL 6.5 and then attach it to a VM and install RHEL with the settings in the kickstarter file. I'm doing this from a windows PC using an app called InfraRecorder.
I've extracted the... (0 Replies)
Discussion started by: 911Eric
0 Replies
LEARN ABOUT CENTOS
livemedia-creator
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)