[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Installing grub on lvm logical volume for chainloading into
From: |
Florent Becker |
Subject: |
Re: Installing grub on lvm logical volume for chainloading into |
Date: |
Wed, 05 Dec 2012 08:20:46 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121027 Icedove/10.0.10 |
Le 05/12/2012 07:36, Chris Murphy a écrit :
>
> On Dec 4, 2012, at 3:41 AM, Florent Becker <address@hidden> wrote:
>
>> Hi list,
>>
>> my configuration is the following: I have a single hard disk with several lvm
>> logical volumes. I have a working grub in the mbr, managed by my debian
>> installation. I'd like to install nixOS onto another logical volume, and
>> give it
>> its own instance of grub (so that the two distributions do not fight over the
>> configuration of grub when I upgrade either of them). The main grub would
>> then
>> chainload the nixOS grub which would boot nixOS. The problem is I'm not sure
>> where/how to install that slave grub. Is it possible to put it somewhere on
>> the
>> nixOS logical volume? How can I tell grub-install to do so?
>
> Why not have the first GRUB use configfile to point to the grub.cfg for
> nixOS, which can tell the first GRUB how to boot nixOS? It seems a little
> weird to load one instance of GRUB to load yet another instance of GRUB.
>
> http://www.gnu.org/software/grub/manual/grub.html#configfile
>
> Chris Murphy
This seems like it will do the job perfectly,
many thanks,
--
Florent