bootloader

package
v1.2.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bootloader

type Bootloader interface {
	// Install installs the bootloader
	Install(bootDisk, arch string) error
}

Bootloader describes a bootloader.

type Meta added in v0.7.0

type Meta struct {
	*os.File
	LegacyADV adv.ADV
	ADV       adv.ADV
}

Meta represents the meta reader.

func NewMeta added in v0.7.0

func NewMeta() (meta *Meta, err error)

NewMeta initializes and returns a `Meta`.

func (*Meta) Revert added in v0.7.0

func (m *Meta) Revert() (err error)

Revert reverts the default bootloader label to the previous installation.

func (*Meta) Write added in v0.7.0

func (m *Meta) Write() error

Directories

Path Synopsis
adv
Package adv provides common interfaces to access ADV data.
Package adv provides common interfaces to access ADV data.
syslinux
Package syslinux provides syslinux-compatible ADV data.
Package syslinux provides syslinux-compatible ADV data.
talos
Package talos implements modern ADV which supports large size for the values and tags.
Package talos implements modern ADV which supports large size for the values and tags.
Package grub provides the interface to the GRUB bootloader: config management, installation, etc.
Package grub provides the interface to the GRUB bootloader: config management, installation, etc.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL