Installing Gentoo • Re: Kernel: 7.3.5-gentoo-r1
Thanks. If I'm ever able to retire my old BIOS system, I'll try it. I have refind on my efi laptop, and while I don't love it, it isn't broken.Statistics: Posted by pjp — Tue Nov 24, 2026 11:37 pm
Posts from every feed QUEST has found across the web — blogs, news, podcasts, channels and more.
Welcome to Gentoo Forums, the mailing-list alternative.
Thanks. If I'm ever able to retire my old BIOS system, I'll try it. I have refind on my efi laptop, and while I don't love it, it isn't broken.Statistics: Posted by pjp — Tue Nov 24, 2026 11:37 pm
pjp,I look at grub and shudder. I'm a happy syslinux user. I only use grub under duress.Its configuration file is a cross between lilo and grub-legacy.Code: less /boot/EFI/EFI/SYSLINUX/syslinux.cfg...#7.3.4-gentooLABEL Gentoo with Initrd 7.3.4-gentoo MENU LABEL Gentoo 7.3.4-gentoo with nohz=off LINUX 7.3.4-gentoo INITRD initramfs APPEND root=UUID=85916fec-4a94-40b7-8522-44ff698b157e ro net.ifnames=0 acpi_enforce_resources=no amd_pstate=active amd_prefcore=enable kvm.enable_virt_at_load=0...It's…
I've considered using syslinux, but if I'm not mistaken, it expects manual use of dd.Only for copying the 440 bytes of assembly boot code to the Master Boot Record on BIOS computers. UEFI computers don't execute code in the MBR, so you just need to copy needed files to the EFI System Partition (with cp, no installer program for that) instead.Statistics: Posted by GDH-gentoo — Tue Nov 24, 2026 9:47 pm
And if that's the case, I don't know why it would be "no small task", it's a one time fix to a configuration file and one extra run of grub-mkconfig.That said, I do the same as Goverp.Yeah, I don't really understand ricky_rich85's issue beyond the general annoyance of the change and having to correct it.Ages ago someone informed me that I didn't have to use any of the new grub 2 configuration methods, so I continue to use the original manner of defining a kernel section. I think there may have…
[..]Then I ran the usual grub-mkconfig, and I got rid of additional, unneeded entries provided by my motherboard.There's an alternative method that I'm using for years: remove the executable bit from all files in /etc/grub.d except 00_header and 40_custom, then add your desired boot entries to 40_custom. You must update those custom entries each time you upgrade your kernel and then run grub-mkconfig, but that is a task that takes 5 seconds and can easily be automated as you build new…
I don't need a work around, this shouldn't have happened in the first place... now I have to rebuild my grub, and that's no small taskYou don't need to rebuild it. It is just an option - toggle on or off.I added these lines to my file:Code: /etc/default/grub# If set to ‘true’, grub-mkconfig will not generate bootnext menu entries for other EFI boot manager entries detected via efibootmgr.# This disables the entire 31_efi_bootnext script.GRUB_DISABLE_BOOTNEXT=trueThen I ran the usual…
I don't need a work around, this shouldn't have happened in the first place... now I have to rebuild my grub, and that's no small taskI don't understand why would you compile grub if you were told to set a variable in grub's config.I think he's referring to rebuilding his grub config file. I don't know if that means he lost information or only that he has to remove the unwanted entries. I could be mistaken.And if that's the case, I don't know why it would be "no small task", it's a one time fix…
As I comment every so often, grub-mkconfig is a heap of steaming ... functions ...Originally the documentation said its output was to get you started, and thereafter you could do stuff using the GRUB script language. I always took the latter route. It strikes me as insane to rung grub-mkconfig after each new kernel upgrade. Just install it as "vmlinuz.new" for ${Deity}'s sake, and write some trivial to rename current as old and new as current.Statistics: Posted by Goverp — Tue Nov 24, 2026…
I don't need a work around, this shouldn't have happened in the first place... now I have to rebuild my grub, and that's no small taskI don't understand why would you compile grub if you were told to set a variable in grub's config.I think he's referring to rebuilding his grub config file. I don't know if that means he lost information or only that he has to remove the unwanted entries. I could be mistaken.Statistics: Posted by pjp — Tue Nov 24, 2026 6:01 am
I don't need a work around, this shouldn't have happened in the first place... now I have to rebuild my grub, and that's no small taskI don't understand why would you compile grub if you were told to set a variable in grub's config. Are you planning to patch out the entire feature?Statistics: Posted by bstaletic — Tue Nov 24, 2026 4:53 am
To whom are you complaining? Gentoo has a practice of following upstream unless there is a good reason not to do so. As I interpret grknight's post, the behavior to which you object is a feature introduced in a new GRUB by its upstream developers. Therefore, unless that behavior was foreseen to seriously break something, it seems reasonable that Gentoo left the behavior at its upstream default.Statistics: Posted by Hu — Tue Nov 24, 2026 2:44 am
I appreciate the hard work you guy's put in, and in retrospect, I apologise for the harsh response, but gents, be more careful with releases, we're not playing Micky Mouse hereStatistics: Posted by ricky_rich85 — Tue Nov 24, 2026 1:56 am
If you are referring to the 31_efi_bootnext entries, this is a feature of GRUB 2.16. It can be disabled in /etc/default/grub:Code: GRUB_DISABLE_BOOTNEXTIf set to ‘true’, grub-mkconfig will not generate bootnext menu entries for other EFI boot manager entries detected via efibootmgr. This disables the entire 31_efi_bootnext script.In short, your UEFI firmware shows these entries and GRUB is reading them to be used.In 15+ years, I've NEVER had to amend grub or default/grub, when it comes to a…
If you are referring to the 31_efi_bootnext entries, this is a feature of GRUB 2.16. It can be disabled in /etc/default/grub:Code: GRUB_DISABLE_BOOTNEXTIf set to ‘true’, grub-mkconfig will not generate bootnext menu entries for other EFI boot manager entries detected via efibootmgr. This disables the entire 31_efi_bootnext script.In short, your UEFI firmware shows these entries and GRUB is reading them to be used.In 15+ years, I've NEVER had to amend grub or default/grub, when it comes to a…
If you are referring to the 31_efi_bootnext entries, this is a feature of GRUB 2.16. It can be disabled in /etc/default/grub:Code: GRUB_DISABLE_BOOTNEXTIf set to ‘true’, grub-mkconfig will not generate bootnext menu entries for other EFI boot manager entries detected via efibootmgr. This disables the entire 31_efi_bootnext script.In short, your UEFI firmware shows these entries and GRUB is reading them to be used.Statistics: Posted by grknight — Tue Nov 24, 2026 1:18 am
Just to confirm my plan, is it better to shrink the Windows partition from inside Windows first, check that the free space actually shows up, and only then boot into the Live environment to partition for Gentoo? Or is it safer to do the shrink from the Live environment after Windows is fully shut down?I shrunk my Windows partition twice from within Windows 11 while it was booted. You need the filesystem to be shrunk, not just the partition, or else you can lose a lot of data. Maybe the Linux…
@freke: no, my /var/log/rc.log does not show the services stopping. Only starting. Puzzling.@pingtoo: I backed sys-kernel/linux-firmware to 20260410 (dates back to July of this year) with no change.(I have an AMD chip and it does install an amd-uc.img in /boot, but that wasn't the cause.)Statistics: Posted by sublogic — Tue Nov 17, 2026 4:18 am
I've just tried extracting the latest stage3 in a chroot and then invoking emerge-webrsync.It worked, but more importantly, line 556 of /usr/lib/portage/python3.14/isolated-functions.sh is a comment.@Aries97, which stage3 are you using? Did you compare the checksum?Statistics: Posted by bstaletic — Mon Nov 16, 2026 8:30 pm
But, according to the Handbook, it is supposed to ignore that.https://wiki.gentoo.org/wiki/Handbook:A ... om_the_web NoteDuring this operation, emerge-webrsync might complain about a missing /var/db/repos/gentoo/ location. This is to be expected and nothing to worry about - the tool will create the location.So, has something changed in a recent portage version that it is now kicking out errors instead of just forging forward to extract the snapshot?Statistics: Posted by johngalt — Mon Nov 16,…
I got this error often. This always happen to me when I start a new project with only stage3 dumped but not yet finish populate gentoo repo. It usually happen because /var/db/repos/gentoo not correctly populate with ::gentoo repo content.In my case I need to setup NFS mount first and manually mount -m /var/db/repos/gentooStatistics: Posted by pingtoo — Mon Nov 16, 2026 12:57 am
More info coming.... The site logs me out if I spend more than a minute or so typing. I have to edit in a notepad like app on my cellphone, the paste it here. (Also the color modifications don't work inside a code block. Which I don't like. I'm confident we can have our cake and eat it too.)(chroot) livecd / # emerge-webrsync!!! Section 'gentoo' in repos.conf has location attribute set to nonexistant directory: '/var/db/repos/gentoo'!!! Invalid Repository Location (not a dir):…
I'm typing this on my cell phone and the damn website invisibly logged me out before I'd finished typing. So when I hit submit my question was lost. I'll type it up in a note taking app and paste it in.Statistics: Posted by Aries97 — Sun Nov 15, 2026 11:50 pm
power off is function of firmware. so having you update firmware, change kernel command line options since your last successful power off.Statistics: Posted by pingtoo — Sat Nov 14, 2026 4:43 pm
Hi sublogic,Since the inittab and the commands themselves have been ruled out, and it's not the kernel, the remaining suspect is what OpenRC does between "Deactivating swap devices" and the final poweroff/reboot call. A few things that could narrow it down:1. Enable logging so we can see where it really stops. In /etc/rc.conf, set: rc_logger="YES" rc_verbose="YES"Then try a shutdown again, power-cycle, and post the end of /var/log/rc.log. That should tell us whether it hangs inside swapoff…
Code: * Starting user.$USER ... * failed to start user.$USER * ERROR: user.$USER failed to startWhich I think is something to do with OpenRC, but I'm not entirely certain what thing it is. Would someone happen to have a hint to point me along my way?Automatic start of OpenRC user services on login. You likely don't have any; the error is harmless if that's the case.This may happen if you haven't set up a mechanism for setting XDG_RUNTIME_DIR.If you don't want to set up any, and the message…
Thank you again for all the help! The install seems to have gone smoothly (aside from the bit where I accidentally disabled the entire TCP/IP stack instead of just IPv6 in the kernel) and now I'm on to figuring out what programs I'll use for my goals and how to reduce some memory usage.There is one thing that has me confused that searching the forums and internet wasn't helpful for. When I log in with a non-root account, there is an error in the console that statesCode: * Starting user.$USER…
Just a friendly reminder:Sometimes it takes some time to get an answer.Sometimes it is to special that nobody else knows something.You can update or give feedback on your problems. But do it in a non-blog way. This is a forum and not a blog.So, if you have any updates or futher questions, ask them, but add context and remember this is not a blog about your journeyStatistics: Posted by Banana — Wed Nov 11, 2026 10:21 am
I've used this machine for many years and always had everything compiled-in to the kernel, thus no modules, and no initramfs until now.CONFIG_BLK_DEV_INITRD=N Statistics: Posted by skiwarz — Wed Nov 11, 2026 8:04 am
Hmm... If I omit the initramfs from the grub entry, I get the same result. So why isn't my initramfs being loaded?Statistics: Posted by skiwarz — Wed Nov 11, 2026 7:56 am
The possible things I think could be going wrong are:The kernel doesn't know which partition to decrypt. If I grep through the initramfs, I can't find the UUID of either the encrypted partition or the decrypted partition. But, on another machine where I have a similar setup (it uses lvm between the luks and btrfs layers, and has the initramfs compiled into the kernel, for bios reasons), its initramfs also does not have any UUIDs. So, I think just the kernel command line should indicate which…