summaryrefslogtreecommitdiffstats
path: root/perl-install/partition_table
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/partition_table')
-rw-r--r--perl-install/partition_table/gpt.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/partition_table/gpt.pm b/perl-install/partition_table/gpt.pm
index cad7e6073..dde111151 100644
--- a/perl-install/partition_table/gpt.pm
+++ b/perl-install/partition_table/gpt.pm
@@ -146,6 +146,7 @@ sub write {
print "($action, $part_number, $o_start, $o_size)\n";
if ($action eq 'add') {
local $part->{fs_type} = 'linux-swap(v1)' if isSwap($part->{fs_type});
+ local $part->{fs_type} = 'ntfs' if $part->{fs_type} eq 'ntfs-3g';
c::disk_add_partition($hd->{file}, $o_start, $o_size, $part->{fs_type}) or die "failed to add partition #$part_number on $hd->{file}";
if (isESP($part)) {
c::set_partition_flag($hd->{file}, $part_number, 'ESP')