Create file systems before use
This commit is contained in:
parent
36fc589408
commit
2d75518a18
1 changed files with 5 additions and 0 deletions
|
@ -42,6 +42,11 @@ disks=($(bash -c "echo $archDisk*"));
|
|||
bootDisk="${disks[0]}";
|
||||
swapDisk="${disks[1]}";
|
||||
linuxDisk="${disks[2]}";
|
||||
|
||||
mkfs.fat -F 32 "$bootDisk";
|
||||
mkswap "$swapDisk";
|
||||
mkfs.ext4 "$linuxDisk";
|
||||
|
||||
mount "$linuxDisk" /mnt;
|
||||
mount --mkdir "$bootDisk" /mnt/boot;
|
||||
swapon "$swapDisk";
|
||||
|
|
Loading…
Reference in a new issue