In https://github.com/project-machine/mos/pull/62 , Scott suggested: > for some of the efibootmgr stuff we could eventually move to https://pkg.go.dev/github.com/canonical/go-efilib#DevicePathType