wrapper-sfdisk can help golang programmers to work with sfdisk Using this project is allowed to include sfdisk in any Go code. In addition, sfdisk is Linux utility for manipulating partitions on disks. Requirements Use OS Linux Install Golang Install sfdisk, e.g. for Ubuntu apt install fdisk