fix: make sure /mnt exists

This commit is contained in:
dump_stack() 2024-07-28 23:38:23 +00:00
parent c3a0fdac00
commit 1aea2f8ca7
Signed by: dump_stack
GPG Key ID: C9905BA72B5E02BB

View File

@ -17,6 +17,7 @@ drive=$(losetup -P -f --show ${file})
mkfs.vfat -F32 ${drive}p1 mkfs.vfat -F32 ${drive}p1
mkfs.ext3 ${drive}p2 mkfs.ext3 ${drive}p2
mkdir -p /mnt
mount ${drive}p2 /mnt mount ${drive}p2 /mnt
mkdir /mnt/boot mkdir /mnt/boot
mount ${drive}p1 /mnt/boot mount ${drive}p1 /mnt/boot