In your install document
''' chroot ./rootfs
Then set up Grub:
grub-install /dev/<primary_disk>
grub-mkconfig -o /boot/grub/grub.cfg '''
This should be changed to: chroot ./rootfs grub-install /dev/<primary_disk> chroot ./rootfs grub-mkconfig -o /boot/grub/grub.cfg
That way it can be dumped into a script, and no manual intervention is required.
In your install document
'''
chroot ./rootfs
Then set up Grub:
grub-install /dev/<primary_disk>
grub-mkconfig -o /boot/grub/grub.cfg
'''
This should be changed to:
chroot ./rootfs grub-install /dev/<primary_disk>
chroot ./rootfs grub-mkconfig -o /boot/grub/grub.cfg
That way it can be dumped into a script, and no manual intervention is required.