Hi, I am trying to make a kickstart CD to install RHEL3 Update 3 on an HP DL585 server. The install is taking place on disks controlled by internal RAID controller (HP Smart array 5i). The install seems to work like breeze. At the end of installation, there are some issues - (1.) All the post install scripts which tries to mount the cd-rom to copy files from CD to hardisk are failing. Possibly some silly mistake. Will be glad if someone points those out. (2.) Although the grub was being installed as a part of the install process, when trying to boot from hardisk I was just staring at a message - "Attempting to boot from Hard Disk (C:)". I tried installing grub through the post-install section of kickstart but that also showed me just the word: GRUB (3.) When I boot from the Cd in rescue mode and try to do a chroot into /mnt/sysimage for doing grub-install i find that most core-utils binaries like ls, rm, cp etc are not installed. While I clearly remember seeing core-utils being installed during installation and the rpm is present on Cd as well as mentioned in the kickstart file. What's happening. On the other hand if I do a minimum install from first two CDs of RHEL3 Update 3 the system is perfectly bootable and works fine. Can someone point out what am I doing wrong? I am attaching my kickstart file for reference. Cheers. -- Ajitabh Pandey http://www.ajitabhpandey.info/ ICQ - 150615062 Registered Linux User - 240748 GnuPG Key ID - 35CF8CC4 Key fingerprint = E1A8 657D BE0C 4747 52EC 10C4 1AC2 C124 35CF 8CC4 ----------------------------------- Q: How was Thomas J. Watson buried? A: 9 edge down.
# Name - wwllnx1001.ks # Description - Kickstart configuration file for wwllnx1001.bds.tv # Author - Ajitabh Pandey # History - Ver 0.1 on 27th September 2005 # # System language lang en_GB # Language modules to install langsupport da_DK da_DK da nl_NL nl_NL nl fr_FR fr_FR fr de_DE de_DE de it_IT it_IT it no_NO no_NO no pt_PT pt_PT pt es_ES es_ES es sv_SE sv_SE sv en_GB en --default=en_GB # System keyboard keyboard uk # System mouse mouse msintellips/2 # X configuration xconfig --card "ATI Mach64" --videoram 8128 --hsync 31.5-37.9 --vsync 50.0-61.0 --resolution 800x600 --depth 24 --startxonboot --defaultdesktop gnome # Network configuration network --device eth0 --bootproto dhcp network --device eth1 --bootproto dhcp # Firewall firewall --disabled # Sets up the authentication options for the system authconfig --enableshadow --enablemd5 # Sytem timezone timezone Europe/London # Root password rootpw --iscrypted $1$HSr5n.Fp$sLq58u9VFqGBavm7aQ5Cf1 # Reboot after installation # reboot # Install Red Hat Linux instead of upgrade install # Use CDROM installation media cdrom # Clear the Master Boot Record zerombr yes # Partition clearing information clearpart --all # Bootloader location bootloader --location=mbr # Partition details # /boot partition part /boot --fstype "ext3" --size=128 --ondisk=cciss/c0d0 # swap partitions part swap --size=2048 --ondisk=cciss/c0d0 part swap --size=2048 --ondisk=cciss/c0d0 part swap --size=2048 --ondisk=cciss/c0d0 part swap --size=2048 --ondisk=cciss/c0d0 part swap --size=2048 --ondisk=cciss/c0d0 part swap --size=2048 --ondisk=cciss/c0d0 part swap --size=2048 --ondisk=cciss/c0d0 part swap --size=2048 --ondisk=cciss/c0d0 # LVM physical volume which can grow in size part pv.100000 --size=1 --grow --ondisk=cciss/c0d0 # Volume Group vg_root volgroup vg_root pv.100000 # Logical Volumes under Volume Group vg_root logvol /apps --fstype ext3 --name=lv_apps --vgname=vg_root --size=2048 logvol /var/www --fstype ext3 --name=lv_www --vgname=vg_root --size=16384 logvol /var --fstype ext3 --name=lv_var --vgname=vg_root --size=2048 logvol / --fstype ext3 --name=lv_root --vgname=vg_root --size=2048 logvol /tmp --fstype ext3 --name=lv_tmp --vgname=vg_root --size=2048 logvol /var/ftp --fstype ext3 --name=lv_ftp --vgname=vg_root --size=1 --grow logvol /usr --fstype ext3 --name=lv_usr --vgname=vg_root --size=16384 # Package install information %packages --resolvedeps libgcc setup basesystem tzdata glibc bzip2-libs cracklib e2fsprogs ethtool gdbm glib2 hdparm laus-libs libacl losetup mingetty bash MAKEDEV net-tools poptk rootfiles shadow-utils newt hotplug cracklib-dicts file cpio findutils grep ash krb5-libs ncurses less openssl psmisc python rhpl dev authconfig sysklogd tar util-linux vim-minimal initscripts cyrus-sasl-md5 kernel-smp libuser usermode redhat-config-mouse rpm-libs mailcap redhat-menus dump dos2unix eject hesiod krbafs attr libjpeg libtool-libs lsof bzip2 htmlview nc pam_passwdqc parted pax fbset logrotate pspell rdist rsh schedutils lockdev ntsysv slocate symlinks tftp unix2dos wireless-tools zip fontconfig libtiff binutils elfutils eal3-certification jwhois krbafs-utils libgcj m4 mgetty mtools man mtr nscd authd bind-utils libwvstreams pdksh psacct bc lftp libxml2-python rhnlib ppp stunnel syslinux talk tcsh time utempter apmd cyrus-sasl-plain dhclient ipsec-tools iptables kernel-pcmcia-cs autofs nss_ldap openssh-clients openssh-server portmap prelink redhat-config-securitylevel-tui sendmail tcpdump vixie-cron XFree86-Mesa-libGL cups ypbind rpm-python up2date redhat-release hwdata redhat-logos filesystem termcap glibc-common beecrypt chkconfig db4 elfutils-libelf expat glib gmp iputils libattr libtermcap lvm mktemp iproute mount pcre raidtools setserial slang usbutils words zlib info ed gawk coreutils grub modutils gpm gzip procps readline pyxf86config sed pam kudzu SysVinit mkinitrd vim-common which cyrus-sasl kernel openldap passwd kbd rpm eal3-certification-doc man-pages rmt specspo dosfstools finger jfsutils lha acl libstdc++ lslk mailx crontabs mt-st ncompress pam_smb patch perl perl-Filter procmail rdate rpmdb-redhat rsync setarch netconfig setuptool star tcp_wrappers traceroute unzip XFree86-libs-data freetype libpng libxml2 diffutils at groff krb5-workstation laus logwatch make irda-utils aspell minicom nano nss_db bind-libs cups-libs pam_krb5 pinfo pyOpenSSL ftp gettext python-optik jpackage-utils sharutils sudo sysreport mkbootdisk telnet tmpwatch wget cyrus-sasl-gssapi devlabel diskdumputils isdn4k-utils iptables-ipv6 kernel-utils gnupg openssh netdump pciutils nfs-utils quota rp-pppoe mdadm vconfig wvdial XFree86-libs xinetd redhat-lsb yp-tools redhat-config-network-tui up2date-update comps %post # Installing grub to the MBR at the end of install: /sbin/grub --batch --device-map=/dev/null <<EOGRUB device (hd0) /dev/cciss/c0d0 root (hd0,0) setup (hd0) quit EOGRUB # /bin/echo -e "root (hd0,0) \n install /grub/stage1 d (hd0) /grub/stage2 p \ (hd0,0)/grub/grub.conf \n quit" | /sbin/grub --batch # Create /etc/hosts file /bin/echo "127.0.0.1 localhost.localdomain localhost" >/etc/hosts # Copy files from CDROM /bin/mkdir /mnt/cdrom /bin/mount /dev/hda /mnt/cdrom /bin/cp /mnt/cdrom/inittab /etc /bin/tar -xvzf /mnt/cdrom/netback-up.tar.gz # Unmount CDROM and eject the CD /bin/umount /dev/hda /usr/bin/eject /dev/hda
Attachment:
signature.asc
Description: Digital signature