[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

want to build automated install cds



Hello,
 
I want to be able to "automate" a fc4 install but without pxe and kickstart. If I understand correctly, I should be able to make the boot cd with my ks.cfg at the root level of the cd and when I boot off the cd it should just "go" (asking for the rest of the cds as it progresses).
 
My first attempt at creating the bootdisk with the ks.cfg did not work. Here is what I did:
 
1. put the fc4 disk 1 in my linux box
 
2. cp -r <path-to-cd>/isolinux/ <path-to-workspace>
 
3. cd <path-to-workspace>
 
4. chmod u+w isolinux/*
 
5. cp ks.cfg to <path-to-workspace>/isolinux/
 
6. sudo mkisofs -o file.iso -b isolinux.bin boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -R -J -v -T isolinux/
 
7. burn the iso to a cd
 
8. boot my target computer from that boot cd
 
The target computer boots off the cd but does not seem to read the ks.cfg file as it asks me all the regular install questions instead of getting the answers from the ks.cfg file.
 
Is this the correct procedure?
 
thanks for your help.
cj
 
Here is my ks.cfg file:
 
#Generated by Kickstart Configurator
 
# Generic server, generally a Dell 2850 with HW RAID-5 setup
# using 6 disks (5 RAID + 1 hot spare). Total storage is around 700Gb.
# using 144Gb SCSI drives.
 
#System  language
lang en_US
#Language modules to install
langsupport --default=en_US
#System keyboard
keyboard us
#System mouse
# For SunV20z's use text mode install instead of X based installed
# due to graphics card not probable under FC4. 12/05
text
#
mouse generic3ps/2
#Sytem timezone
timezone --utc GMT
#Root password
rootpw --iscrypted blahblahablah
#Reboot after installation
reboot
#Install Red Hat Linux instead of upgrade, use first cdrom on system
install
cdrom
#Use NFS installation Media
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#
#
#Partition clearing information
clearpart --all --initlabel
#
#Disk partitioning information
# autopart
#
# first disk
part /boot --fstype ext3 --size 512 --asprimary --ondisk sda
part swap --recommended --ondisk sda
part / --fstype ext3 --size 8192 --ondisk sda
part /var --fstype ext3 --size 8192 --ondisk sda
part /extraspace --fstype ext3 --size 1 --grow --ondisk sda
# 2nd disk
part swap --size 4096 --ondisk sdb
part /localdata --fstype ext3 --size 1 --grow --ondisk sdb
#
# See %pre for definitions and calculations depending upon disks size
# and disk count
#
#%include /tmp/partition-include
#
#System authorization infomation
auth  --useshadow  --enablemd5
#Network information
network --bootproto=static --ip=192.168.1.10 --hostname=homer --netmask=255.255.255.0 --gateway=192.168.1.1 --nodns --device=eth0
#
# 2nd interface
network --bootproto=static --ip=192.168.2.20 --netmask=255.255.255.0 --device=eth1
#Firewall configuration
firewall --disabled
#XWindows configuration information
xconfig --depth=16 --resolution=1280x1024 --defaultdesktop=GNOME --startxonboot
#Package install information
%packages --resolvedeps
@ X Window System
@ GNOME Desktop Environment
# No longer standard
# @ K Desktop Environment
@ Editors
#@ Engineering and Scientific
@ Graphical Internet
@ Text-based Internet
#@ Office/Productivity
@ Sound and Video
@ Graphics
#@ Games and Entertainment
#@ Authoring and Publishing
@ Server Configuration Tools
#@ Web Server
@ Network Servers
#@ Development Tools
# Embedded already
# @ Kernel Development
#@ X Software Development
# Must have GNOME SWDEV for deprecated libs needed by DSS demod sw. 2/06.
@ GNOME Software Development
#@ KDE Software Development
@ Administration Tools
@ System Tools
#@ Printing Support
ethereal
ethereal-gnome
compat-gcc-32
compat-gcc-32-c++
compat-libstdc++-33
compat-libgcc-296
compat-libf2c-32
compat-gcc-32-g77
glibc-devel
hal-gnome
rdesktop
 
# Extra packages that may not be in specified groups above.
 
#######  PRE-INSTALL ##################
 
#%pre
 
#!/bin/s
 
-----------------------------------------
Chris Jasper
Systems Administrator
408-531-2158
 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]