[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.8

How to place installation iso image to RAM and refer to it at boot time? (remote installation)

Asked by glazok28 in Linux Setup, Red Hat Linux, RPM Installer

Tags: Linux redhat remote installation ram

Hello experts!

I planning unattended installation of Redhat distro on remote server using kickstart file ks.cfg. Server has no cd-rom nor usb devices, and has only one hard disk drive. I use grub to load installation kernel and initrd, grub config file below:
----------------------------------------------------------------------
title                  Unattended Install from hard drive
root (hd0,0)
kernel            /boot/vmlinuz ks=hd:sda1:/boot/ks.cfg
initrd            /boot/initrd.img
boot
----------------------------------------------------------------------

ks.cfg listed below
-------------------------------------------------------------------------
# Auto-Generated Scripted Install Configuration file.

# Installation Method
harddrive --partition=sda1 --dir=/temp

# root Password
rootpw --iscrypted  $*******************************************

# Authconfig
auth --enableshadow --enablemd5

# BootLoader ( The user has to use grub by default )
bootloader --location=mbr

# Timezone
timezone Europe/Madrid

# X windowing System
skipx

# Install or Upgrade
install

# Text Mode
text

# Network install type
network --bootproto static --ip 192.168.xx.yy --netmask 255.255.255.0 --gateway 192.168.xx.yy --nameserver 192.168.xx.yy --hostname remotehost.xyz --addvmportgroup=1 --vlanid=0

# Language
lang en_US

# Langauge Support
langsupport --default en_US

# Keyboard
keyboard us

# Mouse
mouse none

# Reboot after install ?
reboot

# Firewall settings
firewall --disabled

# Clear Partitions
clearpart --all --initlabel --drives=sda

# Partitioning
part /boot --fstype ext3 --size 102 --ondisk sda
part / --fstype ext3 --size 4997 --ondisk sda
part swap --size 544 --ondisk sda
part None --fstype vmfs3 --size 10000 --grow --ondisk sda
part None --fstype vmkcore --size 110 --ondisk sda
part /var/log --fstype ext3 --size 1992 --ondisk sda


%packages
@base
@ everything

%post
-------------------------------------------------------------------------

As seen above,
# Installation Method
harddrive --partition=sda1 --dir=/temp
This refer to inatallation iso (mydistro.iso) file which is currently placed on sda1 in /temp directory.

I tested it on local server which has two hdd, and that work perfectly when mydistro.iso is placed on second hard disk partition e.g.  sdb1. But that not work when installation iso file placed on sda because the first disk consuming to be formatted during installation process.
Because my remote server has only one hdd, i see solution to put mydistro.iso image on ramdisk.  Do you know how to do it in grub config file and then how to refer to ramdisk device in ks.cfg ? Any other working solution also appreciated.
Big Thanks!
 
Related Solutions
Keywords: How to place installation iso image to R…
 
Loading Advertisement...
 
[+][-]11/03/09 04:33 AM, ID: 25728267Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/03/09 05:00 AM, ID: 25728449Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/03/09 05:17 AM, ID: 25728583Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/03/09 05:28 AM, ID: 25728666Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/03/09 06:43 AM, ID: 25729375Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/03/09 07:01 AM, ID: 25729553Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/03/09 08:39 AM, ID: 25730755Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/03/09 09:01 AM, ID: 25731013Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]11/03/09 10:28 AM, ID: 25731884Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]11/03/09 01:57 PM, ID: 25734242Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Linux Setup, Red Hat Linux, RPM Installer
Tags: Linux redhat remote installation ram
Sign Up Now!
Solution Provided By: noci
Participating Experts: 1
Solution Grade: B
 
 
Loading Advertisement...
20091111-EE-VQP-89 - Hierarchy / EE_QW_3_20080625