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
@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?
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.
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
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!
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.
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!
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?
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
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 😅.
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.
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
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.
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
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.
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. 😈
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 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?
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.
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.
"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*
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.
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 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
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.
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
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.
👌, 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.
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 ...! :)
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
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. :)
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.
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.
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!
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
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
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.
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 :(
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?
Hey DT. Great step by step for Gentoo installation. Keep it up the solid work. Silly question here. You mention about virtual machines to try things out first. Which is a great idea. My question is what do you use to support your virtual machine? Do you have a rack mounted beast? Or home built workstation beast? What would recommend for a NAS to backup all your work?
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.
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.
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
Awesome content man, that cflag definitely messed you up though, with the knowledge that you know now do you think you could ever "live" in gentoo? if so that would be a pretty neat video series..
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.
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
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 🤣
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 :)
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.
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 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.
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.“
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.
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
The definition of patience!!! Hats off to you sir!!
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
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!
As a long time Gentoo user, I appreciate your patience. Now you have a stage4 ... compress it, and next install will be faster :P
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!
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'm a little speechless. I was about 34 minutes into the video and I needed a break lol. My hats off to you, sir.
This is DT with a good mindset. :) Well 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.
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?
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
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.
Hey DT,
please add timestamps, those are useful in these kinds of videos.
thrided!
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 😅.
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.
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?
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 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.
Mental Outlaw has entered chat
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.
This video gave me nostalgia - the moment I stopped distro hopping
Gentoo
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.
Yes a new gentoo video! I will follow along this one !
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
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!
One of the things I like about gentoo is that systemd isnt forced on you on gentoo
6:54 "Ctrl+C will kill the pain." If only it were that simple. If only it were that simple...
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.
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 👍.
gentoo’s logo is the coolest of all distros.
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. 😈
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.
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.
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.
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.
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.
The definition of patience in the dictionary is DT
Thanks DT, always find your videos helpful
One of the best way to learn a lot about Linux
Great video! I always wanted to switch to Gentoo because I always get bullied by memes as an Arch user
Thanks dt! I waiting this video for so long
Would love to see you continue this
"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*
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.
from kenya with love. i appreciate your videos DT (strong and complicated password)
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 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
THX DT, and OMG this takes a lot of patience.
I found gentoo easier to install than arch with the exception of the kernel. It just took a lot longer.
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.
DT you have perfect timing, I had ready USB with gentoo today for installation to vocation PC. And you post installation guide :-D thx.
thanks so much
because of this tutorial I finally install gentoo in my pc
(for configuring network in gentoo iso installation run *net-setup*)
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.
The day has come
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
my lord, my savior. i've attempted this before with gentoo in vm and installation manual on the second monitor, never went too well..
Holy shit. What a tedious install. Wow!
Props to you
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.
Suggest drinking 3 cups of strong coffee and listening to speed metal music while installing Gentoo.
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.
👌, 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.
Yep, this is the video we wanted
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 ...! :)
First time watching the channel and a new drinking game has popped in my brain.
Every time you say slash we take a shot 😆
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
My Ryzen 1600x just cry seeing that xD thx for detailed tutorial! Good work
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. :)
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.
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.
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!
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
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
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.
On Apple Mac Mini M2, 4 cores given to UTM virtual machines genkernel is like 2 minutes :)
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.
Hey disttotube! :)
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 :(
Love you DT!
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?
Hey DT. Great step by step for Gentoo installation. Keep it up the solid work.
Silly question here. You mention about virtual machines to try things out first. Which is a great idea. My question is what do you use to support your virtual machine? Do you have a rack mounted beast? Or home built workstation beast?
What would recommend for a NAS to backup all your work?
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.
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.
What is the advantages of distro that compiles from code and does not use binay
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
How nice arch install because it have arch-chroot for example so you no need to enter to type in many mount commands!
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.
I believe there was a way to compile sources on a separate machine for your slow machine.
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
how about pikvm for recording your "beefy" machine in nice quality?
it would help if you used the chapters feature with timestamps! great video!
Awesome content man, that cflag definitely messed you up though, with the knowledge that you know now do you think you could ever "live" in gentoo? if so that would be a pretty neat video series..
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*