bootloader

package
v1.3.4 Latest Latest
Warning

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

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

Documentation

Overview

Package bootloader provides bootloader implementation.

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

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

Meta represents the meta reader.

func NewMeta

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

NewMeta initializes and returns a `Meta`.

func (*Meta) Revert

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

Revert reverts the default bootloader label to the previous installation.

func (*Meta) Write

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