public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] switching from "refine" to "grub"
@ 2020-12-11 14:48 thelma
  2020-12-12  7:03 ` Dan Egli
  2020-12-12  8:31 ` Neil Bothwick
  0 siblings, 2 replies; 5+ messages in thread
From: thelma @ 2020-12-11 14:48 UTC (permalink / raw
  To: Gentoo mailing list

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] switching from "refine" to "grub"
  2020-12-11 14:48 [gentoo-user] switching from "refine" to "grub" thelma
@ 2020-12-12  7:03 ` Dan Egli
  2020-12-12  8:31 ` Neil Bothwick
  1 sibling, 0 replies; 5+ messages in thread
From: Dan Egli @ 2020-12-12  7:03 UTC (permalink / raw
  To: gentoo-user, thelma

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

emerge -c refine
rm  -rf  <EFI_DIR>
rm -rf /boot/refine
GRUB_TARGET="x86_64-efi" emerge grub
grub-install --efi-directory=<EFI_DIR> --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, thelma@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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] switching from "refine" to "grub"
  2020-12-11 14:48 [gentoo-user] switching from "refine" to "grub" thelma
  2020-12-12  7:03 ` Dan Egli
@ 2020-12-12  8:31 ` Neil Bothwick
  2020-12-12  8:57   ` Dan Egli
  1 sibling, 1 reply; 5+ messages in thread
From: Neil Bothwick @ 2020-12-12  8:31 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 637 bytes --]

On Fri, 11 Dec 2020 07:48:06 -0700, thelma@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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] switching from "refine" to "grub"
  2020-12-12  8:31 ` Neil Bothwick
@ 2020-12-12  8:57   ` Dan Egli
  2020-12-12 13:39     ` Neil Bothwick
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Egli @ 2020-12-12  8:57 UTC (permalink / raw
  To: gentoo-user

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, thelma@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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] switching from "refine" to "grub"
  2020-12-12  8:57   ` Dan Egli
@ 2020-12-12 13:39     ` Neil Bothwick
  0 siblings, 0 replies; 5+ messages in thread
From: Neil Bothwick @ 2020-12-12 13:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1520 bytes --]

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, thelma@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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-12-12 13:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-11 14:48 [gentoo-user] switching from "refine" to "grub" thelma
2020-12-12  7:03 ` Dan Egli
2020-12-12  8:31 ` Neil Bothwick
2020-12-12  8:57   ` Dan Egli
2020-12-12 13:39     ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox