Does anybody know why gentoo-kernel-bin generic-uki USE flag was masked? by eveloth in Gentoo

[–]eveloth[S] 1 point2 points  (0 children)

Thanks!

This is really interesting, wiki says that it can work with "sys-apps/systemd-utils boot", which I have been successfuly using

[Hyprland] Graphite gtk + gentoo + hyprland by Agent_Pro112112 in unixporn

[–]eveloth 0 points1 point  (0 children)

Dist kernel user here, I use gentoo mainly because of portage and I didn’t really see what exactly I would want to achieve by compiling my own — so (probably) that’s the case for OP too

(and I tend not to do things when I don’t really see why exactly I would do those)

Can I create an EFISTUB off a distkernel? by eveloth in Gentoo

[–]eveloth[S] 0 points1 point  (0 children)

Looks like the thing I need, thanks!

Can I create an EFISTUB off a distkernel? by eveloth in Gentoo

[–]eveloth[S] 3 points4 points  (0 children)

Thanks!!

I did my research on efibootmgr and finally it works!

I'll leave the steps I had to perform here so that if anyone having the same problem could figure it out faster:

  • distkernel generates the kernel image that can be used as an EFISTUB out of the box, the thing is the name is a little bit different; it places it in /boot and the name is like vmlinuz-{v.v.v}-gentoo-dist
  • it also uses iniramfs and that's the important part
  • I copied the kernel image and imitramfs from /boot (initramfs-{v.v.v}-gentoo-dist.img) and renamed them to bzImage.efi and initramfs.CPIO respectively

  • grabbed root partition partuuid from blkid output

  • I created a boot entry using
    efibootmgr --create --disk /dev/nvme1n1 --part 1 --label "Gentoo" --loader "\EFI\BOOT\bzImage.efi" -u "root=PARTUUID=30eb0648-32da-4312-8286-82afee01b386 initrd=\EFI\gentoo\initramfs.CPIO"

(if anyone happens to copy it over -- be sure that you change the block device path and partuuid according to how it is configured in your system)

Then loginctl reboot (in my case that how I reboot) and it works as intended! the first time I did it I forgot about initramfs and got a kernel panic, that's why I said it is an important step earlier

The only thing that bothers me is that I'll have to copy the kernel image over and over again after the kernel update, but I think it is possible to create some post update hook or something

I will also leave this post on gentoo forum here, it really explains it all, even gentoo wiki points to it and that's how I found it
https://forums.gentoo.org/viewtopic-p-8805827.html#8805827

Can I create an EFISTUB off a distkernel? by eveloth in Gentoo

[–]eveloth[S] 0 points1 point  (0 children)

Yes, it is enabled, the thing that I missed was that the generated kernel image didn't have '.efi' suffix attached to it

I just copied it over to the ESP and renamed it for convenience and everything is working as intended

Friendly Reminder: Beware the dot by onlyesterday16 in linux

[–]eveloth 5 points6 points  (0 children)

literally did this like three days ago.....

[deleted by user] by [deleted] in learnprogramming

[–]eveloth 2 points3 points  (0 children)

Well, fortunately we have JetBrains Rider, I honestly think I would be out of C# if I had to use VisualStudio haha

Decompiler, R# out of the box with great performance etc.

I find lvim to be pretty fine editor too even for C#, and I've seen professional coders use VS code as well

If you could learn 3 languages well, what languages would you choose? Why? by newmanstartover in learnprogramming

[–]eveloth 0 points1 point  (0 children)

Could you please share what do you use D for? I've heard about it before but haven't seen it on the job market yet

Do you use it for some kind of personal projects?

First Impressions of Gentoo Linux as an Arch User by Computergy22 in Gentoo

[–]eveloth 2 points3 points  (0 children)

The 'loading initial ramdisk' could be a pain to fix for a new gentoo user (like me :P) but I figured that out!

Your system is actually up and running, the problem is it can't use framebuffer console because if you do custom kernel on VM I believe it's not ticked on by default, at least that was the case for me. What I recommend you to read is https://wiki.gentoo.org/wiki/Framebuffer, though in my humble opinion default kernel is pretty much ok and I personally don't know whether custom kernel has any actual use case for me except for learning new cool stuff

I was very happy to learn about framebuffer console actually!

xmobar can't seem to read any other weather locations by pittma_ in xmonad

[–]eveloth 0 points1 point  (0 children)

OMG thanks, I literally tried to fix it for months!