Re: [gentoo-user] switching from "refine" to "grub"

2020-12-12 Thread Neil Bothwick
On Sat, 12 Dec 2020 01:57:40 -0700, Dan Egli wrote:

> What complexity?

GRUB2 is hugely complex as it tries to be everything to everyone. That's
not a bad thing in itself, but EFI can use a far more minimal setup.

> I have a couple EFI machines booting via Grub, and
> they work great.

I didn't say it didn't work, but it is overkill for EFI booting where a
bootloader isn't needed.

> I just had to ensure the correct GRUB_TARGET in
> make.conf and then after I had my partitions setup and formatted, I
> just did grub-install --target=x86_64-efi --efi-directory=/boot/EFI and
> it went smooth as silk as long as I didn't have /boot on newer ZFS
> setup. Even ZFS would work if you setup /boot to be a separate dataset
> and make it with absolute minimal options.
> 
> On 12/12/2020 1:31 AM, Neil Bothwick wrote:
> > On Fri, 11 Dec 2020 07:48:06 -0700, the...@sys-concept.com wrote:
> >  
> >> I use refine as boot loader but it is giving me a problems.
> >> How to switch back to grub 2
> >> And remove any refine files from /boot  
> > I take it you mean refind? It may well be easier to solve the problem
> > with refind rather than trying to deal with the overcomplexity of GRUB
> > for an EFI system.
> >
> > I normally use systemd-boot but when I have used refind, it has
> > picked up everything it needs to know without a config file. What
> > errors are you seeing?
> >
> >  




-- 
Neil Bothwick

Sir! Romulan warbird decloaki\xBB\xAE\xF5\xF7\xFC\xC1 NO CARRIER


pgp_Sd7I8LwqB.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] switching from "refine" to "grub"

2020-12-12 Thread Dan Egli
What complexity? I have a couple EFI machines booting via Grub, and they 
work great. I just had to ensure the correct GRUB_TARGET in make.conf 
and then after I had my partitions setup and formatted, I just did 
grub-install --target=x86_64-efi --efi-directory=/boot/EFI and it went 
smooth as silk as long as I didn't have /boot on newer ZFS setup. Even 
ZFS would work if you setup /boot to be a separate dataset and make it 
with absolute minimal options.


On 12/12/2020 1:31 AM, Neil Bothwick wrote:

On Fri, 11 Dec 2020 07:48:06 -0700, the...@sys-concept.com wrote:


I use refine as boot loader but it is giving me a problems.
How to switch back to grub 2
And remove any refine files from /boot

I take it you mean refind? It may well be easier to solve the problem
with refind rather than trying to deal with the overcomplexity of GRUB
for an EFI system.

I normally use systemd-boot but when I have used refind, it has picked up
everything it needs to know without a config file. What errors are you
seeing?



--
Dan Egli
From my Test Server




Re: [gentoo-user] switching from "refine" to "grub"

2020-12-12 Thread Neil Bothwick
On Fri, 11 Dec 2020 07:48:06 -0700, the...@sys-concept.com wrote:

> I use refine as boot loader but it is giving me a problems.
> How to switch back to grub 2
> And remove any refine files from /boot

I take it you mean refind? It may well be easier to solve the problem
with refind rather than trying to deal with the overcomplexity of GRUB
for an EFI system.

I normally use systemd-boot but when I have used refind, it has picked up
everything it needs to know without a config file. What errors are you
seeing?


-- 
Neil Bothwick

"Do not handicap your children by making their lives easy."
 -- Robert Heinlein


pgpnqewHvzCa9.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] switching from "refine" to "grub"

2020-12-11 Thread Dan Egli

I can not say for certain, but I imagine it would be something like this:

emerge -c refine
rm  -rf  
rm -rf /boot/refine
GRUB_TARGET="x86_64-efi" emerge grub
grub-install --efi-directory= --target=x86_64-efi
grub-mkconfig -o /boot/grub/grub.cfg


Of course you really should put the GRUB_TARGET in your make.conf, but 
in a pinch that will work. I'm assuming you are using a 64-bit EFI 
enabled computer. The grub steps I am sure of. I've never used refine 
before, so I don't know it.


On 12/11/2020 7:48 AM, the...@sys-concept.com wrote:

I use refine as boot loader but it is giving me a problems.
How to switch back to grub 2
And remove any refine files from /boot


--
Dan Egli
From my Test Server