[rhn-users] Kickstart Issue - Custom Bootdisk to Network Install
Warren_Crigger at navyfederal.org
Warren_Crigger at navyfederal.org
Thu Jul 13 21:14:57 UTC 2006
Thanks in advance for any help! Sorry in advance too for such a long
mail, but I hope I provided enough details.
I have been tasked with setting up automated linux installs for our
company. This was an easy task for SuSE (even though I like
RH/Fedora/CentOS better, but I gotta do both =p), but I'm running into
issues with RHEL4AS.
I do not have the luxury of using DHCP and the normal method of kickstart,
so I made a custom boot CD with the isolinux directory and TRANS.TBL file
on it from the actual RHEL4AS disk (that's it!). I can boot normally and
from there give it testing kickstart boot options which are:
linux ks=http://<ip>/profiles/ks.cfg ip=<ip> netmask=<netmask>
gateway=<gateway> ksdevice=eth0
It then loads the kernel, starts to grab files off the remote server (see
logs below), fires up anaconda, detects the video/mouse/etc, and then
says:
"you are trying to install on a machine which isn't supported by this
release of Red Hat Enterprise Linux ES"
The test machine I'm installing on is a Dell PE1650 (tried it with and
without the Dell partition). You can install RHEL4AS on it fine with the
CD's, but that's what I'm trying to avoid:
Remote access logs:
[13/Jul/2006:16:47:16 -0400] "GET /./profiles/ks.cfg HTTP/1.0" 200 1246
"-" "-"
[13/Jul/2006:16:47:17 -0400] "GET /media/rhel4/RedHat/base/updates.img
HTTP/1.0" 404 1045 "-" "-" <----missing file, but not on the CD either
[13/Jul/2006:16:47:17 -0400] "GET
/media/rhel4/disc1/RedHat/base/updates.img HTTP/1.0" 404 1045 "-" "-"
<----same here
[13/Jul/2006:16:47:17 -0400] "GET /media/rhel4/RedHat/base/product.img
HTTP/1.0" 200 1474560 "-" "-"
[13/Jul/2006:16:47:17 -0400] "GET /media/rhel4/RedHat/base/netstg2.img
HTTP/1.0" 200 14127104 "-" "-"
[13/Jul/2006:16:47:35 -0400] "GET /media/rhel4/RedHat/base/hdlist
HTTP/1.0" 200 54052 "-" "Python-urllib/2.1"
[13/Jul/2006:16:47:35 -0400] "GET /media/rhel4/RedHat/base/comps.xml
HTTP/1.0" 200 2705 "-" "Python-urllib/2.1"
Basic Kickstart file to get me started (will need lots of tweaking later):
#Generated by Kickstart Configurator
#Modified by Warren Crigger, NFCU
lang en_SG
langsupport en_US --default=en_SG
keyboard us
mouse
timezone America/New_York
#Initial root password is xxxxxxx
rootpw --iscrypted $1$NxV2o87L$J3f0fDQK7b6yrWyXoNHxQ1
reboot
text
install
url --url http://172.29.212.99/media/rhel4
bootloader --location=mbr
zerombr yes
clearpart --all --initlabel
#Disk partitioning information
part /boot --fstype ext3 --size 103 --asprimary --ondisk sda
part /usr --fstype ext3 --size 4096 --ondisk sda
part /var --fstype ext3 --size 2048 --ondisk sda
part /home --fstype ext3 --size 1024 --ondisk sda
part /tmp --fstype ext3 --size 1024 --ondisk sda
part / --fstype ext3 --size 2048 --ondisk sda
auth --useshadow --enablemd5
network --bootproto=dhcp --device=eth0
firewall --disabled
xconfig --depth=16 --resolution=1024x768 --defaultdesktop=GNOME
%packages --resolvedeps
@ base-x
@ gnome-desktop
@ editors
@ graphical-internet
@ text-internet
@ server-cfg
@ web-server
@ mail-server
@ smb-server
@ sql-server
@ network-server
@ development-tools
@ kernel-development
@ admin-tools
@ system-tools
%post --nochroot
#!/bin/bash
#Post-install script goes here
Warren Crigger
Sr. UNIX Network Engineer
ECommerce Engineering Support
Navy Federal Credit Union
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20060713/68d5cb61/attachment.htm>
More information about the rhn-users
mailing list