[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: writing MBRs & disk numbering
From: |
Felix Zielcke |
Subject: |
Re: writing MBRs & disk numbering |
Date: |
Wed, 19 Aug 2009 13:06:42 +0200 |
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.