View previous topic :: View next topic |
Author |
Message |
Gloom_Scythe n00b
Joined: 01 Sep 2014 Posts: 17
|
Posted: Wed Dec 11, 2024 2:15 am Post subject: New install on new computer |
|
|
Hello Everyone,
It has been a while since I have had the pleasure of installing Gentoo. Getting ready to finish building my new computer after 15 years:
AMD R9 7900
64 gb of ddr5
2tb nvme
Older amd gpu.
I was looking up guides on secure boot. I saw 3 of them. Is there one that is better than the other two? I plan on generating my own keys and not use the microsoft provided ones. I do not plan on dual booting this time. I am pretty much done with Windows other than what is on my laptop. I have been reading up on zram and tmpfs. I would like to use my 64 gb of ram to hold most of portage and temp files if possible to avoid lots of read/writes on the NVME. Is there any advice on using tmpfs and what you guys suggest on the -j makeopts variable. The cpu is a 12 core 24 thread. I additionally want to install steam. I have a steam deck and I am blown away how far proton/wine/steam has come. Would a flatpak be cleaner than just compiling through portage? I plan on getting a nvidia gpu if the prices drop (hopefully) when the 50 series cards come out. What is the state of the nvidia drivers for gentoo? It has been close to 10 years since I have installed and used Gentoo. I see quite a bit has changed. I am super excited to see what compile times the 12 core processor will provide! |
|
Back to top |
|
|
CooSee Veteran
Joined: 20 Nov 2004 Posts: 1476 Location: Earth
|
Posted: Thu Dec 12, 2024 12:02 am Post subject: |
|
|
Welcome back
don't know which you mean, maybe this will give you some inspiration https://gentoo.duxsco.de/
you need to get many informations as you can beforehand - to get comfortable and to be really sure what you are doing, or you'll waste some time.
Quote: | I am pretty much done with Windows |
" good, good, welcome to the dark side young padawan "
Quote: | I have been reading up on zram and tmpfs... |
https://wiki.gentoo.org/wiki/Tmpfs
can't say much about tmpfs, because i don't use it.
Quote: | Would a flatpak be cleaner than just compiling through portage? |
you'll have lesser control with flatpaks - never liked flatpak at all - makes no sense to me on a source based system.
Quote: | I plan on getting a nvidia gpu |
PIA - imho - you'll have more fun with AMD and it's waaay cheaper.
Quote: | suggest on the -j makeopts variable. |
https://wiki.gentoo.org/wiki/GCC_optimization
you can play around with this great TUI Inface, e.g. try out on a VM https://github.com/oddlama/gentoo-install
i hope i could give you some hints.
_________________ " Die Realität ist eine Illusion, die durch Mangel an ehrlicher Kommunikation entsteht "
---
" Der Mensch ist von Natur aus neugierig, was am Ende übrig bleibt ist die Gier " |
|
Back to top |
|
|
pingtoo Veteran
Joined: 10 Sep 2021 Posts: 1324 Location: Richmond Hill, Canada
|
Posted: Thu Dec 12, 2024 2:38 pm Post subject: |
|
|
Gloom_Scythe,
tmpfs vs zram.
I use zram for my gentoo build process it for same reason I wan to reduce I/O on my SD card.
Code: | | zram | tmpfs |
|----------------------------------------+---------------------------------|
| Not VM, so no swap | Use VM, i.e. swap |
| allocate when use | allocate when use |
| optional backstote but need many flush | no backstore, swap is backstore |
| 20GB is 40GB (compress) | 20GB is 20GB (no compress) |
| no file system, rebuild after reboot | ready to use, no mkfs |
| possible mix LVM for enlarge | fixed size |
| | |
|
|
|
Back to top |
|
|
Gloom_Scythe n00b
Joined: 01 Sep 2014 Posts: 17
|
Posted: Thu Dec 12, 2024 6:02 pm Post subject: |
|
|
@CooSee,
This is the guide I was looking at regarding secureboot:
https://wiki.gentoo.org/wiki/Secure_Boot
I saw there was 2 other ones… looked to be older. One from I think Sakura (misspelled?)
The last time I installed there was still stage 1 and 2 hehe. Tried one other time after that, probably 10-15 years ago and my ssd at the time died… never had time to do the install till now. I might VM windows in linux if i need to use it for work. I will do the gentoo route regarding steam. Debating on whether to select the multiprofile or not during install.
So you two recommend zram instead of putting the whole portage tmp folder in ram? Just waiting on my power supply and the.mn I can get started. I have an Amd fury that I will probably use until I find a reasonable gpu. I still would prefer nvidia. I like the rtx stuff… even though it is a bit gimmicky. Did kde and gnome go full on wayland yet? Still catching myself up on all the changes! Gentoo has come a long way! |
|
Back to top |
|
|
pingtoo Veteran
Joined: 10 Sep 2021 Posts: 1324 Location: Richmond Hill, Canada
|
Posted: Thu Dec 12, 2024 6:15 pm Post subject: |
|
|
Gloom_Scythe wrote: | So you two recommend zram instead of putting the whole portage tmp folder in ram? | There are extra work if use zram.
I use zram over NBD from several nodes because I am mainly using ARM SBC.
I am not recommending one over the other because there are procs and cons that depend on you own usage.
I know for ARM64 building over 1500 packages I need at least 40GB storage for /var/tmp/portage and /var/cache/binpkgs (I do build that also produce binary package) at the end of build I sync binary packages in to a disk storage. |
|
Back to top |
|
|
|