Hello,
I am having a similar problem to that which is solved in this forum post.
Is this only happen on BTRFS filesystem?
Perhaps, I’m using BTRFS on my system!
Also, I think it would be safe to assume that only a minority of EndeavorOS users have chosen BTRFS over EXT4!
Thus logically, if this was happening on non-BTRFS systems, this issue would probably be a lot more popular and gain significantly more traction!
is mkinitcpio-openswap installed?
I don’t have this program installed on my device but I do have its dependency, mkinitcpio, installed!
CORRECTION: I d…
However, in my boot folder I don’t have a have any efi folder. A ls of my boot folder shows the following. Therefore the command used doesn’t work.
/boot🔒 ❯ ls
grub initramfs-linux.img vmlinuz-linux
initramfs-linux-fallback.img intel-ucode.img
What adjustments should be made to the command used so it would work?
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=EndeavourOS
Thanks,
pebcak
December 16, 2022, 10:31am
2
I guess, perhaps your installation is not in UEFI mode but in BIOS/Legacy/MBR mode?
What does
test -d /sys/firmware/efi && echo uefi || echo bios
say?
If it is a BIOS mode installation:
https://wiki.archlinux.org/title/Grub#Installation_2
1 Like
pebcak
December 16, 2022, 10:36am
4
Please refer to the link posted above and adapt the command line to your actual disk.
Yes after checking out the link I used the bios command.
grub-install --target=i386-pc /dev/sdX
Using for the X the disk not partition that has grub. This I found using lsblk --fs
.
Then I used the make config command grub-mkconfig -o /boot/grub/grub.cfg
. I rebooted and all was ok.
Thanks,
pebcak
December 16, 2022, 11:01am
6
Glad you got it resolved!
Please consider marking the thread as solved by checking the solution box under the actual post pointing out the solution.
system
Closed
December 18, 2022, 11:02am
7
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.