bios partitioning bugfix

axtloss/rework-partitioning
Amy 3 years ago
parent c32994741c
commit 754e765e62
No known key found for this signature in database
GPG Key ID: C642EA4B2F4096BE

Binary file not shown.

@ -26,6 +26,7 @@ pub fn partition(device: &str, mode: &str, efi: bool) {
String::from("-s"), String::from("-s"),
String::from(device), String::from(device),
String::from("mkpart"), String::from("mkpart"),
String::from("primary"),
String::from("fat32"), String::from("fat32"),
String::from("0"), String::from("0"),
String::from("300"), String::from("300"),
@ -40,6 +41,7 @@ pub fn partition(device: &str, mode: &str, efi: bool) {
String::from("-s"), String::from("-s"),
String::from(device), String::from(device),
String::from("mkpart"), String::from("mkpart"),
String::from("primary"),
String::from("btrfs"), String::from("btrfs"),
String::from("300"), String::from("300"),
String::from("100%"), String::from("100%"),
@ -67,12 +69,12 @@ pub fn partition(device: &str, mode: &str, efi: bool) {
String::from("-s"), String::from("-s"),
String::from(device), String::from(device),
String::from("mkpart"), String::from("mkpart"),
String::from("btrfs"), String::from("ext4"),
String::from("1MIB"),
String::from("512MIB"), String::from("512MIB"),
String::from("100&"),
], ],
), ),
"create btrfs root partition", "create bios boot partition",
); );
exec_eval( exec_eval(
exec( exec(
@ -81,12 +83,12 @@ pub fn partition(device: &str, mode: &str, efi: bool) {
String::from("-s"), String::from("-s"),
String::from(device), String::from(device),
String::from("mkpart"), String::from("mkpart"),
String::from("ext4"), String::from("btrfs"),
String::from("1MIB"),
String::from("512MIB"), String::from("512MIB"),
String::from("100&"),
], ],
), ),
"create bios boot partition", "create btrfs root partition",
); );
} }
} }

Loading…
Cancel
Save