James wrote:
> Neil Bothwick <neil <at> digimed.co.uk> writes:
>
>
>>> If I just unmerge grub and emerge grub-static, is that the
>>> best way to prevent grub-2 from ever being installed?
>>> Other caveats to worry about?
>
> OK, so before anyone responded, I just masked the relevant
> versions of grub2 in package.mask.
>
>
> =sys-boot/grub-2.02_beta2-r7
> =sys-boot/grub-2.02_beta2-r3
> =sys-boot/grub-2.00_p5107-r2
>
>> emerge -n sys-boot/grub:0 and make sure no other grub entries appear in
>>  <at> world
>
> I added the generic grub2 to the package.mask
>
> sys-boot/grub:2 
>
> It's all good now. I'm ignoring grub-static.
> grub-0.97.r14 seems fine.
>
>
> thx (everyone),
> James
>

To be sure, I'd take the lowest version and put a >= in front.  Based on
what I get here, it should look like this in the mask file:

>=sys-boot/grub-2.00_p5107-r2 

That way you don't have to worry about the new version that may come
later, and if the old grub gets removed from the tree. 

Hope that helps.

Dale

:-)  :-) 

Reply via email to