diff --git a/crystal@192.168.122.60 b/crystal@192.168.122.60 new file mode 100755 index 0000000..6c768a8 Binary files /dev/null and b/crystal@192.168.122.60 differ diff --git a/src/functions/partition.rs b/src/functions/partition.rs index 39a1e88..e587f97 100755 --- a/src/functions/partition.rs +++ b/src/functions/partition.rs @@ -26,6 +26,7 @@ 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"), @@ -40,6 +41,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("300"), String::from("100%"), @@ -67,12 +69,12 @@ pub fn partition(device: &str, mode: &str, efi: bool) { String::from("-s"), String::from(device), String::from("mkpart"), - String::from("btrfs"), + String::from("ext4"), + String::from("1MIB"), String::from("512MIB"), - String::from("100&"), ], ), - "create btrfs root partition", + "create bios boot partition", ); exec_eval( exec( @@ -81,12 +83,12 @@ pub fn partition(device: &str, mode: &str, efi: bool) { String::from("-s"), String::from(device), String::from("mkpart"), - String::from("ext4"), - String::from("1MIB"), + String::from("btrfs"), String::from("512MIB"), + String::from("100&"), ], ), - "create bios boot partition", + "create btrfs root partition", ); } }