From 2f6a6e43c47a345ca72028177cea92e7307cebff Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 12 Jan 2020 17:40:15 +0100 Subject: First version of BIOS boot. --- util/mount_filesystems.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'util/mount_filesystems.sh') diff --git a/util/mount_filesystems.sh b/util/mount_filesystems.sh index f24421b..75bbb14 100644 --- a/util/mount_filesystems.sh +++ b/util/mount_filesystems.sh @@ -23,7 +23,10 @@ root_partition_path=$2 mount $root_partition_path /mnt -mkdir /mnt/boot -mount $boot_partition_path /mnt/boot + +if [ "$boot_partition_path" != "/dev/null" ];then + mkdir /mnt/boot + mount $boot_partition_path /mnt/boot +fi echo "Mounted filesystems - OK" -- cgit v1.2.3-70-g09d2