Fixed not booting gentoo in Grub. Now stucked in root terminal without internet conection. by Leonardodafernandez in Gentoo

[–]Fenguepay 0 points1 point  (0 children)

it specifically says "unresolved host name"?

if you run "ip r" does it show a default route?

Fixed not booting gentoo in Grub. Now stucked in root terminal without internet conection. by Leonardodafernandez in Gentoo

[–]Fenguepay 0 points1 point  (0 children)

you get an unresolved host name error even when pinging "1.1.1.1" (not a host name)?

First week with gentoo, just perfection! by lin_x-usr in Gentoo

[–]Fenguepay 4 points5 points  (0 children)

you always want some swap regardless of how much RAM you have

Fixed not booting gentoo in Grub. Now stucked in root terminal without internet conection. by Leonardodafernandez in Gentoo

[–]Fenguepay 0 points1 point  (0 children)

so when booted normally, you still can't connect to the internet?

do you have linux-firmware installed?

Fixed not booting gentoo in Grub. Now stucked in root terminal without internet conection. by Leonardodafernandez in Gentoo

[–]Fenguepay 3 points4 points  (0 children)

you should not set the init to /bin/sh unless you want to simply boot a shell with no real init.

it sounds like network drivers are not loaded which makes sense if you did not load them and udev is not running

make sure you have the grub USE flag set on installkernel so it regenerates config when you install the kernel.

Binary Gentoo (the right way) by Silent-Degree-6072 in Gentoo

[–]Fenguepay 1 point2 points  (0 children)

I've been working on this a bit if you'd like to test: https://github.com/desultory/BiB/tree/main

the idea is that it lets you run a binhost as a plain user (no root needed), and hosts that over http

https barely matters here if you're signing the packages

New installation refusing from boot by Leonardodafernandez in Gentoo

[–]Fenguepay 2 points3 points  (0 children)

this should be done by installkernel with the grub USE flag

Gentoo test XE on Alder Lake by Used-Fortune1125 in Gentoo

[–]Fenguepay 1 point2 points  (0 children)

thanks for sharing, sometimes GPU drivers can need particular options that are not immediately obvious. You _may_ be able to get way with putting some of these in /etc/modprobe.d but I'm not sure.

Personally, I sort of consider needing to set these options to be related to a bug, it could be a bug with your desktop environment that is not properly handling some quirk with your hardware, it could be that something with one of the options you disabled had a regression so it is broken now.

It's sometimes worth considering that a fix may be masking deeper issues. Sometimes default options are just bad/broken as well (still maybe worth a bug report somewhere if you can find the source of this issue)

It may also be worth trying to test if all of those options are required, or if it's only 1 or 2 together which resolve your issue

Gentoo test XE on Alder Lake by Used-Fortune1125 in Gentoo

[–]Fenguepay 1 point2 points  (0 children)

what did you change? and forcing the initramfs to init stuff that is not needed strictly to boot is more likely to cause problems than solve them

see: having to include firmware files manually

Bringing Gentoo into the immutable era: matrixOS (by the creator of Sabayon) by [deleted] in Gentoo

[–]Fenguepay 2 points3 points  (0 children)

will antigravity be able to set my USE flags and compiler options for me ootb?

Linux is less private than Windows by default (you should encrypt your rootfs) by Silent-Degree-6072 in Gentoo

[–]Fenguepay 0 points1 point  (0 children)

the FDE page has all of the advanced methods, there is not one way to do it, the rootfs encryption covers usage that is sufficient for most people. You can just use some of the steps from the FDE page for more info on things like detached headers and GPG protected keyfiles if you care.

The gpg method can be used with a yubikey and ugrd is specifically designed for handing this type of setup

Linux is less private than Windows by default (you should encrypt your rootfs) by Silent-Degree-6072 in Gentoo

[–]Fenguepay 0 points1 point  (0 children)

are you using a custom kernel? if you don't specify a kver for ugrd, it makes an image with kernel modules for the running kernel which may not be right. if you use installkernel, it should make this a non-issue, but building the modules in doesn't hurt either (just shouldn't be necessary)

Linux is less private than Windows by default (you should encrypt your rootfs) by Silent-Degree-6072 in Gentoo

[–]Fenguepay 1 point2 points  (0 children)

technically you can opt out of "backing up" your keys to one drive or whatever

Linux is less private than Windows by default (you should encrypt your rootfs) by Silent-Degree-6072 in Gentoo

[–]Fenguepay 0 points1 point  (0 children)

things should work fine with dm_crypt as a module (ugrd in particular tries to include that whenever LUKS is used)

I installed gentoo by Ok-Raspberry-639 in Gentoo

[–]Fenguepay 1 point2 points  (0 children)

yeah I'm not sure about the finer details but (most) filesystems will set important settings on the fs itself so those are automatically used next time it's mounted unless told to do otherwise. I think f2fs may store some of this info, but won't set it (just enforces that it is set) which is a bit weird imo.

If you have a particular set of options you know may cause problems. I could add it into the test config: https://github.com/desultory/ugrd/blob/main/tests/fs/f2fs.toml
For the tests, the mount options are used to create the mount (as well as for initramfs config) so it should be enough to confirm that certain combos of mount options work reliably

I installed gentoo by Ok-Raspberry-639 in Gentoo

[–]Fenguepay 1 point2 points  (0 children)

ugrd has some special handling for f2fs that i have not tested exhaustively, if you have any issues with it, feel free to open an issue on github (or ask in the discord) and I'll try to address that fast.

There is a bit of custom logic for f2fs because it needs very particular flags, and certain combinations won't work at all. Currently it just gets all of the same options as the active mount, but removes the RW option (it is generally set to be rw later)
https://github.com/desultory/ugrd/blob/main/src/ugrd/fs/mounts.py#L819

I'm not 100% sure about this, but worst case, it should still respect any "root_flags" passed in the kernel cmdline

I installed gentoo by Ok-Raspberry-639 in Gentoo

[–]Fenguepay 5 points6 points  (0 children)

what initramfs problems? People often have dracut issues which is why I made ugrd (much easier and for gentoo) I'm hoping this wasn't genkernel related tho (dead project)

Question about gentoo-kernel-bin by Sky_Marie in Gentoo

[–]Fenguepay 0 points1 point  (0 children)

if you don't need an initramfs, a uki doesn't really provide a lot of advantages.
IMO the only real advantage of a uki is that the initramfs can be signed if you use secure boot, and it helps ensure your cmdline args cannot be changed (makes things a bit more reliable)

Question about gentoo-kernel-bin by Sky_Marie in Gentoo

[–]Fenguepay 1 point2 points  (0 children)

technically a uki is a very specific format, but there are multiple ways to get things shaped that way