!aZUzMIEZvEwnDquxLf:neko.dev

Gentoo

1397 Members
Talk about Gentoo stuff. Lightly moderated, i.e. try to keep topics Gentoo related and listen to the mods. Don't talk about politics, stuff like that never stays civil. (There are other rooms for that.) Also we love cats :3179 Servers

Load older messages


SenderMessageTime
30 May 2021
@deepbluev7:neko.devNicoMhm, fair09:10:18
@firefish5000:matrix.orgfirefish5000personally would use the directory just to put autounmask stuff in one place (zz-autounmask)09:22:27
@by_jumperx4:kde.orgBy_JumperX4Personally I have a package.use/aa-random (manual changes) zz-auto for portage automated changes and some others like kernel for kernel changes, browser, grub, ...09:27:08
@by_jumperx4:kde.orgBy_JumperX4but my package.accept_keywords is in one file, as I always unmask manually09:27:24
@nigerianman:matrix.orgnigerianman genkernel --makeopts=-j4 --menuconfig --lvm --luks --no-zfs bzImage 09:27:30
@nigerianman:matrix.orgnigerianmani ran this and it worked fine09:27:34
@by_jumperx4:kde.orgBy_JumperX4 --no-zfs ? 09:27:50
@nigerianman:matrix.orgnigerianman but when i did genkernel --lvm --luks initramfs
it failed
09:27:58
@nigerianman:matrix.orgnigerianman * ERROR: '/lib/modules/5.12.8-gentoo-x86_64' does not exist! Did you forget to compile kernel before building initramfs? If you know what you are doing please set '--no-ramdisk-modules'. 09:28:16
@by_jumperx4:kde.orgBy_JumperX4seems like your kernel is not installed09:28:31
@firefish5000:matrix.orgfirefish5000
In reply to @by_jumperx4:kde.org
but my package.accept_keywords is in one file, as I always unmask manually
ah, failed to read acceptkeywords .... yeah, that doesn't have much in it for me, single file. But use flags for sure
09:29:38
@nigerianman:matrix.orgnigerianmantheres a command i have to to install it?09:29:45
@nigerianman:matrix.orgnigerianman * theres a command i have to do install it?09:29:51
@nigerianman:matrix.orgnigerianmani thought genkernel installs it09:30:19
@by_jumperx4:kde.orgBy_JumperX4I personally prefer the "manual" way without genkernel09:30:25
@by_jumperx4:kde.orgBy_JumperX4I made some scripts that automate everything09:30:39
@firefish5000:matrix.orgfirefish50004 hrs of config once, and 5 min of oldconfig forever09:31:05
@nigerianman:matrix.orgnigerianmanall the online tutorial use genkernel 09:31:13
@nigerianman:matrix.orgnigerianman * all the online tutorials use genkernel 09:31:28
@deepbluev7:neko.devNico
In reply to @nigerianman:matrix.org
all the online tutorials use genkernel
Handbook has manual first: https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel
09:33:00
@by_jumperx4:kde.orgBy_JumperX4 cd /usr/src/linux
make nconfig # do your config
make oldconfig clean prepare all install modules_install -j<number_here>
emerge -v @module-rebuild
dracut --kver $(make kernelversion) --force
09:33:29
@by_jumperx4:kde.orgBy_JumperX4

and for updates, simply do a script like this :

#!/bin/sh
sh -c "cp /usr/src/linux-$(uname -r) ./.config ; make oldconfig clean prepare all install modules_install -j16 ; emerge -v @module-rebuild ; dracut --kver $(make kernelversion) --force ; sh /boot/grub-update.sh ; echo [DONE] Kernel version: $(make kernelversion)"

/boot/grub-update.sh may be replaced by grub-mkconfig -o /boot/grub/grub.cfg if you want to use grub-mkconfig, I prefer the manual way. It's another script I made

09:34:40
@nigerianman:matrix.orgnigerianman
In reply to @deepbluev7:neko.dev
Handbook has manual first: https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel
im trying to do luks with this preconfigured .config https://vminko.org/storage/a1/configs/usr/src/linux/config-5.10.27
but i keep messing it up somehow
09:35:14
@deepbluev7:neko.devNicoWell, I suggest just doing the guide on the wiki09:36:35
@deepbluev7:neko.devNico https://wiki.gentoo.org/wiki/Full_Disk_Encryption_From_Scratch_Simplified 09:37:34
@deepbluev7:neko.devNicoWell, that also uses genkernel, but...09:38:32
@nigerianman:matrix.orgnigerianman

why do they put it like this in the handbook?

Kernel

Activate the following kernel options:
KERNEL linux-4.9 Enabling LVM

Device Drivers  --->
   Multiple devices driver support (RAID and LVM)  --->
       <*> Device mapper support
           <*> Crypt target support
           <*> Snapshot target
           <*> Mirror target
           <*> Multipath target
               <*> I/O Path Selector based on the number of in-flight I/Os
               <*> I/O Path Selector based on the service time

why not just put the lines that you should put in your .config?

09:51:19
@by_jumperx4:kde.orgBy_JumperX4 because it's better to use make nconfig 09:51:46
@by_jumperx4:kde.orgBy_JumperX4it will automatically enable modules that depends on another module09:52:03
@nigerianman:matrix.orgnigerianman havent used make nconfig before 09:54:08

There are no newer messages yet.


Back to Room ListRoom Version: 6