Hi All, Since 80 GB disks are now cheeply available, we decided to get one for our new Linux server. I've been using kickstart to configure these things and I need 6 partitions on one disk. I can get 5 on a disk, but as soon as I add the 6th, kickstart and anaconda barfs on me when attempting to layout and format the disk. Does anyone have any clues as to why this happens? Enclosed is my ks.cfg file. Note, that this config file works, but if I uncomment the line "part /usr/solarislocal --size 25000", it will barf. I can regenerate and send a list of error messages if anyone is interested. Thanks, Cheryl -- Cheryl Southard cld@xxxxxxxxxxxxxxxxx
# template-new.cfg - This template installas a Linux Redhat computer with # the following features # 1. only boots linux (not dual-boot) # 2. we can wipe all the disks clean # 3. Puts the computer into the ADPF linux cluster # # ### Language Specification #lang ru_RU.KOI8-R lang en_US langsupport en_US ### Network Configuration #network --bootproto dhcp #network --bootproto static --ip 131.215.183.22 --netmask 255.255.255.0 --gateway 131.215.183.254 --nameserver 131.215.139.100 ### Source File Location #cdrom nfs --server deimos --dir /usr/local/admin/kickstart/dist/7.2 ### Ethernet Device Configuration #device ethernet wd --opts "io=0x280, irq=3" ### Keyboard Configuration ### Will get set to 'us' by default ### if nothing specified in /etc/sysconfig/keyboard keyboard us ### Partitioning Information ### Whether to clear out the Master Boot Record (yes/no) ### Which partitions to format (--linux/--all) ### --linux - only format existing linux partitions ### --all - format all existing partitions ### Which partitions to set up on new system as well ### as size of those partitions # # deimos RH7.X # # /dev/hda1 2 GB swap # /dev/hda2 3 GB / # /dev/hda5 20 GB /scr2 (will eventually be /usr/local) # /dev/hda6 15 GB /scr # zerombr yes #clearpart --linux clearpart --all ############# EDIT HERE ######################### part / --size 2000 part swap --size 2048 part /var --size 2500 part /export/home --size 20000 #part /usr/solarislocal --size 25000 part /usr/local --size 25000 --grow --maxsize 1000000 ################################################## # install ### Mouse Configuration ### Will only setup 3 types of mice ### generic - 2-button serial ### genericps/2 - 2-button ps/2 ### msintellips/2 - MS Intellimouse ### generic3ps/2 - 3 button ps/2 ### All three can be setup with or without 3-button ### emulation ### Run 'mouseconfig --help' in order to see other ### supported mouse type and make appropriate change ### NOTE: You will need to run 'mouseconfig' manually ### after installation if you have a non-ps/2 mouse ### and are installing X, as a ps/2 mouse is setup ### by default #mouse generic --device ttyS0 #mouse genericps/2 --emulthree #oldgenghis #mouse generic3ps/2 #mouse msintellips/2 --emulthree ############### EDIT HERE ################## mouse generic3ps/2 ########################################### ### Time Zone Configuration ### Will get set to 'US/Eastern' if ZONE is missing ### from /etc/sysconfig/clock or if file is missing entirely #timezone --utc US/Pacific timezone US/Pacific ### X Configuration ### Will set up system for minimal resolution and color depth; ### may wish to run Xconfigurator manually after system installation #xconfig --server "SVGA" --monitor "viewsonic g773" #xconfig --server "XF86_Mach64" --monitor "MultiSync XV17+" --defaultdesktop=GNOME --startxonboot #xconfig --defaultdesktop=GNOME --startxonboot skipx ### Root Password Designation ### '--iscrypted' does not work properly with release 6.1 as shipped; ### will need to get updates from http://support.redhat.com/errata ### in order for this to work correctly; can also just specify ### root password in plain text and change it after system installation; ### e.g. 'rootpw ThisIsThePassword' will get root's password to ### "ThisIsThePassword" # rootpw --iscrypted FRJmXLZcdoOgU #rootpw --iscrypted 1eGyCJx45pHbc rootpw --iscrypted /7zSk72CSsJbM ### Authorization Configuration #auth --useshadow --enablemd5 #auth --enablenis --nisdomain astro --useshadow #auth --useshadow auth --useshadow --enablenis --nisdomain astro ### Bootloader Configuration bootloader --location=mbr --md5pass=$1$laBA//$lhDSaufJ3rBH5lV8PEOlv0 ### Reboot the computer after the installation is over reboot ### Package Designation ### The package names, as well as the groups they are a part of can be ### found in the /RedHat/base/comps file; individual packages can be ### specified by entering their names one per line; ### groups (e.g. 'X Window System') can be specified ### by appending a "@" in front of the group name; ### e.g. '@ X Window System' %packages @ Printing Support @ GNOME @ KDE @ Software Development @ NFS File Server kdegraphics fortune-mod gnome-media kdemultimedia rdist rmt dump autorun autofs bc mt-st timidity++ sane-backends cdrecord mkisofs cdda2wav xcdroast ### Commands To Be Run Post-Installation %post # # add /usr/local to the fstab # cat <<EOFfstab>>/etc/fstab deimos:/usr/local /usr/local nfs rsize=8192 phobos:/var/mail /var/mail nfs defaults 0 0 EOFfstab ################# EDIT HERE in 3 places below ####################### # # # convert the computer from DHCP to static IP addressing # # /etc/hosts cat <<EOFhosts>/etc/hosts 127.0.0.1 localhost.localdomain localhost 131.215.102.138 deimos deimos.caltech.edu 131.215.102.142 tempastro tempastro.caltech.edu EOFhosts #/etc/sysconfig/network sed -e 's/HOSTNAME=\(.*\)$/HOSTNAME="tempastro"/' /etc/sysconfig/network > /tmp/network echo "GATEWAY=131.215.102.254" >> /tmp/network mv /tmp/network /etc/sysconfig/network # #/etc/sysconfig/network-scripts/ifcfg-eth0 sed -e 's/BOOTPROTO=\(.*\)$/BOOTPROTO="none"/' /etc/sysconfig/network-scripts/ifcfg-eth0 > /tmp/ifcfg-eth0 echo "IPADDR=131.215.102.142" >> /tmp/ifcfg-eth0 echo "NETMASK=255.255.255.0" >> /tmp/ifcfg-eth0 mv /tmp/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0 #Setup post install script to be excuted from rc3 /bin/ln -s /usr/local/admin/kickstart/adpf-cleanup-afterreboot /etc/rc.d/rc3.d/S99post.install /bin/ln -s /usr/local/admin/kickstart/adpf-cleanup-afterreboot /etc/rc.d/rc5.d/S99post.install # # DONE #