summary refs log tree commit diff
path: root/gnu/installer/parted.scm
diff options
context:
space:
mode:
authorMathieu Othacehe <othacehe@gnu.org>2021-06-13 14:11:59 +0200
committerMathieu Othacehe <othacehe@gnu.org>2021-06-13 14:11:59 +0200
commit245cab2abc1fd74d1df489e500432c66c88f6b25 (patch)
tree691abe3e5bd223d05a2f6f317076440607e7b6a1 /gnu/installer/parted.scm
parent7f35431ed434842eaeaf533921c7e8a8e62fe10b (diff)
downloadguix-245cab2abc1fd74d1df489e500432c66c88f6b25.tar.gz
installer: Fix FAT16 partition mounting.
The "fat" file-system mount type doesn't exist in Linux. Trying to mount a
FAT16 partition with "fat" file-system type returns -ENODEV.

Fixes: <https://issues.guix.gnu.org/48419>.

* gnu/installer/parted.scm (user-fs-type->mount-type): Use the "vfat"
file-system for FAT16 partitions.
Diffstat (limited to 'gnu/installer/parted.scm')
-rw-r--r--gnu/installer/parted.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/installer/parted.scm b/gnu/installer/parted.scm
index 6bb5e9e85c..277581ef4b 100644
--- a/gnu/installer/parted.scm
+++ b/gnu/installer/parted.scm
@@ -234,7 +234,7 @@ inferior to MAX-SIZE, #f otherwise."
   (case fs-type
     ((ext4)  "ext4")
     ((btrfs) "btrfs")
-    ((fat16) "fat")
+    ((fat16) "vfat")
     ((fat32) "vfat")
     ((jfs)   "jfs")
     ((ntfs)  "ntfs")))