Documentation
¶
Index ¶
Constants ¶
View Source
const ( BootNone = "none" BootGrub = "grub" )
View Source
const ( OsReleasePath = "/etc/os-release" Initrd = "initrd" DefaultBootID = "active" RecoveryBootID = "recovery" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bootloader ¶
type Grub ¶
type Grub struct {
// contains filtered or unexported fields
}
func (*Grub) Install ¶
func (g *Grub) Install(rootPath, espDir, espLabel, entryID, kernelCmdline, recKernelCmdline string) error
Install installs the bootloader to the specified root.
func (*Grub) InstallLive ¶
InstallLive installs the live bootloader to the specified target.
type None ¶
type None struct {
// contains filtered or unexported fields
}
func (*None) InstallLive ¶
Click to show internal directories.
Click to hide internal directories.