Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Use fat32 for efi partition #43

Merged
merged 1 commit into from
Sep 27, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/functions/partition.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ fn part_nvme(device: &Path, efi: bool, unakite: bool) {
let device = device.to_string_lossy().to_string();
if efi && !unakite {
exec_eval(
exec("mkfs.vfat", vec![format!("{}p1", device)]),
exec("mkfs.vfat", vec![format!("-F32, {}p1", device)]),
format!("format {}p1 as fat32", device).as_str(),
);
exec_eval(
Expand Down Expand Up @@ -390,7 +390,7 @@ fn part_nvme(device: &Path, efi: bool, unakite: bool) {
mount(format!("{}p1", device).as_str(), "/mnt/boot", "");
} else if efi && unakite {
exec_eval(
exec("mkfs.vfat", vec![format!("{}p1", device)]),
exec("mkfs.vfat", vec![format!("-F32 {}p1", device)]),
format!("format {}p1 as fat32", device).as_str(),
);
exec_eval(
Expand Down Expand Up @@ -500,7 +500,7 @@ fn part_disk(device: &Path, efi: bool, unakite: bool) {
let device = device.to_string_lossy().to_string();
if efi && !unakite {
exec_eval(
exec("mkfs.vfat", vec![format!("{}1", device)]),
exec("mkfs.vfat", vec![format!("-F32 {}1", device)]),
format!("format {}1 as fat32", device).as_str(),
);
exec_eval(
Expand Down Expand Up @@ -590,7 +590,7 @@ fn part_disk(device: &Path, efi: bool, unakite: bool) {
mount(format!("{}1", device).as_str(), "/mnt/boot", "");
} else if efi && unakite {
exec_eval(
exec("mkfs.vfat", vec![format!("{}1", device)]),
exec("mkfs.vfat", vec![format!("-F32 {}1", device)]),
format!("format {}1 as fat32", device).as_str(),
);
exec_eval(
Expand Down