Re: [gentoo-user] keeping grub 1

2015-08-25 Thread Neil Bothwick
On Tue, 25 Aug 2015 18:44:17 + (UTC), James wrote:

> 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?

emerge -n sys-boot/grub:0 and make sure no other grub entries appear in
@world


-- 
Neil Bothwick

Bookmark - A means of returning to where you got lost last time.


pgphsYTruSTPL.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] keeping grub 1

2015-08-25 Thread Alan McKinnon
On 25/08/2015 20:44, James wrote:
> Hello,
> 
> 
> So on one particular (openrc) system, I have no interest in grub-2
> or any other bootloaders. I see grub is both grub 1 and grub 2.
> 
> 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?
> 
> 
> TIA,
> James
> 
> 


Add to package.mask:

sys-boot/grub:2

-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] keeping grub 1

2015-08-25 Thread Fernando Rodriguez
On Tuesday, August 25, 2015 9:01:48 PM Florian Gamböck wrote:
> Hi James!
> 
> Am 25.08.2015 um 20:44 schrieb James:
> > If I just unmerge grub and emerge grub-static, is that the
> > best way to prevent grub-2 from ever being installed?
> 
> If you want to keep your good old sys-boot/grub:0, just put exactly that 
> into your world file, including with the slot-version (the :0 at the 
> end). At least in the "main" portage tree, grub-2 uses slot 2, whereas 
> grub-1 stays in slot 0.
> 
> Alternatively you could put something like >=sys-boot/grub-2 or even 
> sys-boot/grub:2 into package.mask.
> 
> HTH,
> --Flo

And since you can install both it may be a good idea to get legacy grub 
working before unmerging grub2. If something goes wrong you just need to 
chroot and run grub2-install (or whatever it's called).

The grub-static package is most useful for amd64 systems without a 32-bit 
ncurses. I believe it ships a prebuilt ncurses static library.

-- 
Fernando Rodriguez



Re: [gentoo-user] keeping grub 1

2015-08-25 Thread Florian Gamböck

Hi James!

Am 25.08.2015 um 20:44 schrieb James:

If I just unmerge grub and emerge grub-static, is that the
best way to prevent grub-2 from ever being installed?


If you want to keep your good old sys-boot/grub:0, just put exactly that 
into your world file, including with the slot-version (the :0 at the 
end). At least in the "main" portage tree, grub-2 uses slot 2, whereas 
grub-1 stays in slot 0.


Alternatively you could put something like >=sys-boot/grub-2 or even 
sys-boot/grub:2 into package.mask.


HTH,
--Flo



[gentoo-user] keeping grub 1

2015-08-25 Thread James
Hello,


So on one particular (openrc) system, I have no interest in grub-2
or any other bootloaders. I see grub is both grub 1 and grub 2.

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?


TIA,
James