CDIST-TYPE__IN...BOOTLOADER_GRUB(7)

✨ CDIST-TYPE__INSTALL_BOOTLOADER_GRUB ✨

okay so bestie, this is a cdist type β€” the cdist-type__install_bootloader_grub one β€” and it lives in the cdist manual, section 7. It's giving "make the machine actually boot" energy, and honestly? iconic. πŸ’…


🌸 NAME 🌸

cdist-type__install_bootloader_grub β€” install grub2 bootloader on given disk πŸ¦‹


πŸ’– DESCRIPTION πŸ’–

So the whole vibe of this cdist type is: it lets you install the grub2 bootloader onto a disk of your choosing. That's it, that's the job. No cap. πŸ”₯


πŸŽ€ REQUIRED PARAMETERS πŸŽ€

None. Zero. Nada. You don't have to pass anything, she's lowkey self-sufficient like that. πŸ‘‘


🌈 OPTIONAL PARAMETERS 🌈

  • device β€” the device you want grub installed to. If you don't say anything, it defaults to object_id. she'll just assume, and honestly? she'll usually be right. 😌
  • chroot β€” where to chroot to before running grub-install. Defaults to /target. This is the "okay but do it inside this other root" option, iykyk. 🧚

⭐ EXAMPLES ⭐

the classic, no thoughts head empty, just the disk:

__install_bootloader_grub /dev/sda

and the deluxe version, where you also tell her where to chroot first:

__install_bootloader_grub /dev/sda --chroot /mnt/foobar

look at that. slay. 🫢


πŸ‘‘ AUTHORS πŸ‘‘

Steven Armstrong <steven-cdist--@--armstrong.cc> β€” the original main character of this file. πŸ’œ


πŸ“œ COPYING πŸ“œ

Copyright (C) 2011 Steven Armstrong. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. fr fr, that's the legal bit, don't skip it. πŸ“


ungleich GmbH 2021


okay that's the whole page, no notes πŸ’– version 7.0.0, dated Jul 31, and it's a cdist manual page, section 7 β€” mwah, bye bestie! πŸ’…βœ¨πŸŽ€
πŸ“¦ where this page comes from