1 (edited by stuu 2026-08-30 16:24:49)

Topic: How to setup rEFInd?

Hello! How to install rEFInd on Hyperbola? After formatting the /dev/sda using cfdisk, I enter the following:

mkfs.vfat /dev/sda1
mkdir /boot/efi
mount /dev/sda1 /boot/efi
mkfs.ext4 /dev/sda2
mount /dev/sda2 /home
mkfs.ext4 /dev/sda3
mount /dev/sda3 /root
mkswap /dev/sda4
swapon /dev/sda4
mkfs.ext4 /dev/sda5
mount /dev/sda5 /

pacstrap /mnt base base-devel
genfstab -U /mnt >> /mnt/etc/fstab
arch-chroot /mnt /bin/sh
nano /etc/fstab
ln -sf /usr/share/zoneinfo/*/* /etc/localtime
hwclock --systohc
nano /etc/locale.conf
nano /etc/locale.gen
locale-gen
nano /etc/hostname
nano /etc/hosts
passwd

Now I need to install the refind and probably efibootmgr packages, but then what? If I simply enter refind-install the kernel will not start (which is logical).

Between the two abysses of the past and the future, faith never ceases to smile at its dream; she always sings the same song of joy and call, which each generation considers new; she naively puts a wreath of flowers on her head, not noticing that the flowers have already faded, the wreath has been worn before her millions of times.

2

Re: How to setup rEFInd?

Please refer here: https://wiki.archlinux.org/title/REFInd
Otherwise I recommend not using refind but grub instead.

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!

3

Re: How to setup rEFInd?

Okay, thanks.

Between the two abysses of the past and the future, faith never ceases to smile at its dream; she always sings the same song of joy and call, which each generation considers new; she naively puts a wreath of flowers on her head, not noticing that the flowers have already faded, the wreath has been worn before her millions of times.

4 (edited by stuu Yesterday 08:24:56)

Re: How to setup rEFInd?

And... Is it possible, using some option, to overwrite files if I initially compiled, say, evilwm from the source code, and now decided to install it from the repositories via hyperman (pacman)? I'm getting a similar error:

error: failed to commit transaction (conflicting files)
evilwm: /usr/bin/evilwm exists in filesystem
evilwm: /usr/share/evilwm exists in filesystem
evilwm: /usr/share/man/man1/evilwm.1 exists in filesystem
Errors occurred, no packages were upgraded.

Between the two abysses of the past and the future, faith never ceases to smile at its dream; she always sings the same song of joy and call, which each generation considers new; she naively puts a wreath of flowers on her head, not noticing that the flowers have already faded, the wreath has been worn before her millions of times.

5

Re: How to setup rEFInd?

We do no longer provide a package for evilwm upcoming.
Besides that: You should ALWAYS be very sure when you modify your root-filesystem without any package-management.

At that point you run out of responsibility from our side and your side also. The better option is always then to build your own packaging-script:  https://wiki.hyperbola.info/doku.php?id … e_creation

Also: Please stay on-topic for your own thread and do not mix different parts into it. Understandable to approach this pragmatic, but imagine how this looks for others when you first start asking about refid and than later go on with evilwm in the same thread. smile

Human being in favor with clear principles and so also for freedom in soft- and hardware!

Certainly anyone who has the power to make you believe absurdities has the power to make you commit injustices: For a life of every being full with peace and kindness, including diversity and freedom. Capitalism is destroying our minds, the planet itself and the universe in the end!