Am Mittwoch, den 19.08.2009, 12:58 +0200 schrieb Wojtek SWIATEK: > > I have never used grub-install (only grub in much simpler > configurations) and I will give it a try. > Is there a way to instruct grub-install to use the configuration from > another place than the current /boot/grub/grub.conf? In my case I > would like it to use the info at /mnt/boot/grub/grub.conf as they > cover the future setup (boot from a single internal drive). Maybe > chroot to /mnt would be a way to go? (in that case /boot would indeed > refer to the future /boot and grub-install could now take its install > info from there)
grub.conf isn't read by grub-install or the grub shell. But device.map is. You can use grub-install --root-directory=/mnt so everything under /mnt/boot/grub is used instead of /boot/grub The grub-legacy's grub-install doestn't work well in chroots. _______________________________________________ Bug-grub mailing list Bug-grub@gnu.org http://lists.gnu.org/mailman/listinfo/bug-grub