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

Re: need help with boot cd



hey i was trying wat you suggested to the other guy thanks.  However i create my pkorder.txt this is the command i use

PYTHONPATH=/usr/lib/anaconda /usr/lib/anaconda-runtime/pkgorder $PWD/  > pkgorder

i use this command in the root directory were the cd is.
I see you have something about pointing it to i386, but i dont have any i386 directories i am using the AMD64 RHEL v4.

Also i know which packages i want from the installer however i want to know how can i accurately tell which rpms i need on the cd, i have my ks.cfg already

this is my kickstart file
cat ks.cfg
# Kickstart file automatically generated by anaconda.

install
cdrom
lang en_US.UTF-8
langsupport --default=en_US.UTF-8 en_US.UTF-8
keyboard us
xconfig --card "ATI Mach64" --videoram 8192 --hsync 31.5-37.9 --vsync 50-70 --resolution 800x600 --depth 16
network --device eth0 --bootproto static --ip 0.0.0.0 --netmask 255.255.255.0 --gateway 65.243.100.1 --nameserver 24.244.141.3,24.244.141.4 --hostname dsg11
network --device eth1 --onboot no --bootproto dhcp --hostname dsg11
rootpw --iscrypted $1$bdKsw5wV$zcds9Vi/PrwYj4IZRh072.
firewall --enabled --port=22:tcp
selinux --disabled
authconfig --enableshadow --enablemd5
timezone America/Nassau
bootloader --location=partition
# The following is the partition information you requested
# Note that any partitions you deleted are not expressed
# here so unless you clear all partitions first, this is
# not guaranteed to work
clearpart --all --drives=hda,hdc
part raid.9 --size=100 -- --asprimary
part raid.16 --size=100 -- --asprimary
part raid.13 --size=20480 -- --asprimary
part raid.11 --size=20480 -- --asprimary
part raid.14 --size=1024 -- --asprimary
part raid.10 --size=1024 -- --asprimary
part raid.15 --size=100 --grow -- --asprimary
part raid.12 --size=100 --grow -- --asprimary
raid /boot --fstype ext3 --level=RAID1 raid.9 raid.16
raid swap --fstype swap --level=RAID1 raid.10 raid.14
raid / --fstype ext3 --level=RAID1 raid.11 raid.13
raid /home --fstype ext3 --level=RAID1 raid.12 raid.15

%packages
@ mysql
@ admin-tools
@ editors
@ emacs
@ text-internet
@ dns-server
@ dialup
@ ftp-server
@ web-server
@ mail-server
@ server-cfg
@ development-tools
php-mysql
kernel
mdadm
-sendmail-cf
mod_auth_mysql
postfix
mysql-server
kernel-devel
squirrelmail
e2fsprogs

%post
chkconfig httpd on
chkconfig vsftpd on
chkconfig mysqld on
chkconfig named on
chkconfig saslauthd on
chkconfig cyrus-imapd on
chkconfig cups off
chkconfig isdn off
chkconfig kudzu off
chkconfig pcmcia off
chkconfig sendmail off
chkconfig postfix on
chkconfig nfslock off
chkconfig nfs off
chkconfig portmap off
chkconfig nfslock off
chkconfig nfs off
chkconfig portmap off
chkconfig cyrus-imapd on
/etc/init.d/cups stop
/etc/init.d/nfslock stop
/etc/init.d/nfs stop
/etc/init.d/portmap stop
/etc/init.d/cyrus-imapd start
/etc/init.d/sendmail stop
/etc/init.d/postfix start
/etc/init.d/httpd start
/etc/init.d/mysqld start
/etc/init.d/vsftpd start
/etc/init.d/named start
/etc/init.d/saslauthd start
/etc/init.d/cups stop
/etc/init.d/nfslock stop
/etc/init.d/nfs stop
/etc/init.d/portmap stop
/etc/init.d/cyrus-imapd start
mysqladmin -u root password mysqlpa55
touch /var/spool/cron/root
echo "0 3,9,15,21 * * * /usr/sbin/ntpdate -u 128.2.136.71" >> /var/spool/cron/root
chmod 600 /var/spool/cron/root
/etc/init.d/crond restart


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