]> Raphaƫl G. Git Repositories - distgen/blob - lib/root.sh
6f6af1e027bf5233a73db5e6ca80bb5bb20df175
[distgen] / lib / root.sh
1 #! /bin/sh -e
2
3 # Make mount point
4 mkdir -p ${MOUNTPOINT}
5
6 # Mount slash filesystem
7 mount /dev/mapper/${SLASHNAME} ${MOUNTPOINT}
8
9 # Make boot in mount point
10 mkdir -p ${MOUNTPOINT}/boot
11
12 # Mount boot filesystem
13 mount /dev/md/${MDBOOT} ${MOUNTPOINT}/boot
14