The bareon.utils.grub
Module¶
-
bareon.utils.grub.
grub1_cfg
(kernel=None, initrd=None, kernel_params='', chroot='', grub_timeout=5)¶
-
bareon.utils.grub.
grub1_install
(install_devices, boot_device, chroot='')¶
-
bareon.utils.grub.
grub1_mbr
(install_device, boot_disk, boot_part, chroot='')¶
-
bareon.utils.grub.
grub1_stage1
(chroot='')¶
-
bareon.utils.grub.
grub2_cfg
(kernel_params='', chroot='', grub_timeout=5, lvm_boot=False)¶
-
bareon.utils.grub.
grub2_cfg_bundled
(kernel_params='', chroot='', grub_timeout=5, lvm_boot=False)¶
-
bareon.utils.grub.
grub2_install
(install_devices, chroot='', boot_root='', lvm_boot=False)¶
-
bareon.utils.grub.
grub2_prepare
(*args, **kwds)¶
-
bareon.utils.grub.
guess_grub
(chroot='')¶
-
bareon.utils.grub.
guess_grub1_datadir
(chroot='', arch='x86_64')¶
-
bareon.utils.grub.
guess_grub2_conf
(chroot='')¶
-
bareon.utils.grub.
guess_grub2_default
(chroot='')¶
-
bareon.utils.grub.
guess_grub2_mkconfig
(chroot='')¶
-
bareon.utils.grub.
guess_grub_cfg
(chroot='')¶
-
bareon.utils.grub.
guess_grub_install
(chroot='')¶
-
bareon.utils.grub.
guess_grub_version
(chroot='')¶
-
bareon.utils.grub.
guess_initrd
(chroot='', regexp=None)¶ Tries to guess initrd by regexp
Parameters: - chroot – Path to chroot
- regexp – (String) Regular expression (must have python syntax).
Default is r’^(initrd|initramfs).*’
-
bareon.utils.grub.
guess_kernel
(chroot='', regexp=None)¶ Tries to guess kernel by regexp
Parameters: - chroot – Path to chroot
- regexp – (String) Regular expression (must have python syntax).
Default is r’^vmlinuz.*’