grub.cfg file (for most OSes in the /boot directory).The disk to be used should be:
The disk used in this example is /dev/sda.
fdisk, parted, etc)
boot)boot), ext4 formattedblkid /dev/sda2 -s UUID -o value to get the UUID of the "first" disk's second partition.
__BOOT_PART_UUID__ later on./dev/sda2): mount /dev/sda2 /boot.vmlinuz, initramfs and install.img to /boot directory.fedora- (or whatever you want as long as you change it in the upcoming steps as well)grub2-install --no-floppy /dev/sda2
grub-install --no-floppy /dev/sda2
/boot/grub2/grub.cfg./boot/grub/grub.cfg.Optional steps:
/boot directory
/boot mounted partition and read the file from there, e.g., Kickstart can do it like that inst.ks="hd:UUID=__BOOT_PART_UUID__:/ks.cfg" (where the __BOOT_PART_UUID__ is the partition UUID).