From 9f3b56ac2c81aa84962d9e450f0dfe5f9b18c415 Mon Sep 17 00:00:00 2001 From: Amy Date: Mon, 31 Jan 2022 16:48:09 +0100 Subject: [PATCH] fixed the wrong part of the code --- src/functions/partition.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/functions/partition.rs b/src/functions/partition.rs index e587f97..ac6a195 100755 --- a/src/functions/partition.rs +++ b/src/functions/partition.rs @@ -26,7 +26,6 @@ pub fn partition(device: &str, mode: &str, efi: bool) { String::from("-s"), String::from(device), String::from("mkpart"), - String::from("primary"), String::from("fat32"), String::from("0"), String::from("300"), @@ -41,7 +40,6 @@ pub fn partition(device: &str, mode: &str, efi: bool) { String::from("-s"), String::from(device), String::from("mkpart"), - String::from("primary"), String::from("btrfs"), String::from("300"), String::from("100%"), @@ -69,6 +67,7 @@ pub fn partition(device: &str, mode: &str, efi: bool) { String::from("-s"), String::from(device), String::from("mkpart"), + String::from("primary"), String::from("ext4"), String::from("1MIB"), String::from("512MIB"), @@ -83,6 +82,7 @@ pub fn partition(device: &str, mode: &str, efi: bool) { String::from("-s"), String::from(device), String::from("mkpart"), + String::from("primary"), String::from("btrfs"), String::from("512MIB"), String::from("100&"),