DT, you've edited the wrong make.conf in the beginning! You weren't chrooted yet, but you've pointed vi to /etc/portage/make.conf and not /mnt/gentoo/etc/portage/make.conf at 19:10 that's why probably compilations took so long.
Yep. That is definitely the problem. That's me not looking at the handbook while doing stuff. Good catch. EDIT: I'll fix that in case I do a future video with that VM.
@@DistroTube Did you map the guest CPU features to the host CPU features? If not, you can't use -march=znver1 So -march=native is better in both cases. If you did the mapping then -march=native will get those features, if not you can't use them. znver1 is used to get the precise set of instructions for the zen architecture in the case you want to optimize your system for instance through manual configuration of the kernel but you didn't follow that direction.
@@serge5046 native is always better than just the family optimizations. In many cases the code is more specific to the exact chip you're having, rather than guaranteeing that it will work on the entire family of these chips.
@@serge5046 Hmm I thought that was true for the previous release? I'd bet that the latest prerelease should support it fully though :) A nightly build may be even more comprehensive
ehh why is that? The process of installing Arch and Gentoo is almost same. Preparation of Disk in particular is exactly same. Then mostly just follow what Gentoo wiki says. Of course in Gentoo, you customize your kernel, compile, and wait for lots and lots of hours.... I have tried Gentoo but stopped it after 4 hrs because I was impatient. I would rather stick with Arch. In which I could also customize my own kernel and use it than wait for hours and hours of just comping Gentoo even packages
@@tuzuh Yeah probably I made a mistake. But I remember that I was setting up with systemd that time and as DT said, setting with systemd is just complicated but I was hard headed ha ha... But I may try again when 5.13 kernel is on Gentoo as I have newer hardware.
@An A. WHY DONT YOU WANT TO TAKE OUT INTEL SUPPORT ON TUXKART RACING TO MAKE IT 5KB SMALLER AND MAKING NO NOTICABLE PRFORMANCE INCREASE? AND SPEND 5 HOURS COMPLING IT?
I'm sitting here wondering to my self.. how did I get to a point where I'm actively watching a Gentoo installation and enjoying it. Thanks as always DT
1 hour 11 minutes ? No way a Gentoo install can be that quick. Last time I did it took me 3 days (granted that was including the KDE desktop environment) .
Yeah, it's bullshit. Anyone who says "installing Gentoo is easy" is lying. While it's true that the basic steps are straightforward, there is ALWAYS some stupid problem in EVERY release that takes manual troubleshooting to fix. Gentoo developers are lazy and they should be ashamed of themselves.
I tried gentoo around 2001 and quickly decided and I don't need to spend my life with a system like this, it's got it's people and I ain't one of them. Vanilla Arch is fine for me.
installing gentoo to me is like learning classical music (learn all music theory and if you play instruments, then you have to spend a lot of time to practice which classical music is difficult to play same as jazz) and gentoo & classical & jazz are very niche
@@deusexaetheraI've never everywhere faster KDE, opportunity to skip systemd, high percentage of solvable problems. So, it's a question if it's really dying. Compare with arch. It shows a prominent drop on distrowatch.
Yesterday was my big day: I achieved 1080p60 recording in OBS, was like impossible to me for years. I made psychonauts 2 review, completely on my Arch installation, without even any proprietary software (used kdenlive + obs + gimp). I even managed to record gameplay video of that game. It just came out. I'm so happy with this goal reached. I'm also very happy that I can now be free of any proprietary software and still make videos. I was making videos for years in sony begas and then in premiere pro for some more years. All of that would be impossible if not your easy arch installation guide. Thank you, DT!
I've been using gentoo since gentoo has been available. Since 2001. I have never installed it like this. Not even once. Take advantage of what linux has to offer. You don't need to install it in place. On final hardware. You can just install, upgrade and perfect it in chroot. Here's what I do. I look for a machine with reasonable hardware and some reasonable space. Without vm or anything fancy, you just pull stage 3, unpack it in some random directory (personally i prefer ramfs or tmpfs to do this), and mount dev proc sys dev/pts dev/shm, then install it to your heart content (in chroot). you can take as long as you want with this step. install X & gui too. browser. whatever. When you are done, you unmount dev proc sys dev/pts dev/shm and whatever else you needed in the process, tar the whole thing up as YOUR stage3, and now when you just do partition, formatting, untar, grub and ye done.
At 10:50, you can see the partition reads out GiB instead of GB. This is a Gibibyte, which is the binary measurement for bytes instead of the decimal Gigabyte measurement. Most manufacturers and developers use GiB, but label it as GB out of habit, like how drives A and B on Windows are still reserved for floppy drives unless manually assigned.
@@bittertruth6575 Scamming to sell you more than you thought? You realize that if you''re buying a brand new 30MB drive and you're thinking that you get exactly 30 million bytes, but they really meant MiB's then it will be *more* than 30 million bytes? Where's the scam in that?
In Norway we made a concept called "Slow TV". It's where you have a ferry, and you stick a bunch of cameras to it. And then you film the ferry going on its merry way while you show various views from it, in real time. If the ferry ride is five hours, then the broadcast is also five hours. No talking. Just the ferry. Water. The mountains. Weather. Five hours. Like if you had to be on the ferry yourself. The surprising part was probably that those shows were quite popular!
11:06 Note that sufficient swap space is needed if you inted to use hybernate on the machine. So if that is the case use a size of swap greater then your RAM size.
@@TruthDoesNotExist That's not what it was originally meant for and is not the primary use for it, but "hibernation" (aka "suspend to disk") was implemented by using the swap partition - a choice I'm not completely happy about.
Thanks man, actually I have just finished my first Gentoo install yesterday, I decided to try directly with systemd and I achieve it, it isn't that hard, but I really appreciate your video because I think many people here (me included) trust you better than other people over the internet and also I like how you always recomend us to use the wiki and guides, you're the best really, thanks
@@TheBlueThird @world like 7 hours, kernel like 4-5 I leave so I don't have the exact for kernel, and kde meta 9 hours, it's important to say that I have an old CPU A10 6800k so many of you will do it in much less time
@@yuliandavid1810 the hole system to be usable with plasma 1 and a half day, but to log in in terminal a day I started at 9am left when compiling an booted successfully at 11pm
37:13 I’m glad that was one of the first steps you mentioned. Most of the Linux guides I run into talk about nano. But VIM is really all I’m comfortable with as far as text based editors go.
So glad to see your presentation of this distro install. Plenty of other videos out there, but I appreciate your approach to instruction more than most others. Thank you for all the effort it took to edit this down.
I must admit while I love your content and watch it regularly your voice is just ideal for falling asleep and I like to play lengthy video like this before going to sleep 😅.
7:02 Ctrl + c actually doesn’t kill ping, it sends a SIGINT to it, an interrupt. The is nothing bad about this, is a graceful stop when the process recognizes the interrupt and reacts accordingly. Even Killing a process with kill is actually sending an SIGTERM to the process which gives it the chance to clean up after itself. Only kill -9 really kills a process by forcefully removing it from the kernel.
I love gentoo! I've been daily driving it for a few months now and I absolutely adore it :) My linux journey started with arch linux running dwm which I've stuck with from the start, dwm is my favourite window manager (I'm working on a dwl config for wayland). I really enjoyed Arch but I wanted to give something other than systemd a try although I have nothing against it it's a great tool that makes system management across servers really consistent and handy! So I switched from arch to artix which I also really enjoyed but it made using the AUR kinda difficult at times since I was still new to linux in general and wasn't comfortable with init management so to learn more I forced myself to switch to gentoo and have been learning so so much. Over the last 6-8 months of since I switched to linux I've really fallen back in love with computers and technology and would recommend it to anyone, I recommend fedora to anyone who is tired of windows and wants a comfortable place to start learning something new. I'm so glad you did this video sharing gentoo with a large new community, it's a magnificent operating system that facilitates so much learning and customization and freedom :) Thank you DT, I appreciate your work!
Gentoo software installation reminds me of Yaourt AUR always compiling software, which I honestly prefer, because I get to see how standards-compliant the software I use is.
Ahh yes good stuff! I am currently triple-booting, manjaro, gentoo,arch. But gentoo took so much time especially qtwebkit and gcc. I used the old guide made by you
1:09:29 no you don’t! This is exactly what gentoo is about: managing installations from source so it doesn’t get overwhelmingly complicated instantly with updates, keeping Makefiles somewhere in case you want to uninstall etc. What you want to do when software is not available in a layer (repo) is write an ebuild file that automates fetching the source code and compiling and installing it. Then portage will manage the rest for you like keeping in mind you installed that package, uninstall it etc. also you can then write packages that depend on that package and when installing then portage will know that the dependency is fulfilled. But in this case you’re lucky, because dwm is already in the official gentoo layer. I you need the very latest version from a package, say dwm, just install the package that has version 9999. this one automatically downloads the default branch in GitHub to compile from that. (Be are that his is a alpha version of course) I know dwm is managed by changing the source. But you can write user patches instead, that would be a really clean solution
for people getting an error with grub-install named: cannot find EFI directory. To fix this, you need to change your --target. grub-install --target=i386-pc /dev/sda also please note that if you are dual booting, install grub on the entirety of the HDD, not the partitions.
Did this last month! I used genkernel as well. It was an amazing experience for me. Especially how portage works with All the flags, usepackages, etc. I feel like it is not something I can use as a daily driver though
Bravo! Bro, that was hardcore. I got a little loopy just watching you type out all those commands. And having to wait for all that crap to emerge???.... Had to be killer. Also, I can appreciate that you prefer vim. I was a nano everything person initially. But now, I don't think I can do without vim. I feel pretty good noticing the undos and replaces that you did in the video. I can see where Arch and Gentoo are very similar. They are like mirror images. Arch is more modernized than Gentoo, but the installs are quite similar in form. The main difference (which is a huge one) is that Gentoo is oriented towards building everything from source, but a well-placed binary install can save you from killing yourself. It is basically fully customized. Arch, on the other hand, is oriented towards building everything from binaries, but a well-placed build from source (like a kernel) can optimize your system even more --- and make you feel like you have super powers. It is less customized, since it's geared only towards x64 architecture. In both cases, you build your system the way you want it. It's just that with Gentoo, the cost of adding more stuff than you really need is very high; while with Arch, it's much lower (mostly negligible). I have installed Gentoo before. Never again. I even tried Sabayon, but I couldn't deal with the updates. I really, really love Arch. But, these days, I can't even give the time to install and configure Arch. So, I've been rolling with EndeavourOS instead. Most recently, I've been checking out Fedora.
i plan on falling asleep to this video dt. These comments are fun. I love the silly people. You guys rock! You do too, bud. I am curious to what keyboard you have?
DT, you've taught me a lot. You took me from a person who's clueless about Linux to a poweruser. Somehow though, I feel differently towards you now. I don't know why but your videos fell unprepared and filled with mistakes that could easily be avoided. This happened both when you installed Arch and now when you installed Gentoo. Please try to somehow remedy this :) Regards, Träy.
1:00:35 - If you look closely to the output of emerge you could see a bright yellow "R" in front of e2fsprogs which mentions that it is already installed, but because you wanted that, portage (emerge is the frontend-tool of portage) Reinstalls it for you. Also it adds e2fsprogs to the world-file. (The Set definition of @world). In the Handbook right above the section about the different tools for the different filesystems it mentions that e2fsprogs is contained within the @system set. Which is always also a subset of @world. ;) so it is already installed.
I know it's a lot easier to do the recording if you install in a VM. I would respectfully suggest/request that having an actual, physical machine addresses far more issues. I think the viewers would get a lot more out of it. Dealing with making space on a hard drive, dealing with UEFI, determining the partitioning, selecting and configuring drivers, dealing with multiple monitors, or a 4K monitor, this is the "hard" stuff that people really benefit from seeing. I think doing this would put you in a class by yourself, because most everyone else I've seen do installation videos uses a VM. The part that we can see from a VM installation is pretty easy, and it dodges the kinds of real-world constraints and requirements that a user might have. I hope that didn't come off as a complaint. I love your videos... And I love your hair! ;-D
@@PhayzinOut Or perhaps you could imagine that he understood it but is still suggesting getting another machine for this kind of videos, that's the most plausible hypothesis considering the form of his message. Use your brain a bit before being condescending.
@@heroe1486 Or maybe it''s laziness on the viewer's part because his brain can't realize not everyone's PC has the same specs. Try using YOUR BRAIN and critical thinking skills before defending some random nobody on UA-cam
"Today I'm gonna be running through an installation of Gentoo." I'm sorry. Gentoo's existence only serves as a warning to others. Gentoo is really just LFS with Portage in it. *I love you Gentoo, don't worry*
I think this is the second time you've done this install on your channel,@DT. I love how you start off with, "these are the same commands on hardware as VM." Then, you switch it up right before you start. In both videos. 😈
I agree that it is not difficult. Especially when you stick to the Handbook and don't come up with a strange partition scheme, the base system should be up in under an hour (provided internet speed is not a bottleneck and you need hours to download the packages). Even more so since Gentoo provides the distribution kernel, which even lets you skip compiling your own kernel. I think I need to do a Gentoo installation speedrun. :)
Thank you DT. Good job. Yes, your ending statement is essentially a universal Gentoo user motto in regards to the reboot after completing the grub config. Compiling grub shouldn't take more that 10 minutes on any amd64 machine. I noticed you blew threw the useflag selection. That and you only had a gig of swap vs your ram. GCC likes to cash to swap while doing multiple compiles (ie you set your make.conf to j6). How can I say this... In Gentoo, GCC will try to simultaneously compile as many separate sections of code that it can. Also, if you defaulted to all the use flags. Then the support for those programs will be included in each and every program you compile if that program supports it. Keeping your use flags to just what you want is essential for sanity. The last time it took me over an hour to compile a kernal was when I was on an Athalon dual core... A long time ago. But all in all. You did a good job. Any Gentoo install that results in a successful initial reboot is cause for celebration.
If Linux distro installation processes were Doom difficulty levels: I'M TOO YOUNG TO DIE - Ubuntu HEY, NOT TOO ROUGH - Fedora HURT ME PLENTY - Arch ULTRA-VIOLENCE - Gentoo NIGHTMARE - Linux From Scratch ULTRA NIGHTMARE - Debian GUI installer
Man! Installing Gentoo with GNOME takes super long! It took me 4 hours just to compile (not including the kernel)! I have an i7 and 8G of RAM. My desktop was made in around 2016.
I have done a few Gentoo installs. The more CPU cores the faster the install. I am no expert but if you read and pay attention to the Gentoo manual the base install goes fast. I would recommend using a host machine then ssh to do the Gentoo usb booted target machine via ssh. Then cut and paste commands from a manual or from your notes. Been running my Gentoo box for about a year and it runs with both a xfce4 desktop and spectrwm window manger, I just edit the ~.xinitrc use the startx for the GUI system I want by just commenting out the .xinitrc for either the desktop or the window manager depending on what I want to run with that day... :) Gentoo is good .. I like it ...! :)
You should do it in HW, compiling times would be way better without virtualization. Also after a fresh install on HW you can notice how fast it goes even without optimization. It’s like a Ferrari that you build with ikea manuals.
@ 57:06 Gentoo does not require a complicated password, in fact you may leave it blank for a normal user. Root requires a password but it can be quite simple if you wish, it just warns you if its week.
The 'emerge --ask --verbose --update -- deep --newuse @world' can also just be typed as 'emerge -avUDN @world. Also, the ask command is not needed. Without using the ask command you won't see the "Would you like to..." verification. without ask it assumes you want to do all of that with a yes.
The Gentoo documentation writers need to write the full from arguments/options because they are self-descriptive for the most part. And DT needed to follow Gentoo handbook exactly so that the viewers knew what was going on. If documentation writers or DT used short-options, they would have to explain what each letter stood for and that would make the video/handbook way longer than needed. They don't want that. It would have been better if documentation writers wrote those commands like this Run 'emerge --ask --verbose --update --deep --newuse @world' or 'emerge -avUDN @world' It would have made everyone's life easier but unfortunately that's not the case.
👌, got it installed on 2 laptop 🥔's using dwm. Getting wireless internet to work after reboot was my biggest problem. Love the USE flags side of gentoo. The wiki is easier for me to understand.
49:00 - my first go installing gentoo, I configured and compiled my own kernel. None of that genkernel or kernel-bin crap. That was, once again, 16 or 17 years ago.
Correction, Makeopts should be set to the number of logical CPU cores (threads) not the number of physical processing cores. In the context of a virtual machine it’s the same but for anyone installing on hardware this would be a mistake.
49:10 - genkernel just hang up on the downloading the package stage... it wasnt even starting to compile anything. Also genkernel itself is not a kernel. It's a tool to automatically compile a default all-beans kernel and build an initramfs to support a wide variety of startup options. So yeah... something was up there.
37:17 I noticed that he didn't actually set his make_opt in the right make.conf file. He did it in the iso's make.conf when he should've done it in the install's make.conf
With my VERY basic knowledge of installing base arch linux, some lot of this process is pretty familiar... that said I probably won't even attempt this until I've proved myself with arch linux. Very interesting though!
For me, the genkernel in a Virtual Machine with 4 CPUs, installed in about 4-5 minutes. You said you stopped yours but I just kept mine going and I think there were like 5 processes and it went through the first 4 rather quickly. All told, that step took, maybe 4-5 minutes to do tops.
I installed gentoo only once around 2004. I did it without reading any online tutorial because I had no extra pc/laptop/smartphone on that time. I had only a few printed sheets about how to do it. So it was a nightmare and never want to do it again. Anyway it was a good challenge, and I learnt a lot.
Default profile has very little to upgrade on first install. I’m also surprised how long updating/installing took for DT. He said compiling vim took 30 minutes, but on my i5-3570 it takes only 10ish.
@@sigmundfreud4472 Yeah, see the pinned comment (which was after you posted your comments). DT edited the wrong make.conf in the beginning, so he used the default settings, which, I think, means that he compiled everything single threaded.
I tried to follow your instructions and unfortunately despite kernel compiled, grub is not working :( it won't display the menu, installing gentoo was mistake, and nobody gives me 2 day back :(
Overall nice video, couple things i've seen others mentioned on the way, like the error editing make.conf in the wrong gentoo. (You know... the installation cd also has a make.conf and such) but overall nice video. Another thing to look up where the short flags for emerge... like -a or -u or -D and -N. You can do great things with the EMERGE_DEFAULT_OPTS Variable in the make.conf File. Also you can omit the "Category" part from the selected packages to install with emerge. If there are ambiguos names in several categorys portage does ask to type it out. Edit: Just a note here. gcc also can auto detect the -march and many other stuff if you allow it with --march=native instead of the safe cflags you used. It is handy. But can be dangerous, for example in distcc compilation.
whenever i run "emerge --ask --verbose sys-boot/grub:2" it returns an error saying "Failed to emerge sys-libs/efivar-38, Log file:" any help would be appreciated.
I followed this intallation guide as well as others, done everything correct but everytime i reboot it still boots me into boot liveCD (kernel : gentoo) where it just shows me the livecd command line(livecd ~ #). Any ideas on how to fix it?
Hmm looks like compiler doesn't use all the 6 CPU you allocated to VM. My guess somewhere in the make.conf file an option like -j6 was forgotten. I was building a lot of KDE apps on my weak RK3399 which only has 4 cores, 2 of them are little ones, and it never took longer than an hour, even when it was from scratch building all the possible internal kde depending
"oh there is a small feature I want to change to this application" *Does it* Then just update. Much more annoying with other distros which typically just update the binary file
Nice! I recently got a working gentoo install, but the X server crashes on start with nvidia-drivers merged. Nouveau is (hopefully) blacklisted and I'm fairly certain I've got xinit setup properly. Any advice would be appreciated.
Make sure you have nvidia dkms installed if you aren't using ordinary Linux kernel, and not just NVIDIA. Also you shouldn't need to edit your .xinit. I just downloaded NVIDIA dkms and it worked out of the box
DT, you've edited the wrong make.conf in the beginning! You weren't chrooted yet, but you've pointed vi to /etc/portage/make.conf and not /mnt/gentoo/etc/portage/make.conf at 19:10
that's why probably compilations took so long.
Yep. That is definitely the problem. That's me not looking at the handbook while doing stuff. Good catch.
EDIT: I'll fix that in case I do a future video with that VM.
@@DistroTube Did you map the guest CPU features to the host CPU features? If not, you can't use -march=znver1 So -march=native is better in both cases. If you did the mapping then -march=native will get those features, if not you can't use them.
znver1 is used to get the precise set of instructions for the zen architecture in the case you want to optimize your system for instance through manual configuration of the kernel but you didn't follow that direction.
@@serge5046 native is always better than just the family optimizations. In many cases the code is more specific to the exact chip you're having, rather than guaranteeing that it will work on the entire family of these chips.
@@undefinednull5749 True. And the actual version of GCC can't take FULL advantage of the zen architecture.
@@serge5046 Hmm I thought that was true for the previous release? I'd bet that the latest prerelease should support it fully though :) A nightly build may be even more comprehensive
Finally, DT has the power to bully Arch Users.
ehh why is that? The process of installing Arch and Gentoo is almost same. Preparation of Disk in particular is exactly same. Then mostly just follow what Gentoo wiki says. Of course in Gentoo, you customize your kernel, compile, and wait for lots and lots of hours....
I have tried Gentoo but stopped it after 4 hrs because I was impatient. I would rather stick with Arch. In which I could also customize my own kernel and use it than wait for hours and hours of just comping Gentoo even packages
@@tuzuh Yeah probably I made a mistake. But I remember that I was setting up with systemd that time and as DT said, setting with systemd is just complicated but I was hard headed ha ha... But I may try again when 5.13 kernel is on Gentoo as I have newer hardware.
@@Ja.KooLit hope it turns out good for you this time!
paru -Syu
@@archuser7607 ? huh. you cannot update your system here you know :)
Was waiting for this. Something beautiful to fall asleep to
Me too
SAME
It's his voice. Perfect and calming.
@An A. WHY DONT YOU WANT TO TAKE OUT INTEL SUPPORT ON TUXKART RACING TO MAKE IT 5KB SMALLER AND MAKING NO NOTICABLE PRFORMANCE INCREASE? AND SPEND 5 HOURS COMPLING IT?
I am watching this at night. And i almost slept 🤣
I'm sitting here wondering to my self.. how did I get to a point where I'm actively watching a Gentoo installation and enjoying it. Thanks as always DT
sounds like you're a sadist.
sees Gentoo install in the title: calm
sees video length: panic
1 hour 11 minutes ? No way a Gentoo install can be that quick.
Last time I did it took me 3 days (granted that was including the KDE desktop environment) .
@@kdemetter power of binhosts
sees descripton claiming that he had a few minutes of time: confusion
Yeah, it's bullshit. Anyone who says "installing Gentoo is easy" is lying. While it's true that the basic steps are straightforward, there is ALWAYS some stupid problem in EVERY release that takes manual troubleshooting to fix. Gentoo developers are lazy and they should be ashamed of themselves.
When I saw that I thought „hm his hardware must be quite powerful if it installs gentoo that fast.“
Any time one of my subscribers ask me to do this, I'll now point them to this.
hey if it isn't you
And I'll tell you that you need to install it.
Same.
You and dt best tilling wm UA-camrs
I tried gentoo around 2001 and quickly decided and I don't need to spend my life with a system like this, it's got it's people and I ain't one of them. Vanilla Arch is fine for me.
Same here.
Cringe
@@sirrobertwalpole1754: Cringe all you want, he's still right. Gentoo developers are lazy. There's a reason this distro is dying.
installing gentoo to me is like learning classical music (learn all music theory and if you play instruments, then you have to spend a lot of time to practice which classical music is difficult to play same as jazz)
and gentoo & classical & jazz are very niche
@@deusexaetheraI've never everywhere faster KDE, opportunity to skip systemd, high percentage of solvable problems. So, it's a question if it's really dying. Compare with arch. It shows a prominent drop on distrowatch.
Yesterday was my big day: I achieved 1080p60 recording in OBS, was like impossible to me for years. I made psychonauts 2 review, completely on my Arch installation, without even any proprietary software (used kdenlive + obs + gimp). I even managed to record gameplay video of that game. It just came out.
I'm so happy with this goal reached. I'm also very happy that I can now be free of any proprietary software and still make videos. I was making videos for years in sony begas and then in premiere pro for some more years.
All of that would be impossible if not your easy arch installation guide. Thank you, DT!
@Arnav Vijaywargiya My coffee is not open source.
Congrats!
while plaing proprietary games
@@grosses_wassertier666 he should've reviewed extreme tux racer
I've been using gentoo since gentoo has been available. Since 2001.
I have never installed it like this. Not even once. Take advantage of what linux has to offer. You don't need to install it in place. On final hardware. You can just install, upgrade and perfect it in chroot.
Here's what I do. I look for a machine with reasonable hardware and some reasonable space. Without vm or anything fancy, you just pull stage 3, unpack it in some random directory (personally i prefer ramfs or tmpfs to do this), and mount dev proc sys dev/pts dev/shm, then install it to your heart content (in chroot). you can take as long as you want with this step. install X & gui too. browser. whatever. When you are done, you unmount dev proc sys dev/pts dev/shm and whatever else you needed in the process, tar the whole thing up as YOUR stage3, and now when you just do partition, formatting, untar, grub and ye done.
I just chugged an hour of content like it was nothing. It's almost 3 AM.
THIS is the kind of content I would pay for, great video DT.
Hey DT,
please add timestamps, those are useful in these kinds of videos.
thrided!
have you slept well? it seems that you look tired and need a break . i hope you rest well and take care of your health DT
he's spent the entire night installing gentoo
At 10:50, you can see the partition reads out GiB instead of GB.
This is a Gibibyte, which is the binary measurement for bytes instead of the decimal Gigabyte measurement.
Most manufacturers and developers use GiB, but label it as GB out of habit, like how drives A and B on Windows are still reserved for floppy drives unless manually assigned.
And because they are a bunch of scammers.
@@bittertruth6575 Scamming to sell you more than you thought?
You realize that if you''re buying a brand new 30MB drive and you're thinking that you get exactly 30 million bytes, but they really meant MiB's then it will be *more* than 30 million bytes? Where's the scam in that?
In Norway we made a concept called "Slow TV". It's where you have a ferry, and you stick a bunch of cameras to it. And then you film the ferry going on its merry way while you show various views from it, in real time. If the ferry ride is five hours, then the broadcast is also five hours. No talking. Just the ferry. Water. The mountains. Weather. Five hours. Like if you had to be on the ferry yourself. The surprising part was probably that those shows were quite popular!
This makes Arch installation process looks like beginner level, Thank you DT
well, he did literally say in the beginning that the install process for both is similar, it's just that gentoo takes longer
11:06 Note that sufficient swap space is needed if you inted to use hybernate on the machine. So if that is the case use a size of swap greater then your RAM size.
interesting I didn't that was what swap was for
@@TruthDoesNotExist That's not what it was originally meant for and is not the primary use for it, but "hibernation" (aka "suspend to disk") was implemented by using the swap partition - a choice I'm not completely happy about.
Mental Outlaw has entered chat
Thanks man, actually I have just finished my first Gentoo install yesterday, I decided to try directly with systemd and I achieve it, it isn't that hard, but I really appreciate your video because I think many people here (me included) trust you better than other people over the internet and also I like how you always recomend us to use the wiki and guides, you're the best really, thanks
How long did it take you to compile your kernel?
Can u pls specify how many hours did it take u to install it
@@TheBlueThird @world like 7 hours, kernel like 4-5 I leave so I don't have the exact for kernel, and kde meta 9 hours, it's important to say that I have an old CPU A10 6800k so many of you will do it in much less time
@@yuliandavid1810 the hole system to be usable with plasma 1 and a half day, but to log in in terminal a day I started at 9am left when compiling an booted successfully at 11pm
You guys are welcome. (I'm the Gentoo guy from the last patron chat)
thank you
I didn't think he was going to do it. I was actually finishing up my Gentoo install when that idea was thrown about.
Thank you!
As a long time Gentoo user, I appreciate your patience. Now you have a stage4 ... compress it, and next install will be faster :P
The definition of patience!!! Hats off to you sir!!
1:05:20 Who did you thank? You did all the work.
1:11:16 ...which makes me that much more grateful that your installation worked.
I'm a little speechless. I was about 34 minutes into the video and I needed a break lol. My hats off to you, sir.
37:13 I’m glad that was one of the first steps you mentioned. Most of the Linux guides I run into talk about nano. But VIM is really all I’m comfortable with as far as text based editors go.
6:54 "Ctrl+C will kill the pain." If only it were that simple. If only it were that simple...
So glad to see your presentation of this distro install. Plenty of other videos out there, but I appreciate your approach to instruction more than most others.
Thank you for all the effort it took to edit this down.
I must admit while I love your content and watch it regularly your voice is just ideal for falling asleep and I like to play lengthy video like this before going to sleep 😅.
This is DT with a good mindset. :) Well done.
7:02 Ctrl + c actually doesn’t kill ping, it sends a SIGINT to it, an interrupt.
The is nothing bad about this, is a graceful stop when the process recognizes the interrupt and reacts accordingly.
Even Killing a process with kill is actually sending an SIGTERM to the process which gives it the chance to clean up after itself. Only kill -9 really kills a process by forcefully removing it from the kernel.
One of the things I like about gentoo is that systemd isnt forced on you on gentoo
I love gentoo! I've been daily driving it for a few months now and I absolutely adore it :) My linux journey started with arch linux running dwm which I've stuck with from the start, dwm is my favourite window manager (I'm working on a dwl config for wayland). I really enjoyed Arch but I wanted to give something other than systemd a try although I have nothing against it it's a great tool that makes system management across servers really consistent and handy! So I switched from arch to artix which I also really enjoyed but it made using the AUR kinda difficult at times since I was still new to linux in general and wasn't comfortable with init management so to learn more I forced myself to switch to gentoo and have been learning so so much. Over the last 6-8 months of since I switched to linux I've really fallen back in love with computers and technology and would recommend it to anyone, I recommend fedora to anyone who is tired of windows and wants a comfortable place to start learning something new. I'm so glad you did this video sharing gentoo with a large new community, it's a magnificent operating system that facilitates so much learning and customization and freedom :) Thank you DT, I appreciate your work!
Gentoo software installation reminds me of Yaourt AUR always compiling software, which I honestly prefer, because I get to see how standards-compliant the software I use is.
Ahh yes good stuff! I am currently triple-booting, manjaro, gentoo,arch. But gentoo took so much time especially qtwebkit and gcc. I used the old guide made by you
why manjaro AND arch?
And now we need a Void Linux and Puppy Linux install tutorial, also thanks for this tutorial
afaik he's done void, but you can check EF linux's void installation too.
Void is dead. Puppy Linux is easy to install
@@duckmeat4674 no, void is not dead.
1:09:29 no you don’t!
This is exactly what gentoo is about: managing installations from source so it doesn’t get overwhelmingly complicated instantly with updates, keeping Makefiles somewhere in case you want to uninstall etc.
What you want to do when software is not available in a layer (repo) is write an ebuild file that automates fetching the source code and compiling and installing it. Then portage will manage the rest for you like keeping in mind you installed that package, uninstall it etc. also you can then write packages that depend on that package and when installing then portage will know that the dependency is fulfilled.
But in this case you’re lucky, because dwm is already in the official gentoo layer.
I you need the very latest version from a package, say dwm, just install the package that has version 9999. this one automatically downloads the default branch in GitHub to compile from that. (Be are that his is a alpha version of course)
I know dwm is managed by changing the source. But you can write user patches instead, that would be a really clean solution
for people getting an error with grub-install named: cannot find EFI directory. To fix this, you need to change your --target.
grub-install --target=i386-pc /dev/sda
also please note that if you are dual booting, install grub on the entirety of the HDD, not the partitions.
Did this last month! I used genkernel as well. It was an amazing experience for me. Especially how portage works with All the flags, usepackages, etc. I feel like it is not something I can use as a daily driver though
Genkernel? Its a pain to upgrade my dude, just spend the extra 5 minutes and save hours upon hours in compilation time later
@@excitableboy7031 should I also enjoy missing something and having an issue
Bravo! Bro, that was hardcore. I got a little loopy just watching you type out all those commands. And having to wait for all that crap to emerge???.... Had to be killer.
Also, I can appreciate that you prefer vim. I was a nano everything person initially. But now, I don't think I can do without vim. I feel pretty good noticing the undos and replaces that you did in the video.
I can see where Arch and Gentoo are very similar. They are like mirror images. Arch is more modernized than Gentoo, but the installs are quite similar in form. The main difference (which is a huge one) is that Gentoo is oriented towards building everything from source, but a well-placed binary install can save you from killing yourself. It is basically fully customized.
Arch, on the other hand, is oriented towards building everything from binaries, but a well-placed build from source (like a kernel) can optimize your system even more --- and make you feel like you have super powers. It is less customized, since it's geared only towards x64 architecture.
In both cases, you build your system the way you want it. It's just that with Gentoo, the cost of adding more stuff than you really need is very high; while with Arch, it's much lower (mostly negligible).
I have installed Gentoo before. Never again. I even tried Sabayon, but I couldn't deal with the updates. I really, really love Arch. But, these days, I can't even give the time to install and configure Arch. So, I've been rolling with EndeavourOS instead. Most recently, I've been checking out Fedora.
gentoo’s logo is the coolest of all distros.
i plan on falling asleep to this video dt. These comments are fun. I love the silly people. You guys rock! You do too, bud. I am curious to what keyboard you have?
ZSA Moonlander with Kaihl Whites
@@sy-uu3hz Kaihl Coopers actually
yeah, I got into an argument with one of those 'silly' people, if you look further into the comments section.
DT, you've taught me a lot. You took me from a person who's clueless about Linux to a poweruser. Somehow though, I feel differently towards you now. I don't know why but your videos fell unprepared and filled with mistakes that could easily be avoided. This happened both when you installed Arch and now when you installed Gentoo. Please try to somehow remedy this :)
Regards, Träy.
I agree with you on that one, the quality of his work does feel lower than it used to be.
1:00:35 - If you look closely to the output of emerge you could see a bright yellow "R" in front of e2fsprogs which mentions that it is already installed, but because you wanted that, portage (emerge is the frontend-tool of portage) Reinstalls it for you. Also it adds e2fsprogs to the world-file. (The Set definition of @world). In the Handbook right above the section about the different tools for the different filesystems it mentions that e2fsprogs is contained within the @system set. Which is always also a subset of @world. ;) so it is already installed.
I know it's a lot easier to do the recording if you install in a VM. I would respectfully suggest/request that having an actual, physical machine addresses far more issues. I think the viewers would get a lot more out of it. Dealing with making space on a hard drive, dealing with UEFI, determining the partitioning, selecting and configuring drivers, dealing with multiple monitors, or a 4K monitor, this is the "hard" stuff that people really benefit from seeing. I think doing this would put you in a class by yourself, because most everyone else I've seen do installation videos uses a VM. The part that we can see from a VM installation is pretty easy, and it dodges the kinds of real-world constraints and requirements that a user might have. I hope that didn't come off as a complaint. I love your videos... And I love your hair! ;-D
1:38
You totally missed why he did it in a VM. Perhaps listen instead of coming off as a complaint, which you totally did
@@PhayzinOut Or perhaps you could imagine that he understood it but is still suggesting getting another machine for this kind of videos, that's the most plausible hypothesis considering the form of his message.
Use your brain a bit before being condescending.
@@heroe1486 Or maybe it''s laziness on the viewer's part because his brain can't realize not everyone's PC has the same specs. Try using YOUR BRAIN and critical thinking skills before defending some random nobody on UA-cam
How do you just pull out a mf Gentoo intallation video out of nowhere? This is awesome!
I'm pretty sure he pulled it out from his computer
might be wrong tho.
@@0x1337feed Ssssshhhhhh! Don't spoil "the magic" for him. He probably still believes in Santa Claus and the Easter Bunny too.
This video gave me nostalgia - the moment I stopped distro hopping
Gentoo
One of the best way to learn a lot about Linux
I feel like Derek actually looked visibly exhausted at the end of the video. I don't blame you, man. That was a hell of a long install.
"Today I'm gonna be running through an installation of Gentoo."
I'm sorry. Gentoo's existence only serves as a warning to others. Gentoo is really just LFS with Portage in it.
*I love you Gentoo, don't worry*
I found gentoo easier to install than arch with the exception of the kernel. It just took a lot longer.
from kenya with love. i appreciate your videos DT (strong and complicated password)
I think this is the second time you've done this install on your channel,@DT. I love how you start off with, "these are the same commands on hardware as VM." Then, you switch it up right before you start. In both videos. 😈
Process is actually harder in a VM in my experience. You have to make sure to hit all the necessary options for guest support in the kernel
thanks so much
because of this tutorial I finally install gentoo in my pc
(for configuring network in gentoo iso installation run *net-setup*)
I agree that it is not difficult. Especially when you stick to the Handbook and don't come up with a strange partition scheme, the base system should be up in under an hour (provided internet speed is not a bottleneck and you need hours to download the packages). Even more so since Gentoo provides the distribution kernel, which even lets you skip compiling your own kernel.
I think I need to do a Gentoo installation speedrun. :)
Thank you DT. Good job. Yes, your ending statement is essentially a universal Gentoo user motto in regards to the reboot after completing the grub config. Compiling grub shouldn't take more that 10 minutes on any amd64 machine. I noticed you blew threw the useflag selection. That and you only had a gig of swap vs your ram. GCC likes to cash to swap while doing multiple compiles (ie you set your make.conf to j6). How can I say this... In Gentoo, GCC will try to simultaneously compile as many separate sections of code that it can. Also, if you defaulted to all the use flags. Then the support for those programs will be included in each and every program you compile if that program supports it. Keeping your use flags to just what you want is essential for sanity. The last time it took me over an hour to compile a kernal was when I was on an Athalon dual core... A long time ago. But all in all. You did a good job. Any Gentoo install that results in a successful initial reboot is cause for celebration.
If Linux distro installation processes were Doom difficulty levels:
I'M TOO YOUNG TO DIE - Ubuntu
HEY, NOT TOO ROUGH - Fedora
HURT ME PLENTY - Arch
ULTRA-VIOLENCE - Gentoo
NIGHTMARE - Linux From Scratch
ULTRA NIGHTMARE - Debian GUI installer
i'm a Linux beginner (i use PopOS)
but what happened to Debian here? i've never heard that Debian this difficult.
Man! Installing Gentoo with GNOME takes super long! It took me 4 hours just to compile (not including the kernel)! I have an i7 and 8G of RAM. My desktop was made in around 2016.
The definition of patience in the dictionary is DT
I have done a few Gentoo installs. The more CPU cores the faster the install. I am no expert but if you read and pay attention to the Gentoo manual the base install goes fast. I would recommend using a host machine then ssh to do the Gentoo usb booted target machine via ssh. Then cut and paste commands from a manual or from your notes. Been running my Gentoo box for about a year and it runs with both a xfce4 desktop and spectrwm window manger, I just edit the ~.xinitrc use the startx for the GUI system I want by just commenting out the .xinitrc for either the desktop or the window manager depending on what I want to run with that day... :) Gentoo is good .. I like it ...! :)
my lord, my savior. i've attempted this before with gentoo in vm and installation manual on the second monitor, never went too well..
You should do it in HW, compiling times would be way better without virtualization. Also after a fresh install on HW you can notice how fast it goes even without optimization. It’s like a Ferrari that you build with ikea manuals.
@ 57:06 Gentoo does not require a complicated password, in fact you may leave it blank for a normal user. Root requires a password but it can be quite simple if you wish, it just warns you if its week.
The 'emerge --ask --verbose --update -- deep --newuse @world' can also just be typed as 'emerge -avUDN @world. Also, the ask command is not needed. Without using the ask command you won't see the "Would you like to..." verification. without ask it assumes you want to do all of that with a yes.
The Gentoo documentation writers need to write the full from arguments/options because they are self-descriptive for the most part. And DT needed to follow Gentoo handbook exactly so that the viewers knew what was going on.
If documentation writers or DT used short-options, they would have to explain what each letter stood for and that would make the video/handbook way longer than needed. They don't want that.
It would have been better if documentation writers wrote those commands like this
Run
'emerge --ask --verbose --update --deep --newuse @world'
or
'emerge -avUDN @world'
It would have made everyone's life easier but unfortunately that's not the case.
the longer options are easier to remember in the long term, as they are self descriptive. Especially as you advance to very long argument lists...
avuND*
Without the Dubstep intro I just can't attempt this kind of install. That intro triggers me to go BALLISTIC in the terminal 😂. Enjoyed the vid 👍.
Great video! I always wanted to switch to Gentoo because I always get bullied by memes as an Arch user
Would love to see you continue this
👌, got it installed on 2 laptop 🥔's using dwm.
Getting wireless internet to work after reboot was my biggest problem.
Love the USE flags side of gentoo.
The wiki is easier for me to understand.
Yes a new gentoo video! I will follow along this one !
49:00 - my first go installing gentoo, I configured and compiled my own kernel. None of that genkernel or kernel-bin crap. That was, once again, 16 or 17 years ago.
Thanks for the help. I've run thru the whole thing twice and I'm stuck at the Grub screen and can't seem to figure out what went wrong.
Correction, Makeopts should be set to the number of logical CPU cores (threads) not the number of physical processing cores. In the context of a virtual machine it’s the same but for anyone installing on hardware this would be a mistake.
But RAM is another consideration. For every 2GB is one opt so if you have 16GB you will go -j8 for example.
@@Epsilonsama Nope, Your value shouldn’t exceed the 2GB of memory rule but it shouldn’t be based on it either.
or ram/2+1
49:10 - genkernel just hang up on the downloading the package stage... it wasnt even starting to compile anything. Also genkernel itself is not a kernel. It's a tool to automatically compile a default all-beans kernel and build an initramfs to support a wide variety of startup options.
So yeah... something was up there.
Thanks DT, always find your videos helpful
37:17 I noticed that he didn't actually set his make_opt in the right make.conf file. He did it in the iso's make.conf when he should've done it in the install's make.conf
With my VERY basic knowledge of installing base arch linux, some lot of this process is pretty familiar... that said I probably won't even attempt this until I've proved myself with arch linux. Very interesting though!
I accidentally yay'd the wrong package a few days ago and I ended up compiling yuzu from source. Massive respect to Gentoo users
Suggest drinking 3 cups of strong coffee and listening to speed metal music while installing Gentoo.
For me, the genkernel in a Virtual Machine with 4 CPUs, installed in about 4-5 minutes. You said you stopped yours but I just kept mine going and I think there were like 5 processes and it went through the first 4 rather quickly. All told, that step took, maybe 4-5 minutes to do tops.
I believe there was a way to compile sources on a separate machine for your slow machine.
Holy shit. What a tedious install. Wow!
Props to you
20:32 Recommendation is #cores+1 as long as you have enough RAM to feed the jobs.
My Ryzen 1600x just cry seeing that xD thx for detailed tutorial! Good work
I installed gentoo only once around 2004. I did it without reading any online tutorial because I had no extra pc/laptop/smartphone on that time. I had only a few printed sheets about how to do it. So it was a nightmare and never want to do it again. Anyway it was a good challenge, and I learnt a lot.
DT you have perfect timing, I had ready USB with gentoo today for installation to vocation PC. And you post installation guide :-D thx.
On Apple Mac Mini M2, 4 cores given to UTM virtual machines genkernel is like 2 minutes :)
THX DT, and OMG this takes a lot of patience.
DT, the install is probably slow because you are using a virtual machine, give it a real disk and things will go faster. Thanks for the video.
Yep, this is the video we wanted
Web browser takes more time installing than installing Gentoo: Some gentoo guy
Default profile has very little to upgrade on first install. I’m also surprised how long updating/installing took for DT. He said compiling vim took 30 minutes, but on my i5-3570 it takes only 10ish.
LOL the genkernel and GRUB compile times are absurd. Something is seriously wrong...
@@sigmundfreud4472 Yeah, see the pinned comment (which was after you posted your comments). DT edited the wrong make.conf in the beginning, so he used the default settings, which, I think, means that he compiled everything single threaded.
@@Winnetou17 Yep! So he was on one core... That explains so much.
I tried to follow your instructions and unfortunately despite kernel compiled, grub is not working :( it won't display the menu, installing gentoo was mistake, and nobody gives me 2 day back :(
Overall nice video, couple things i've seen others mentioned on the way, like the error editing make.conf in the wrong gentoo. (You know... the installation cd also has a make.conf and such) but overall nice video. Another thing to look up where the short flags for emerge... like -a or -u or -D and -N. You can do great things with the EMERGE_DEFAULT_OPTS Variable in the make.conf File. Also you can omit the "Category" part from the selected packages to install with emerge. If there are ambiguos names in several categorys portage does ask to type it out.
Edit:
Just a note here. gcc also can auto detect the -march and many other stuff if you allow it with --march=native instead of the safe cflags you used. It is handy. But can be dangerous, for example in distcc compilation.
whenever i run "emerge --ask --verbose sys-boot/grub:2" it returns an error saying "Failed to emerge sys-libs/efivar-38, Log file:" any help would be appreciated.
QUESTION: What's The Difference Between Gentoo and Funtoo?
I followed this intallation guide as well as others, done everything correct but everytime i reboot it still boots me into boot liveCD (kernel : gentoo) where it just shows me the livecd command line(livecd ~ #). Any ideas on how to fix it?
32:00 is a good flex if you have some arch users around at the office that show their pacman -Syu command.
How nice arch install because it have arch-chroot for example so you no need to enter to type in many mount commands!
Had one of the first gentoo release on a software magazine in the '90s or early 2000. Had about 60 hours of work to make Wine work correctly.
Back then I had to compile the kernel myself, there was no stage 3 installer back then. Run it off the the CD that came with the magazine.
Also KDE was really unstable back then, but people loved the switching as a cube between 4 different desktops
Hmm looks like compiler doesn't use all the 6 CPU you allocated to VM. My guess somewhere in the make.conf file an option like -j6 was forgotten. I was building a lot of KDE apps on my weak RK3399 which only has 4 cores, 2 of them are little ones, and it never took longer than an hour, even when it was from scratch building all the possible internal kde depending
so if it's so hard to maintain and compile every single installation what purpose does this distro serve, just curious
"oh there is a small feature I want to change to this application"
*Does it*
Then just update. Much more annoying with other distros which typically just update the binary file
Nice! I recently got a working gentoo install, but the X server crashes on start with nvidia-drivers merged. Nouveau is (hopefully) blacklisted and I'm fairly certain I've got xinit setup properly. Any advice would be appreciated.
I've never used Gentoo but I assume Nvidia-dkms is missing?
Make sure you have nvidia dkms installed if you aren't using ordinary Linux kernel, and not just NVIDIA. Also you shouldn't need to edit your .xinit. I just downloaded NVIDIA dkms and it worked out of the box
Buy AMD