Home | Trees | Indices | Help |
---|
|
object --+ | BootLoader --+ | GRUB --+ | GRUB2
GRUBv2 - configuration - password (insecure), password_pbkdf2 - http://www.gnu.org/software/grub/manual/grub.html#Invoking-grub_002dmkpasswd_002dpbkdf2 - --users per-entry specifies which users can access, otherwise entry is unrestricted - /etc/grub/custom.cfg - how does grub resolve names of md arrays? - disable automatic use of grub-mkconfig? - on upgrades? - BIOS boot partition (GPT) - parted /dev/sda set <partition_number> bios_grub on - can't contain a filesystem - 31KiB min, 1MiB recommended
|
|||
name = "GRUB2"
|
|||
packages = ["grub2"]
|
|||
obsoletes = ["grub"]
|
|||
_config_file = "grub.cfg"
|
|||
_config_dir = "grub2"
|
|||
config_file_mode = 0600
|
|||
defaults_file = "/etc/default/grub"
|
|||
can_dual_boot = True
|
|||
can_update = True
|
|||
stage2_format_types = ["ext4", "ext3", "ext2", "btrfs"]
|
|||
stage2_device_types = ["partition", "mdarray", "lvmlv", "btrfs
|
|||
stage2_raid_levels = [mdraid.RAID0, mdraid.RAID1, mdraid.RAID4
|
|||
Inherited from Inherited from Inherited from Inherited from |
|
|||
Inherited from |
|
Return True if the device is a valid stage1 target device. Also collect lists of errors and warnings. The criteria for being a valid stage1 target device vary from platform to platform. On some platforms a disk with an msdos disklabel is a valid stage1 target, while some platforms require a special device. Some examples of these special devices are EFI system partitions on EFI machines, PReP boot partitions on iSeries, and Apple bootstrap partitions on Mac.
|
Return a grub-friendly representation of device. Disks and partitions use the (hdX,Y) notation, while lvm and md devices just use their names.
|
Write console-related configuration.
|
Write out a device map containing all supported devices.
|
Make sure self.encrypted_password is set up properly.
|
Write bootloader configuration to disk.
|
|
|
stage2_device_types
|
stage2_raid_levels
|
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Fri Mar 2 14:52:22 2012 | http://epydoc.sourceforge.net |