Gentoo Linux: Stage3 Base Install
HTML-код
- Опубликовано: 5 сен 2024
- CORRECTION: wpa_supplicant IS indeed included in the iso. If you want to install Gentoo via WiFi and WPA or WPA2 refere to this guide: wiki.gentoo.or... - Thanks to @Mohammad Noorain for pointing this out in the comments.
In this video I am going to do a Stage3 base installation of Gentoo Linux. I am going to eventually expand to more videos next year. Gentoo Linux is a Linux distribution built using the Portage package management system. Unlike a binary software distribution (like Arch Linux), the source code is compiled locally according to the user's preferences and is often optimized for the specific type of computer. Precompiled binaries are available for some larger packages or those with no available source code.
Gentoo Handbook AMD64: wiki.gentoo.or...
** Become a Patreon to support the channel: bit.ly/3dGGZxQ **
** Follow Us on Twitter: bit.ly/3gKkPeR **
** Donate to the channel by visiting our Website **
My Hardware:
AMD Ryzen 9
32 GB RAM
Sapphire RX 5700 XT
My software:
Distro: Arch Linux
Video editing software: Kdenlive
Music: Jindupe by Lauren Duski
Check out our Website and connect on Social Media!
Website: ermannoferrari...
Facebook: / ermannoferrariit
Instagram: / efsoftwareandit
#howto #install #gentoo
The early Christmas gift is finally here
Your channel is amazing! I only use arch because of your installation tutorial. Thanks!!
Thanks!
one of the best channels i've found for sure
This is wholesome.
After a very long time finally a great video on Gentoo. 🎉
My heart felt wishes to you and your family. Happy Holidays.
A few points worth mentioning.
To give an idea of how long some commands take just type time in front of them. For instance time genkernel all will give you three times at the end of the execution.
At 21:28 the --make-rslave mount commands are only needed if you intend to use sytemd (in a blue Note in the Handbook)
At 25:48 You got a message "Unable to find kernel sources at /usr/src/linux" This is the result of doing a world update before installing the gentoo-sources. I know the handbook recommends doing a world update but they should also add to emerge the sources before doing that. Now some packages like portage have been compiled without the real sources.
At 33:51 You accepted the license for the 20201022-r3 version of the linux-firmware package which means the next time this package is updated you'll have to accept it once more.
It is better to say no to the question and then you type nano /etc/portage/package.license. In that file you put this line: sys-kernel/linux-firmware linux-fw-redistributable no-source-code, you save the file and reemerge the command. Now each time there is an update for the linux-firmware package you won't have to accept the license again !
Pay attention there is a space between the category/package and the first option and between the first and the second option !
At 36:02 It took a long time because neither did you edit /etc/genkernel.conf before executing genkernel nor did you give the --makeopts=-j5 option to the genkernel command. When you'll rebuild your kernel don't forget to do it like this: genkernel --makeopts=-j5 --menuconfig all It will go faster and you'll be able to tweak your kernel.
At 37:39 you rebuilt a package which was already installed. When you see a R in yellow without any change in the USE flags and without the presence of a small r before R the package hasn't changed so it makes no sense to rebuild it.
At 39:08 you use defaults for swap. You ought to use sw because defaults implies rw, suid, dev, exec, auto, nouser and async and some of these options don't make sense for swap
Don't forget to change the profile to a desktop one when you'll want to add a WM/DE. Don't forget to edit /etc/portage/make.conf and add the appropriate values for the variables VIDEO_CARDS and INPUT_DEVICES before emerging xorg-x11
Cheers
Hi Serge! Thank you so very much for this comment and taking the time to writing it! I'm definitely going to do it differently if I ever cover Gentoo again. I know Arch well, but still quite new with Gentoo.
I remember when I subscribed to your channel. I was the 600th or so a year ago.
One year later and here we are with Gentoo.
I hope next year we will see Linux from scratch and 10M subscribers.
Thank you!
@@eflinux not me, thank you instead. You’ve made Linux easy to access to many users.
Happy Holidays, Ermanno! Thank You for all the great videos
It’s been a very busy time for me Master, it’s only now I’m here. Thank you for providing us a class with Gentoo even though for my weak PC I think it would be a struggle compiling this stuff, so I’ll stay with Arch|Qtile until I upgrade my hardware.
Very helpful video. This was my second time using the video alongside the amd64 handbook to install gentoo. 👍
...::: sudo merry christmas :::...
Merry christmas and a happy new year Ermano ! From i3 to artix and now gentoo your channel has taught me a lot this year thanks ! Hope u have a nice year ahead
Thanks! Same to you!
@@eflinux Thanks man . Tbh when i first saw ur videos my impression was like whos this boomber ( no offense man ) but slowly i realised i had found gold . Ur videos are so simple yet explains everything. MAN U DA BEST
Haha, thanks man for your honesty! I always appreciate that and I'm glad you're enjoying the videos :)
One of the good things that this year has left me has been your channel, your explanations make linux easy, Thank you very much for the good videos and I hope you have a merry Christmas and a good year 2021. Greetings.
Thank you so much!
That was hard work. Thanks for taking the time to make the video. Happy holidays and have some special time with your family and your parents / in-laws.
Thanks! Same to you!
I wish every person showing or teaching linux was a honest and forthright as the brother here!!! So many act like they know when in fact a donkey knows more
Good video, I switched to Gentoo 2 months ago. It's such a good distro that now it's my daily driver
Wow! Nice! What is you like the best in Gentoo?
@@eflinux It's very flexible, customisable,fast and light. I use it with dwm
Nice setup!
Wpa_supplicant is available on the Live CD
Do you mean in the minimal live ISO or the SystemRescue ISO?
Never gonna install gentoo, probably, but I could not stop watching your video anyway, they’re very interesting, well done and well explained! Just a thing, I think in MAKEOPTS the number after the J can be the num of CPU cores +1, so in your case you could have used 5 instead of 4... again, beautiful video, can’t wait to see more, and buon natale!
Thanks! Buon natale!
Thank you Ermanno. Gentoo reminds me of the LFS project that I many years ago followed. A lot of work setting up the system, but with the bonus of high adaptability. I will stick with Arch, being a good candidate for me (somewhere btw Gentoo and e.g. Ubuntu). Thank you for all the good videos during 2020, and I wish you and your family a Merry Christmas and a Happy New Year.
Thanks for sharing and happy holidays to you too!
Thank you, for the first time as a complete newbie of gentoo, i managed the install on my laptop👍👍👍👌
Glad I could help :)
Thanks for the video! By following your tutorial, I was able to get gentoo installed on my system.
Glad it helped!
This is a very informative video, Ermano. Thank you.
I want to ask a question. Why should we use gentoo? and what do you think is good and bad about using gentoo?
I use gentoo too. But people around me say that gentoo is not a good choice.
I believe good or not depends on what you like. Gentoo is absolutely fantastic if you want to configure the system in every little possible detail. You can do this in every distro of course, but this is in my opinion the reason you'd choose Gentoo, besides compiling packaging instead of installing binaries. I go to Arch because in my case it hits the middle. It installs precompiled binaries, yes, but I can literally set up a machine with a DE or a WM in 30 min max, where in Gentoo it would take me much longer. Again, this is because it suits my needs better, but it is different for everyone. There is no right or wrong, there is only what is important to you.
Finally!
Great vid, thank you. I don't know if you noticed but when you set-up your locale, you set it as UFT-8 instead of UTF-8. Easily fixed though :-)
Didn't see that, thanks for pointing it out.
THANK YOU, im so happy after like 4 tries i finnaly did it and it was no easy task even using the genkernel
Great video as always, clear and simple.Thank you!
Glad you liked it!
37:33 "[ebuild R ]" means that package is installed and if you type yes it will be reinstalled
Thanks for making this tutorial,
you have have solved ba big problem of installing gentoo, 👍👍.
Thanks!
Really amazing help! Thank you very much! Happy holidays!
Happy holidays!
all day.. i reset my terminal and say "Let's clean up the terminal" in my best Ermanno impression....
I got so used to say that I say it every time I do it myself :))
jetzt muss ich doch etwas klugscheissen: eventually = letztendlich. ;)
sorry. :D
Oder "schließlich" :)
@@eflinux ich fürchte ich projiziere meine eigenen Fehler. :D
Wie auch immer... danke für die lehrreichen Videos und schöne Feiertage! :)
Danke, dir auch!
Happy holidays Ermanno
Thanks!
Your videos are amazing. Merry Christmas!
Thanks! You too!
A while since this was posted. But I would love to see more. It was very informative, and I will probably use for reference in the future. Actually been using Gentoo, but tried out Arch a little since I found this great channel. I like Arch. I like Gentoo because: packages can be stable, or they can be bleeding edge, or they can be a mix. Not sure if this can be done properly in Arch. Gentoo runs on any architecture. Have it on x86, arm64 and MIPS. It is also possible to patch packages with you own little fixes since they are actually the source (I have not used much, but I like the idea). It is very close to LFS, and therefore a clean and very learning experience to use. If using old hardware there is a little performance gain in compiling specifically for that cpu. Can't think of anything else right now :)
Amazing channel!
Small issue in video: 28:40 "UFT" instead of "UTF"
Fyi you actually dont have to use their installation media to install Gentoo. You can do it through a terminal in another distro. The more common way is to use one that has a live media you can use like Ubuntu. This way you can have the handbook open next to the terminal and just copy paste most of the commands. Also with this you can use something like Gparted to make your partitions. Its really just a faster more efficient way to install Gentoo.
Thanks for the feedback Jason.
wie immer ein schöner job
Danke!
This is amazing, a masterpiece as always, thanks a lot Ermmano... may I ask what are you using as your base system? the terminal looks very polished.
Hi, it's Arch. At the moment with Gnome.
@@eflinux my best wishes for you, happy holidays Ermanno.
The same to you Ricardo!
finally :)
Hard work. I would also like to combine Gentoo with SELinux! :)
Oh my, that is even more lot of work, but definitely interesting to see!
please make a video also to install a desktop or wm on gentoo what steps need to be taken......
Will do eventually sometime next year :)
@@eflinux great and informative video waiting for the next egarly
Great❤❤❤❤
merry christmas
Same to you!
Today I was trying to install Gentoo by the help of your video, but my system don't support UEFI so I messed up... Intel i3m 3red Gen 6Gigs of RAM HP430 notebook,,, but the way good guide...👍👍👍
Pls Man when pt.2 you are our hero
I'll do my best :)
Very helpful video. Thank You
Glad it was helpful!
I chose the desktop profile and it took me 3 hrs to update the world set 🙃
The world of compiling :)
Finally 🙌
netter Job Bruder
Danke!
best gentoo installation i ever seen
Gentoo is life.
Hey :) Informative video. Would you maybe have the time at some point in future to make one using systemd profile? I am aware that quite a lot of people use gentoo just because they can choose other init systems. I have tried to do a build using systemd profile, and failed spectacularly. Because at least I think that their page which point in the direction of continuation of systemd install is not as detailed as the default one.
Eventually, but I don't know when I'll do the next gentoo video.
Omg! You did what I asked!
Nice with installation on real hw, what are you planning on using it for? I use gentoo on my desktop pc with btrfs & my laptop has been Arch for a year. Happy holidays.
Just for the base install for now :)
A request is a video about arch linux hardening kernel and hardening the system.
Hello Friend! Will there be a continuation of the Gentoo Linux installation guide? It would be great to see how to install Gentoo + BTRFS + UEFI (Win10 secondary system on another hdd) combination. Thanks.
I don't know yet. I'll do my best.
I can really recommend using a VM a few times to get familiar with the install... I wanted to install Gentoo on my main system and got confused and also accidentally formatted my EFI partition for Windows by using sda1 instead of nvme0n1p1 and format that... So now I don't have any working system on my main rig :c
happy holidays!
im actually having issues with dev-lang/python-exec.2.4.6-r2 currently when running the emerge @world command. is that normal? it actually stops all other emerges when it happens
What kind of issues? I mean you need to give the messages which appear in the terminal when you execute emerge -avuDN @world. And what are your PYTHON_TARGETS?
Thank you so much
Could you make video about explaining distcc in gentoo?
I'll try my best in 2021 :)
Im trying to connect a wifi usb dongle (tp link) during gentoo installation and i cant. I
Very good very
i'd like to switch from Arch to Gentto to give it a try but all those commands lines makes me turn back... is there's any graphical installer, calamares or other doin the same bare installation ?
Great video
But sorry i dont like gentoo
It takes all of my time (about 11 h)
And then stoped on task 512
In xorg compilling
It take all of people life to setup apps
Thanks! Yes, Gentoo requires time to install. It is also the reason I will not be able to do many videos about it.
Next maybe gentoo with systemd?
Eventually :)
Yup
tfw i press enter right at 13:54 without typing in the rest of the command
*Don't forget to do the ritual after gentoo install*
*The ritual* : ruclips.net/video/VjGSMUep6_4/видео.html
Oh next time will do :)
you got my like 👍
Thanks!
I think you chose 'em' for root password, just joking it was only demo, thanks i use arch mainly but try other distros as well and this i had also put off for a while because of all the compiling. phew!!!
Linux from scratch. Please.
Is it possible to build Gentoo using windows subsystem for Linux on an secondary drive?
Probably, but I can't confirm that.