2
I'm wanting to play around with grub2 with linux on a thumb drive.
My host OS is Kubuntu.
grub-install allows you to write the grub bootloader to the MBR of a disk which is great. However, uodate-grub generates grub entries from /etc/grub.d and /etc/default/grub There doesn't appear to be a way to generate the grub.cfg from a source other than /etc and write it to anywhere other than /boot/grub/grub.cfg
What's the general approach to generating a grub.cfg for a disk that is not on the running system?