[alpine installer] add fs type on mount
This commit is contained in:
parent
549f9d8edb
commit
888a1bbd14
1 changed files with 3 additions and 3 deletions
|
@ -61,7 +61,7 @@ label: dos
|
|||
EOF
|
||||
# For creation, if an existing filesystem is on the partitions
|
||||
sudo mkfs.ext4 -F ${partition1}
|
||||
sudo mount ${partition1} $rootfs_tmpdir
|
||||
sudo mount -t ext4 ${partition1} $rootfs_tmpdir
|
||||
;;
|
||||
efi)
|
||||
sudo sfdisk "$DISK" <<EOF
|
||||
|
@ -71,9 +71,9 @@ label: gpt
|
|||
EOF
|
||||
sudo mkfs.vfat ${partition1}
|
||||
sudo mkfs.ext4 -F ${partition2}
|
||||
sudo mount ${partition2} "$rootfs_tmpdir"
|
||||
sudo mount -t ext4 ${partition2} "$rootfs_tmpdir"
|
||||
sudo mkdir "${rootfs_tmpdir}/boot"
|
||||
sudo mount ${partition1} "${rootfs_tmpdir}/boot"
|
||||
sudo mount -t vfat ${partition1} "${rootfs_tmpdir}/boot"
|
||||
;;
|
||||
*)
|
||||
echo "Unknown disk format, $BOOT_VIA" >&2
|
||||
|
|
Loading…
Reference in a new issue