Partition id "vfat" is not supported!
# cat /etc/alpine-release
3.15.0_rc4
Running setup-alpine (in EFI-mode).
WARNING: Erase the above disk(s) and continue? (y/n) [n] y
Partition id "vfat" is not supported!
Creating file systems...
The file mkfs.vfat is a symlink for busybox, which shows the message above.
# ls -l /sbin/*fat
lrwxrwxrwx 1 root root 12 Nov 19 03:46 /sbin/mkfs.vfat -> /bin/busybox
After rebooting it is dosfstools as expected.
# ls -l /sbin/*fat
-rwxr-xr-x 1 root root 71552 Nov 17 12:12 /sbin/fsck.fat
lrwxrwxrwx 1 root root 8 Nov 19 06:39 /sbin/fsck.vfat -> fsck.fat
-rwxr-xr-x 1 root root 55720 Nov 17 12:12 /sbin/mkfs.fat
lrwxrwxrwx 1 root root 8 Nov 19 06:39 /sbin/mkfs.vfat -> mkfs.fat
Here is the list of partitions with their labels.
# lsblk -o name,mountpoint,label,size
NAME MOUNTPOINT LABEL SIZE
sda 1G
├─sda1 /boot/efi 512M
├─sda2 [SWAP] 256M
└─sda3 / 255M
sr0 alpine-virt 3.15.0_rc4 x86_64 52M
Related:
- #13194 (closed) dosfstools provides mkfs.vfat/mkdosfs without clearing busybox symlink
- !27513 (closed) main/dosfstools: install binaries to /sbin
P.S. Before that patch above OpenRC showed this error below, because the filesystem was checked with busybox fsck.
Label '' stored in boot sector is not valid.
Auto-removing label from boot sector.
Filesystem was changed.
Writing changes.