Fast and Easy Way To Install Gentoo
HTML-код
- Опубликовано: 13 окт 2024
- In this video I talk about one thing I learned to do that made installing Gentoo much easier and much faster. No, its not some automation script. You will still experience the whole gentoo install, just with much less headaches.
Like if you enjoyed the video, comment if you have any questions!
Find me elsewhere:
Instagram: / jeff.no.zhao
Github: github.com/kam...
This video is not a complete install guide, but rather a video on how to make the install easier, simpler, faster, more streamlined, etc.
I start using Gentoo back in 2014. At the time, I had 0 experience with Linux and was mostly looking for an alternative to Windows.
One of my friends introduced to me to Linux and told me to install Gentoo. I fell for the meme and went ahead and installed Gentoo.
When it comes to install Gentoo, I believe there are 3 major problems that people run into:
1. Partitioning
Most tutorials install on a virtual machine, so the partitioning is very rudimentary. Most likely, you'll be installing it on bare metal hardware with setups like Dualbooting or separate /home partitions.
2. Internet Connectivity
Again, most install tutorials use a virtual machine so internet is not an issue. But the Gentoo install media does not come with binary blobs required to get wifi working. So if you are installing it on a laptop, you will need to find an ethernet cable. But some laptops do not even come with ethernet ports.
3. The Need For Another Device
Because the Gentoo media is very minimal, you will need another device, such as your phone or laptop, to read the handbook. And this workflow is not very efficient. You have to use a small screen, you can't copy/paste command, etc.
The new way I learned to install Gentoo is to not use the Gentoo install media, but to use a Ubuntu install media instead.
Full Disclaimer: I did not come up with this idea.
Ubuntu comes with binary blobs so internet is not a pain to set up.
It also has a graphical user interface so you can use Firefox to open the Gentoo handbook.
It also comes with gparted installed for all your partitioning needs.
Music:
Imagine by lukrembo
Michikusa by PeriTune (Licensed under creativecommon...)
Ubuntu: what's my purpose?
Me: you install Gentoo.
Ubuntu: oh my god.
I installed gentoo by Ubuntu20.04 LiveCD🤣🤣🤣
systemrescuecd for life.
(tho now i've cheated and "installed gentoo" lots of ways... toorox, cloveros, ... even via bedrocklinux's "brl fetch gentoo", teehee. shsh).
I don't get it
Is Ubuntu terrible?
@@ninjartist36 Ubuntu's a cushy convenience, thicker plastic wrap on it discouraging more control by the user, kinda coddles and dumbs-down while it offers an easy leg-up to the technically in-proficient. Gentoo offers much more choice, much more empowering, much more potential for adjusting nuances, and efficiencies while running. Gentoo kinda needs another distro (or live environment, including its own live iso, heh) to do a proper stage3 install of it.
IMAGINEEEE the Devs created Ubuntu only so people can use it to install Gentoo.😂😂
Aigh, now this channel is SERIOUSLY under-rated.
"I fell for the meme and I installed Gentoo"
fuck.... where did my life go wrong?
Wait you installed Gentoo as your first linux distro . Must have guts.
That was my thought when I watched this. Having Gentoo be your entry into Linux is like learning how to swim by being tossed into the middle of the ocean during a storm. Arch maybe, but generally people should start with something like Ubuntu or Linux Mint and then work their way up.
Installing Gentoo isn't that hard for a newbie if you follow a decent guide.
@@error4159 shut up lol
@@Realswagoverlord Why? Compared to Arch, Gentoo isn't that hard to install. It just takes forever if you have a potato spec pc.
@@error4159 Even Arch is easier than Gentoo and you can even get an Arch iso with calamares installer. I personally prefer debian tho.
Gentoo's package management is very similar to freebsd's that's why I like it. Very configurable, only compile in features that you want, nothing else. Great channel btw.
Just imagine suggesting a Linux newb gentoo as an entry distro for shits and giggles and s/he actually successfully installs it
That would make a great meme actually.
i did it 20 years ago....
@@ari-athbadminton0301that’s what I’m doing 😭
wow this is amazing and actually funny too because you made something very difficult very easy, great job man.
Haha thanks man! That was my goal with this video; to make Gentoo more accessible and less hassle to install
@@Kamiyaa I installed calculate Linux which is gentoo based guess what it broke on the first day :(
@@diegomarquez3293 "linux which is gentoo based"? what?
@@aptrock327 check again apt
@@aptrock327 apt update comment
This is exactly what I was looking for. Thank you man. Installing gentoo by this way is just mind blowing for me.
Using this method of installing distributions is really useful, the distribution is just a system of files and softwares, for it just to start, all it needs is a kernel for supporting the hardwares and bootloader to start. This proves the simplicity of a Linux operating system, I installed Gentoo like this a few months ago! Thanks for making a video about it
Glad you enjoyed it! Been wanting to make this video for a while now but just couldn't put myself out there
y'know I am not a very huge Linux user but we used to use Microsoft Edge to Download chrome, but using a whole different Distro to download a another one is >.> a bigger and a funnier betryal xDDD
not to mention ubuntu is the microsft distro of the linux world and gentoo is like the windows server with cli only mode
Have fun being spied on with chrome.
*chromium??
using the spyware to install the spyware
Extremely underrated channel. This is amazing information. I'm planning on getting an old cheap machine just to tinker with, this tutorial will certainly be very useful to many people.
I love this video! I discovered you by looking for gentoo install tips, and I love all the content you make. You have a new subscriber
Thank you, I'm glad you enjoy my content!
My first gentoo install wasn’t really that hard and it worked on the first try. They have a very good guide.
The problem was the second install on a old laptop. Compiling takes ages and fails when out of ram. So in order not to, I could only compile on one core. Distcc didn’t help either because of the low ram on the laptop. It was a nightmare.
But you’re right, using a proper live desktop to bootstrap it, is indeed a good idea.
you can compile in better machine with your notebook profile. Then, move the files to notebook hardisk and install the bootloader.
I use this technique to install gentoo for almost 15 years.
I dont know why your channel was not recommended to me sooner! New sub, keep up the good work man!
Thank you!
This tutorial is fantastic, but he accidentally left out a key step halfway into the video. Before downloading gentoo with wget, make sure to cd mnt/gentoo so that the tar can easily be unpacked there. You can see that he did this offscreen after a jumo cut right before the 5:58 mark
Appreciate the clarification!
Thank you for this as i just realised where i happened to go wrong thanks to this
@@Kamiyaa Pin this comment please!
Thx man, this is what I have looked for, installing gentoo without ethernet connection to internet, because my laptop does not have ethernet port, install is enough hard for newbie, gentoo doesn't have any driver for wifi that makes it harder to download stage 3 and complete install)
Apparently, a new gentoo live usb gui installed got released, like 5 days ago, which is pretty neat!!! :D
Hello and thanks for good tutorial. I have one question your video guide is full handbook gentoo?
Does not matter if you came with this your self or not that is ingenious period.
The second thing is even if i made my tutorials in VM i always show how to manually partition the drives.
Im not always showing how to set up a network manually my bad.
Gret channel.
BTW my tutorials are stored on another channel they are in polish so far
So, I can install Gentoo.....
Without worrying about power outs.
Haha, that's one way to think about it. For me, it was mostly so I did not need to rely on an ethernet cable to install
u r everywhere
@@slonkazoid Am I though?
you speak english so well, what about the linux touchpad driver issue? you got a way to make it work like mac or windows or chromebook? the touchpad experience is so bad on linux especially with finger scrolling
Great tutorial, it provided me with needed incentive to install gentoo. Needless to say, the installation process took longer than what I had anticipated, haha.
Congratulations on installing Gentoo! :D
I like your videos. I'm a Arch user who has always been curious about Gentoo. Thank you.
hey :) can you make a video about the compiling flags and configuring the kernel? You always make such easy to understand vids its crazy
Thank you! Yea, it seems like everyone wants a kernel config video, so I will be making one soon.
thank you man. but i would really love if you will explain the other things up to a desktop enviornment. I saw the kernel config page, and I think using a preconfig kernel such as zen is easier but not the correct way to use gentoo. What do you think ?
Yea, I can definitely make videos on kernel config and system maintenance
hi Jeff. I followed the steps you outlined/suggested. My system booted --the root partition / booted, but not the/boot/efi
This is brilliant and yet seems so obvious. I'm definitely going to have too try this and do an Arch install this way. I don't think I'm quite ready for Gentoo just yet.
Great video. Using the Ubuntu Live disc makes installing Gentoo a breeze.
so, instead of booting from an cli gentoo iso, where you have to stick to cli tools(fdisk , lynx etc) ,i can just boot from a ubuntu live iso with firefox, follow the handbook without another device, and use gui tools(gparted,firefox)?
Pretty much!
You can do this with pretty much any distro you install from the command line. Install arch from ubuntu (tools were in the repos couple years ago at least) or manjaro which has all the tools to install arch.
The best!! Installation from another linux...Nice work mate!!!
Thanks for the video. That is a clever way to have more tools available during install.
my /etc/fstab entry for EFI partition is /boot/efi ---should it be only /boot ?
7:23 in this specific part, i noticed you typed "/boot/efi", my computer is Legacy BIOS only, should i just type "/boot/"?
If you are on legacy bios, then you don't need a separate partition and hence won't need an entry for it (though the handbook does create one anyways). But if you were to create one, then yes, it would be /boot usually.
So i did all the steps but i still can’t find Gentoo in GRUB bootloader. How do I do that?
grub-mkconfig -o /boot/grub/grub.conf
So I can use calculate-linux, based on gentoo! or I use now, artix-linux!
Is it possible to make an install intruction for gentoo with runit initsystem And not on several partions like sda1, sda2 etc. But on just one btrfs partion & several subvolumes, subpartion?
So what I want to realise make just only one partion on a MBR part-table, the sda1 on a 1TB disk for example. Encrypt it with luks1. And on this sda1 insstall multi distros on btrfs subvolumes like subvol=artix-root, subvol-artix-home etc. Then subvol=gentoo-root, subvol=gentoo-home etc. and e.g. subvol=void-root, subvol=void-home etc.
So I still have just one encrypetd partion on a MBR part-table, with 3 different distros. And after that to make a multiboot with grub 2. Cause as I tryed to install two Arch-based distros (one with runit, the other with s6), the os-prober doesn't found the another distro on the same partion with same UUID, but on another subvolume.
Is it possible to make so one video install instruction?
7:11 Did you use 2 different terminals or is the 1st one you were using?
I had 2 terminals opened
ok thanks
is one the first one you used?
Gparted? GUIs? Gentoo???
The three Gs I never expected.
I messed up my Gentoo somehow with Luks, watched this video and i was like -- instead of building with melted legos, imma just slap Fedora WS on it.
Fedora is my fav.
Its like Ubuntu with 1000k alternate package managers instead of PPAs, no CANONICAL spying, and a lot faster despite it still being Gnome.
I am curious about one thing though, how well does Grub2 get along with Gentoo?
Also another great thing about Fedora is they give you all the new stuff out of the box ready to go.
Grub works great. Been using it for a long time and only switch to systemd boot after switching to EFI boot
can u help me make.conf for my laptop? i have i7-9gen, nvidia geforce rtx 2070 max-q. my laptop is Lenovo Legion Y740-17. I want to install gentoo with gnome desktop but i dont know how to set this configuration file to complete :/
wait..but its still ubuntu ? where do i actually get to gentoo
Where does swap partition go in the fstab
Wow thanks Jeff! This cured my depression.
No problem xd
so i just installed gentoo took me about 12 hours total. and i can't get sound working. iam considering redoing it but iam already out of soul and will to live already.
also, my Gentoo system boots, but wifi does not start, even if I installed wpa_supplicant
Very cool! Please upload more!
Thanks! Will do!
For sure you know how to install it
Can you do one so we can to try to install it?
0:55 you know my pain
I have a laptop with Ubuntu Linux so can I use it to install gentoo on a desktop
i have a problem... i have already adopted this solution to install gentoo but because i have choosed the kde profile it need to compile a lot of packages and ubuntu always freeze! can someone tell me why?
@XxcoolhackerxX no way... I tried all Ubuntu derivates... Than I downloaded fedora and it worked! I have Gentoo up and running now
This was very easy. Great video.
Thanks for the tutorial, can you prepare a tutorial for Gentoo on Raspberry Pi 4 b. There is no direct approach anywhere online.
how to dual boot gentoo with windows 11 make a detailed tutorial please
So this is basically like using Internet Explorer to download firefox or chrome but with operating systems.
Hey could you add a part for editing the make.conf I get so worried when I edit that file
It cracks me up that Gentoo fanboies are all like "rawr doing everything manually is the best way to install Linux!", meanwhile they use freaking Ubuntu live-CDs as a springboard to help them get started. It's almost like doing everything manually _isn't_ the best way to install Linux after all!
Now that's a Big Brain Move
🤯🤯
Going to use this for my server pc, thanks for the motivation! (been on kali for awhile)
Your channel is good... subbed. Of you make videos often I am sure you can grow this into a huge channel.
Thank you for the support! New videos will be coming. Just need to get school over with first xd
can u do it by using try ubuntu on the usb?
I’m having a problem where the efi/efivars can’t be mounted because Ubuntu says it doesn’t exist. This is legit the 2nd to last step and I’m kinda scared to turn my computer off.
That usually means you have your bios set to legacy bios instead of uefi. You'll also have to make a uefi bootable (not legacy bios bootable) ubuntu media and boot into that instead. No worries about rebooting. You'll just need to mount, chroot and copy resolve.conf to get to where you left off.
@@Kamiyaa Thanks, I did that and created a usr + root passwd and it worked!
@@Kamiyaa One thing I forgot to ask; gentoo won't emerge the networkmanager source correctly. Some things like wpa_supplicant didn't even come installed, as bash returns "wpa_supplicant: command not found". I'm thinking I either selected something in my kernel incorrectly or that my USE flags are off, because when in a chrooted enivronment, even smaller things like neofetch will emerge, but not run. Its odd; some things that came preinstalled in earlier images don't seem to be present in my stage3.
would anyone happen to know how to get kvm virtual manager spice guest to work in gentoo? i fell like i tried alot of different things however im still not able to go in full screen mode nor copy paste to and from the vm. nice video btw!
WOW time to install Gentoo!!
It's a very good learning experience :)
This is awesome! Thank you so much.
Hi man . after this video install Xserver + de?
installing gentoo is a sport
I'd just like to interject for a moment. What you’re referring to as Linux, is in fact, GNU/Linux, or as I’ve recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.
Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called “Linux”, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project. There really is a Linux, and these people are using it, but it is just a part of the system they use.
Linux is the kernel: the program in the system that allocates the machine’s resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called “Linux” distributions are really distributions of GNU/Linux.
Alpine Linux isn't GNU....
@@zyan983 I'd just like to interject for a moment. What you’re referring to as Linux, is in fact, GNU/Linux, or as I’ve recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.
Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called “Linux”, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project. There really is a Linux, and these people are using it, but it is just a part of the system they use.
Linux is the kernel: the program in the system that allocates the machine’s resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called “Linux” distributions are really distributions of GNU/Linux.
@@zyan983 I think Void linux may also not be GNU.
@@johnterpack3940 Void is gnu, but has a musl counterpart.
@@zyan983 I haven't messed with linux in a while, don't remember what all is GNU. Just knew it used musl, so thought maybe it did away with other stuff.
I mean using ubunto to install gentoo isnt to far fetched. the entire process of installing LFS revolves around using a master OS first and installing it all on another partition
What about calculate Linux though I used gentoo aka calculate it literally broke on the first day lol
bash : useradd: command not found
Please help me with that
I use a tplink ue300 usb to ethernet adapter.
Isn't there a gentoo livecd version ... with kde ... and Webbrowser
.. and gentoo handbook ?
Yes, I haven't used it before though so I can't speak of it's advantages. I'm sure it will work as well :)
Can you post a link?
@@toniavantaggiato1104 I checked the gentoo wiki - the live medium was not at the downloads section, which is where I downloaded it from when I was using it
that much said when you search for live DVD in context with gentoo you will find that, and that's what I didnt know appoligese to stiring the pot, this live DVD is "The occasional Gentoo LiveDVD"
so I suppose at the moment it is not officially available in the current version
you can still use one of the older versions from this section from the wiki wiki.gentoo.org/wiki/Project:RelEng/LiveDVD
This should also be the reason for making this video = save a lot of time just by copy/paste.
Thank ypu so much man! You saved my life haha xD!
How to 'mirrorselect' (min. 6:21)?, I think this app is on the boot-ISO, can I make it later?
Sorry, I don't understand your question?
@@Kamiyaa In the instruction is written to setup 'mirrorselect' but the instruction are for installing over/with the 'gentoo.iso'.
The error-message say no such command is available, I think because of ubuntu.
Have I to 'chroot' first? Is the app to setup 'mirrorselect' in the chrooted environment?
I'm stucking there and not able to conclude installation.
Ohh nice catch! I usually don't set up mirrors but yes, you can chroot and try mirrorselect command again. If that still doesn't work, you can manually install it: wiki.gentoo.org/wiki/Mirrorselect#Installation
@@Kamiyaa I think, all steps coming after downloading and unpacking of 'stage3' (bey the normal installation (with *.iso)) until 'chroot' must be done after 'chroot' (when installing with 'ubuntu-live') and there is not only 'mirrorselect'. Can you check how many steps are? Maybe you can make an additional video ;-)
I have seen that many os include a 'firmware-amd-graphics' in 'backports-repository' or include the drivers direct in the os-specific-kernel. How do gentoo handle this topic?
Can I install KDE (Plasma5) and use 'sddm' within? And how to do this?
Would this work for arch?
Good question! Last time I installed Arch I remember there were arch specific scripts that you needed to run. If you could somehow get your hands on those, then it should work.
Very informative video! learned a lot
Thanks! Glad it was helpful
Can you do that using hibryd iso live? Same process as you did on Ubuntu? :)
Yep! Any live cd should work
Thanx Jeff :) I will experiment using your video :)
lo estoy viendo 3 años después , probaré si todavía funciona así
Cool video! Thank you.
What is etc-update and why is it needed here?
Sometimes config files need to be modified in order for programs like emerge to continue. Emerge is smart enough to know exactly what needs to be added to its config files to continue and will make a pending update for it. You run etc-update to either apply or discard those changes.
Hope this helps :)
Wow that is so cool! Great content btw, keep up the good work :)
Is gentoo your daily driver distro
Yes :)
This is the fastest gentoo installation on the internet.
Kindly make a video about installation of packages and the apps you use as your daily driver.
You are a god amongst men :) Now I can flex my Gentoo install on r/LinuxMasterRace.
I see you were flexing your mewing results at the start
Dang, you caught me xd
Remember installing Gentoo on ps3. That's 23 hours of hell
good times with the video bang
Thank you!
Jeez fresh cut
Unfortunately no more anime hair for a while :(
Great video!
Thanks! 🙏🙏
hi from Seul!
If your friend suggests you to install Gentoo as your first distro, it's not your friend (unless both of you are programmers, in that case it's fine)
Using this, you have to use systemd, don't you?
Manjaro will be here for you when you've had enuff
Just use a distribution kernel
Thanks a lot for this video, too bad I got recommended it after installing gentoo the standard way
Gen2, fastest boot/shutdown time I ever had
Ubuntu walked so Gentoo could run.
i cant create a partition
?
@@Kamiyaa at 4:55 i don't have an unallocated space and cant create a new partition
You will need to create space by either deleting or shrinking another partition
Well that's the Speedrun install of gentoo in 4-5 min .., 😂😂
Rust programming language, f***ing Gentoo... You my man, get my vote, thus becoming a nominee for Hipster of the Year Award. Lol, jp 🤪,... sorta 🤫. But srsly tho, systemd ain't all that bad...
When you totally defeat the stage 1 gentoo install and replace it with Ubuntu…. 🤯
Edit:
When all the tinkering is done in unity? *respect* ✊🏿
based gentooman