Mount partitioned devices
This commit is contained in:
parent
376f3960f1
commit
37fcbd3557
1 changed files with 5 additions and 0 deletions
|
@ -38,4 +38,9 @@ swapSize="$(echo "$memory" | awk '{ print int(($1 / 4) + 0.5)}')";
|
|||
echo "w";
|
||||
} | fdisk "$archDisk";
|
||||
|
||||
disks=($(bash -c "echo $archDisk*"))
|
||||
mount "${disks[2]}" /mnt;
|
||||
mount --mkdir "${disks[0]}" /mnt/boot;
|
||||
swapon "${disks[1]}";
|
||||
|
||||
popd > /dev/null;
|
||||
|
|
Loading…
Reference in a new issue