Oh, this on RedHat 9.0. Below is the KS file: install nfs --server kickstart --dir /install/redhat-9.0 lang en_US langsupport --default en_US.UTF-8 en_US.UTF-8 keyboard us mouse none --device psaux skipx xconfig --noprobe network --device eth0 --bootproto dhcp rootpw --iscrypted $1$É/ËàîßHW$EGEfZ5w4yJL74B8L4MYlE. firewall --disabled authconfig --enableshadow --enablemd5 --enablecache timezone --utc GMT bootloader --location=mbr %packages @ Administration Tools @ Development Tools @ Dialup Networking Support @ Editors @ Network Servers @ System Tools @ Text-based Internet #@ X Window System ################ Commands to be run pre-installation %pre echo "SLEEP...." > /dev/tty0 echo "SLEEP...." > /dev/tty1 #sleep 2893792183 echo "############# Kickstart %pre secton #####################" exec >/tmp/pre_install.txt 2>&1 /mnt/source/pretools/disktest.sh /mnt/source/pretools/partition.sh /mnt/source/pretools/format.sh /mnt/source/pretools/finish.sh echo "SLEEP...." > /dev/tty1 #sleep 2893792183 echo "%pre section completed" ################ Commands to be run post-installation %post --nochroot echo "####### Kickstart post installation ##########" SRCROOT=/mnt/source DSTROOT=/mnt/sysimage PERLINC=`cat $SRCROOT/posttools/perl_include_paths` PERL=$DSTROOT/usr/bin/perl # redirect logs sh $SRCROOT/posttools/setup_logs_dir.sh # redirect STDERR and STDOUT from post intall to a temp file exec > $DSTROOT/var/log/post_install.txt 2>&1 # upgrade packages $SRCROOT/posttools/rpm_upgrade.sh $SRCROOT/posttools/finish.sh echo -ne "\n------- %post section completed --------" exit 0 The %pre section scripts generates the partition information based on hardware_id. The formatting of filesystems is also done by the %pre section scripts (to preserve certain filesystem). Here's what the KS file looks like after the %pre section scripts are done: %include /tmp/ks.part.list install nfs --server kickstart --dir /install/redhat-9.0 lang en_US langsupport --default en_US.UTF-8 en_US.UTF-8 keyboard us mouse none --device psaux skipx xconfig --noprobe network --device eth0 --bootproto dhcp rootpw --iscrypted $1$É/ËàîßHW$EGEfZ5w4yJL74B8L4MYlE. firewall --disabled authconfig --enableshadow --enablemd5 --enablecache timezone --utc GMT bootloader --location=mbr %packages @ Administration Tools @ Development Tools @ Dialup Networking Support @ Editors @ Network Servers @ System Tools @ Text-based Internet #@ X Window System ################ Commands to be run pre-installation %pre echo "SLEEP...." > /dev/tty0 echo "SLEEP...." > /dev/tty1 #sleep 2893792183 echo "############# Kickstart %pre secton #####################" exec >/tmp/pre_install.txt 2>&1 /mnt/source/pretools/disktest.sh /mnt/source/pretools/partition.sh /mnt/source/pretools/format.sh /mnt/source/pretools/finish.sh echo "SLEEP...." > /dev/tty1 #sleep 2893792183 echo "%pre section completed" ################ Commands to be run post-installation %post --nochroot echo "####### Kickstart post installation ##########" SRCROOT=/mnt/source DSTROOT=/mnt/sysimage PERLINC=`cat $SRCROOT/posttools/perl_include_paths` PERL=$DSTROOT/usr/bin/perl # redirect logs sh $SRCROOT/posttools/setup_logs_dir.sh # redirect STDERR and STDOUT from post intall to a temp file exec > $DSTROOT/var/log/post_install.txt 2>&1 # upgrade packages $SRCROOT/posttools/rpm_upgrade.sh $SRCROOT/posttools/finish.sh echo -ne "\n------- %post section completed --------" exit 0 ___________ This is the /tmp/ks.part.list file: part /boot --fstype ext3 --size=1000 --onpart=/dev/hda1 --noformat part swap --size=512 --onpart=/dev/hda5 part / --fstype ext3 --size=1000 --onpart=/dev/hda6 --noformat ... > -----Original Message----- > From: Fong Vang > Sent: Monday, June 30, 2003 4:55 PM > To: 'kickstart-list@xxxxxxxxxx' > Subject: Changing partition information in pre section > > If a script in the %pre section modifies the /tmp/ks.cfg file, does it > have to do anything special to get anaconda to be aware of the changes? > For some reason, anaconda keeps aborting the install with this error > message: "Unable to locate partition /dev/hda6 to use for /." I've > manually verified that the partition table exists. They're also properly > partitioned and formatted with the proper sizes (I've tried to mount it > manually). What could I be missing? > > Thanks for any help. > > > This e-mail has been captured and archived by the ZANTAZ Digital Safe(tm) service. For more information, visit us at www.zantaz.com. IMPORTANT: This electronic mail message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone or directly reply to the original message(s) sent. Thank you.