G
I'm switching to an encrypted root partition, and I can't get past a kernel panic with the old "not syncing: VFS: Unable to mount root fs on unknown-block(0,0)."It's an nvme drive set up with two partitions:Code: nvme0n1p1: efi partition (500MB)nvme0n1p2: luks-encrypted (500GB or so) |___ > decrypted btrfs filesystemFor the initial setup/install, I mostly followed https://wiki.gentoo.org/wiki/Rootfs_encryption though some portions don't apply (like a bootx partition for example). I used dracut…
G
5. As a test, does openrc-shutdown --poweroff now (or rc-shutdown) behave any differently?Nope. No difference.Statistics: Posted by sublogic — Wed Nov 11, 2026 2:56 am
G
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…
G
I have a very similar issue, although I cannot see the last message because my screen turns black.I noticed that it is kernel related, if I boot a 6.x series kernel (even very recent ones) the system powers off correctly using ACPI. If I boot any of my 7.x kernels, it doesn't, it ends up with a black screen and stays there.So it can't be a userland thing, a script thing, but it is kernel related!Mine was not kernel related, since restoring old kernels back to 6.6.62 didn't fix the…
G
I have a very similar issue, although I cannot see the last message because my screen turns black.I noticed that it is kernel related, if I boot a 6.x series kernel (even very recent ones) the system powers off correctly using ACPI. If I boot any of my 7.x kernels, it doesn't, it ends up with a black screen and stays there.So it can't be a userland thing, a script thing, but it is kernel related!Statistics: Posted by multix — Mon Nov 09, 2026 2:34 pm
G
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…
G
Gloom_Scythe,I'm still here, thank you.I'm not sure why you would do secure boot with an untrusted binary blob kernel module.You can but you have to build and sign everything yourself.This is because to sign things you need the private key.Nobody will share a private key, so you have to make your own.To use your own key, it needs to be added to the key store, probably the TPM. There will be keys there already. Leave them. You cannot get them back if you remove them.Now you have your own private…
G
Welcome back, Gloom_Scythe,I guess you have already read our Wiki article about SecureBoot: https://wiki.gentoo.org/wiki/Secure_BootMaybe you want compare it with my (old) post about my installation of my stub kernel: viewtopic.php?p=8492354#p8492354... but I would like to ask you WHY you want SecureBoot? Do you know what SecureBoot protects you against on its own? (=against nothing at all).... You would need more than that. Perhaps you’d like to read my article on offline tampering:*…
G
I am curious, why you want to have secureboot for your desktop? Do you envision someone you don't know have access to your computer physically?I suggest you get a working Gentoo first then try to enable secureboot as second steps.Statistics: Posted by pingtoo — Fri Nov 06, 2026 9:12 pm
G
Hello Everyone,It has been a long time!!!! I gave up on my gentoo installs on my new (now old laptop). My non-systemd gentoo install on my 15 year old computer works great.I built a new computer about 1-2 years ago before the nand/ram prices got bad.CPU:AMD 7900 (65 watt. Chose not to overclock. Love it because I didn't need a massive cooler! Old desktop was an FX-9370 220 watt.. ouch)MOBO: Asrock steel legend x870Ram: 64 gb ddr 5Storage: 2 tb nvme pcie 5GPU: Nvidia 5070 tiSound: Creative AE-7…
G
Thanks for the efivarfs tip and the explanation about shrinking. That makes sense now, files at the end of the filesystem have to move first, so shrinking while Windows is running is not always straightforward.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…
G
Thanks for the link to the header, bstaletic. I missed the curl commands to test when I read through before. I'll look into the resolve-march-native package, that seems a lot easier than piping a gcc output to a file like I did last time.The Olde Way seems to be exactly what I needed, thanks NeddySeagoon. Got everything partitioned up and we'll see if it gets unhappy when I finally install a bootloader. (I cheated on the portage db and piped it to a "grep ca-", worked fine.)Statistics: Posted…
G
JaRGoP,The whole saga of partitions in documented on the wiki The Olde WayThe long and short of it is that BIOS with GPT mostly works but there a few brain dead BIOSs the wont work if they spot a 'protective' MSDOS partition table. The only way to know is to try it.The separate /boot partition is only a hard requirement for BIOSes that cannot read the whole HDD. That's not as common as it once was. Its safe to read portages mind to see what is installed. For ca-certificates, look in…
G
Welcome to the forums!...CA certificates...Are you talking about the recent eMudhra blunder? If so, they were kind enough to provide a few checks.https://emudhra.we-have-a-problem.com/#checkThe CPU...-march=native will let gcc/clang optimize generated code to your CPU. There's also resolve-march-native package, if you want to know what "native" actually means....GPT with BIOS...That combination works just fine. As far as I remember, only GRUB has a quirk there. You'll need a partition of ~2MB…
G
Hello Gentoo Forums! I'm in the process of beginning an install on an older laptop I have kicking around, and have a few questions. I put Mint on it temporarily to just make sure drivers all worked, and have a recent (20261025) minimal image on a DVD. I've installed gentoo once before about a year ago, but had to switch to Debian due to a lack of time to keep the install up to date.I believe that is new enough to have replacement CA certificates, but emerge/equery seems to not be available…
G
Kacey Noms,Shrinking a filesystem that in in use is not always possible.A file in use cannot be moved and you need to move files from the end of the filesystem closer to the start, sa that you can shrink the partition to just hold the filesystem with some free space.Consider what happens when a file at the end of the filesystem is in use.If /sys/firmware/efi/efivars is mounted and populated, that tells the the system booted in EFI mode.In BIOS mode /sys/firmware/efi/efivars coes not exist and…
G
One more thing about efivars, there used to be a time where those weren't mounted by default.I don't know how much have things changed.If it isn't mounted, try mounting it.Code: mount -t efivarfs none /sys/firmware/efi/efivarsStatistics: Posted by bstaletic — Fri Oct 30, 2026 8:44 am
G
Thanks everyone, this really helps — especially the UEFI check and the desktop-stage3 point, I had not realised the pure stage3 could cause that problem later.I have backed up my important files already, so I am leaning towards keeping Windows for now, just in case, and wiping it later if Gentoo works out. I will check in the Live GUI whether that EFI folder exists, to confirm UEFI vs BIOS first.One quick follow-up: if I keep Windows, is it better to shrink the Windows partition from inside…
G
I can't get past the boot screen where it says "Loading initramfs". What could the problem be? I can hit the capslock so its not a kernel panic. I tried adding 'nomodeset' to the "linux ..." directive in 'e' of Grub. But nope!https://www.limitsite.com/images/pics%2 ... 970.MP.jpg How did you generate your initramfs? Does the LiveGUI work if you use nomodeset with it?If you use dracut (especially with full disk encryption), then a common issue is that you forgot to add your GPU driver kernel…
G
I have an old office PC that runs Windows very slowlyIf you are able to reinstall Windows, it might be worth doing that first if you choose to keep it and dual boot. A reinstall can "clean up" some things that make it run slower over time. While reinstalling, I think you should be able to change how much disk space it uses. I haven't done a Windows install in a long time, so I don't know if they've removed that option.If you can't reinstall Windows, then that might help you choose whether or…
G
Retaining the option to dual-boot is more work than wiping away Windows, but as Neddy says, not that much extra work. If you are not absolutely confident you want to abandon Windows, I would recommend keeping it for now. Removing it later when you are sure you do not want it is much less trouble than getting it back if you wiped it and then decide you wish you still had it.Statistics: Posted by Hu — Tue Oct 27, 2026 2:32 pm
G
[...] A few beginner questions:[1] For a simple desktop setup, is dual boot worth the extra trouble, or is it easier for a first install to use the whole disk?[2] How do I know if my PC is UEFI or BIOS, and does that change what I should choose for partitioning?[3] For a basic desktop, which stage3 and profile should I start with, so I do not pick something meant for a server?[...] [4] Any simple guidance for a first-time installer would be really helpful. Thanks in advance.1. IMHO it is not…
G
Kacey Noms,Welcome to Gentoo.Keeping Windows and dual booting is only one ore two extra steps. To keep Windows, you need to shrink the filesysetem and partition that it uses so you have space for Gentoo.You can change your mind later, if you want to wipe Windows and use the space for Gentoo.You will need to determine if you have BIOS or UEFI before you go very far and pick which one to use. Most systems have both.Go into the BIOS settings and look for two options.Compatibility mode, this…
G
Hello and welcome.Those are all valid questions, but don't overthink it.A good start would be, for a common understanding and discussion base, to read our install handbook. Based on that content your questions will have a common ground.Statistics: Posted by Banana — Tue Oct 27, 2026 7:52 am
G
Hi everyone, I am Kacey and I am new here. I have an old office PC that runs Windows very slowly now, and I would like to try Gentoo on it for basic daily work, browser, documents and email, nothing fancy.I have booted the Gentoo Live GUI and started reading the handbook, but I am stuck at the partitioning step. I am not sure whether to keep Windows as a dual boot or wipe the disk completely, and I do not want to lose the files already on the PC.A few beginner questions:For a simple desktop…
G
I don't remember changing /etc/inittab but here it is just in case.diff -u finds no differences between my /etc/inittab and the raw download of yours. I always use shutdown -h now / shutdown -r now (as appropriate), and get an orderly shutdown ending in power off / orderly shutdown ending in reboot, respectively. I have read about people encountering the shutdown ending in the system remaining up, but that does not happen for me.Statistics: Posted by Hu — Wed Oct 21, 2026 1:15 pm
G
I agree, it looks like a halt in all three cases.The "-hp" was a typo."shutdown -r now" also halts.I don't remember changing /etc/inittab but here it is just in case.Statistics: Posted by sublogic — Wed Oct 21, 2026 2:14 am
G
I concur with flexibeast.Unless there's an update I haven't run into yet.I use the following (reboot is less common):/sbin/shutdown -hP now/sbin/shutdown -r nowStatistics: Posted by pjp — Tue Oct 20, 2026 8:21 pm
G
Some time not too long ago, somebody decided that "shutdown" means the behaviour you see, whereas what you want is "poweroff". So the latter is now the command to use.I've never used 'reboot' but 'shutdown -r now' works as expected/it always have for me on my systems (Proxmox VMs and some headless barebones - all OpenRC)Statistics: Posted by freke — Tue Oct 20, 2026 7:13 pm
G
Some time not too long ago, somebody decided that "shutdown" means the behaviour you see, whereas what you want is "poweroff". So the latter is now the command to use.Statistics: Posted by Goverp — Tue Oct 20, 2026 9:10 am