You are not logged in.

#1 2019-01-31 20:18:39

Srx2
Member
Registered: 2019-01-23
Posts: 4

[SOLVED]How to Uninstall GRUB and Install reFInd?

I currently have Windows and Arch Linux in dual boot using grub as bootloader on /sda1 EFI partition. Now how do i completely uninstall GRUB (from UEFI boot menu too) and install reFIned without damaging anything? Also, after this i want to install Andriod-x86 or similar like Bliss OS alongside Windows and Arch, will reFIned detect the OS automatically?

Last edited by Srx2 (2019-02-02 11:02:21)

Offline

#2 2019-01-31 20:57:43

loqs
Member
Registered: 2014-03-06
Posts: 17,714

Re: [SOLVED]How to Uninstall GRUB and Install reFInd?

efibootmgr can remove EFI boot entries.  If refind auto detection does not find an OS see REFInd#Configuration.

Offline

#3 2019-02-01 17:16:55

Srx2
Member
Registered: 2019-01-23
Posts: 4

Re: [SOLVED]How to Uninstall GRUB and Install reFInd?

I'm sorry, using efibootmgr but how....would be helpful if you could guide me through the whole process, i don't want to mess up something.

EDIT: OK i did some research so....
● Download reFInd : sudo pacman -Sy refind-efi
● Install reFInd : sudo refind-install
But i have confusion about how to uninstall GRUB completely afterwards? someone please help me.

Last edited by Srx2 (2019-02-01 17:32:12)

Offline

#4 2019-02-01 17:24:01

loqs
Member
Registered: 2014-03-06
Posts: 17,714

Re: [SOLVED]How to Uninstall GRUB and Install reFInd?

See Efibootmgr#Deleting_a_boot_entry plus `man 8 efibootmgr`.

Offline

#5 2019-02-01 17:31:38

Srx2
Member
Registered: 2019-01-23
Posts: 4

Re: [SOLVED]How to Uninstall GRUB and Install reFInd?

@loqs do i have to just remove GRUB package to delete it and afterwards remove the EFI boot entry using efibootmgr?

Offline

#6 2019-02-01 17:38:27

loqs
Member
Registered: 2014-03-06
Posts: 17,714

Re: [SOLVED]How to Uninstall GRUB and Install reFInd?

The grub package as managed by pacman does not track the files created by grub-install GRUB#Installation_2 /boot/grub and $ESP/EFI/GRUB/ would need to be removed manually.
Yes then afterwards you would use efibootmgr to remove the EFI boot entry.

Offline

#7 2019-02-01 19:01:00

Srx2
Member
Registered: 2019-01-23
Posts: 4

Re: [SOLVED]How to Uninstall GRUB and Install reFInd?

Ok thanks, so i.e. I have to delete GRUB directory from my EFI partition. smile thanks again for fast responses.

Last edited by Srx2 (2019-02-01 19:02:05)

Offline

#8 2019-02-01 19:31:00

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 12,029
Website

Re: [SOLVED]How to Uninstall GRUB and Install reFInd?

Srx2 wrote:

sudo pacman -Sy ...

Don't do this.

Also, please remember to mark your thread as solved.

https://wiki.archlinux.org/index.php/Co … ow_to_post


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB