for x in $winparts2; do cnt2=$((`echo $w | cut -c4-5`-1)) + [ "$cnt2" -lt "0" ] && cnt2=0 echo "title Windows NT/2k/XP on $x" >> $INST_ROOT/boot/grub/grub.conf + echo "rootnoverify (hd0,$cnt2)" >> $INST_ROOT/boot/grub/grub.conf echo "chainloader +1" >> $INST_ROOT/boot/grub/grub.conf echo " " >> $INST_ROOT/boot/grub/grub.conf done