Hello,<br><br>This is my first query. Please correct me if I din't follow complete process.<br><br>I
am trying to setup label for partitions using kickstart under RHEL5.
When I use the --label option outside the %pre option it works fine,
however the same option don't work under %pre section. Below the 2
configs I am using :<br>
<br>1. Outside %pre<br><br><span><span><span><span><span><span>clearpart --all --drives=hda<br>
part /boot --fstype ext3 --size=100 --ondisk=hda --label=MYLABEL</span></span></span></span></span></span><br><br><br>2. Under the %pre section :<br><pre>%pre<br>(<br>set $(list-harddrives)<br><br>let numdrives=$#/2<br>disk1=$1<br>
size1=$2<br>disk2=$3<br>size2=$4<br><br>if [ "$numdrives" -eq 1 ]; then<br>    cat << EOF >> /tmp/partinfo<br>part / --fstype ext3 --size=2048 --grow --ondisk=$disk1 --asprimary<br><br>part /boot --fstype ext3 --size=1024 --ondisk=$disk1 --asprimary --label=MYLABEL<br>
EOF<br>)<br><br>Thanks.</pre>