Skip to content

Commit

Permalink
remove swap entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo committed Jun 3, 2024
1 parent 0d8ae1c commit e3eabcd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions truenas_installer/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ async def format_disk(device, set_pmbr, callback):
await run(["sgdisk", "-Z", device], check=False)
await run(["sgdisk", "-Z", device], check=False)

# Create BIOS boot partition
# Create BIOS boot partition (1st partition)
await run(["sgdisk", "-a4096", "-n1:0:+1024K", "-t1:EF02", "-A1:set:2", device])

# Create EFI partition (Even if not used, allows user to switch to UEFI later)
# Create EFI partition (Even if not used, allows user to switch to UEFI later) (2nd partition)
await run(["sgdisk", "-n2:0:+524288K", "-t2:EF00", device])

# Create data partition
# Create data partition (3rd partition)
await run(["sgdisk", "-n3:0:0", "-t3:BF01", device])

# Bad hardware is bad, but we've seen a few users
Expand Down

0 comments on commit e3eabcd

Please sign in to comment.