mirror of
https://gitlab.com/ahoneybun/nyxi-installer.git
synced 2025-05-12 11:04:02 -06:00
remove size_in_sectors for root partition as it completely fills the drive for the root partition
This commit is contained in:
parent
e2450857be
commit
4dccfd16b1
1 changed files with 0 additions and 5 deletions
|
@ -40,11 +40,6 @@ fn format_drive(drive_name: &str) -> rsfdisk::Result<()> {
|
||||||
let root = Partition::builder()
|
let root = Partition::builder()
|
||||||
.partition_type(partition_type)
|
.partition_type(partition_type)
|
||||||
.name("Root")
|
.name("Root")
|
||||||
// Flash drive testing
|
|
||||||
//.size_in_sectors(121_634_816)
|
|
||||||
// Internal drive testing
|
|
||||||
.size_in_sectors(499_033_071_61)
|
|
||||||
// replace static int with a variable
|
|
||||||
.build()?;
|
.build()?;
|
||||||
|
|
||||||
let _ = disk.partition_add(root)?;
|
let _ = disk.partition_add(root)?;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue