3 # mounts all partitions to to the installation medium
5 # mountpart partname mountpoint
8 TMPPART="$(iroot part$1)"
9 echo "mounting $TMPPART to $2"
12 echo "using default partition for $2"
22 mountpart home /mnt/home
25 if iroot partswap; then
26 echo "activating swap"
27 swapon "$(iroot partswap)"
30 if ! mount | grep -q '/mnt'; then