Gentoo: A ℂ𝕠𝕞𝕗𝕪 Install Guide
HTML-код
- Опубликовано: 9 июл 2024
- A calm, no-nonsense guide on how to install a minimal Gentoo system.
Gentoo AMD64 Handbook: wiki.gentoo.org/wiki/Handbook...
Gentoo Mirrors Page: www.gentoo.org/downloads/mirr...
Kernel Compilation Video: • How to compile a custo...
Genfstab Script: github.com/glacion/genfstab
Piano music: • UNDERTALE - Once Upon ...
0:00 Introduction
0:06 Why I'm using Linux Mint
0:37 Switching to root
0:54 Partitioning the disks
1:34 Formatting the partitions
2:03 Making /mnt/gentoo
2:23 Mounting the partitions
2:59 Installing a stage tarball
3:06 Checking the date
3:38 Picking a tarball
4:11 Downloading the tarball
4:27 Extracting the tarball
4:46 Configuring compile options
5:09 Setting MAKEOPTS
6:10 Selecting mirrors
6:51 Copying DNS info
7:10 Mounting Gentoo
7:33 Fixing /dev/shm
8:05 Chrooting into Gentoo
8:35 Running emerge-webrsync
8:51 Reading news items with eselect
9:21 Choosing a profile
10:29 What do profiles actually do?
10:54 What are USE flags?
11:47 How to configure USE flags
13:05 Why you should change USE flags
13:25 Updating the world set
14:11 Setting ACCEPT_LICENSE
15:01 Timezone
15:29 Locale
16:18 Kernel configuration
16:48 Sike! We're installing a binary!
16:53 Picking an Installkernel
17:18 Installing the binary kernel
17:43 Note on kernel modules
17:56 Note on linux-firmware
18:06 Generating the fstab
18:28 Switching back to the mint user
18:46 Running genfstab
19:07 Editing the fstab
19:38 Note on networking
19:47 Hostname
20:08 Hosts file
20:19 Root password
20:45 Note on init/keymap config
20:55 Installing additional packages
21:34 Bootloader (GRUB)
22:29 Configuring sudo
22:53 Adding a user
23:22 Setting the user password
23:33 Deleting the stage archive
23:43 Time to reboot!
24:02 First boot into Gentoo
24:18 Increasing font size
24:24 Screenfetch for the memes
24:32 Note on Xorg
25:14 Troubleshooting tips
25:23 Outro
•Site: denshi.org - Наука
can you do a guide on how to get gf ((((((((
A comfy one
Girls aren't licensed under the GPL so they're not common in the Linux community
@@mrsansiverius2083 lmfao
sudo girlfriend --daemon
Just be sure to be in the sudoers so this incident isn't reported.
@@chitan1362 girlfriendctl would be the daemon control command
Your Arch install was what took me to your channel, fastest Gentoo installation guide I've seen, this is very well formatted and thorough. Thank you.
Oh you haven't seen "fast" yet....
@@Denshi lmao
There are a couple on RUclips where the system is installed in about 8 minutes.
FASTEST; WHAT
You truly do make this so calm and less nerve wracking. Gentoo will be in my list some day, and when I get to it, I will surely use this video. Thank you.
This is the fastest tutorial for a Gentoo install that I have ever seen.Great job
Compiling times are really what define Gentoo install I think
You’re really good at doing these walkthrough videos. Thank you for your work and keep going with the great job.
Great guide. Loud fans, very accurate. 11/10
first tutorial that worked, i was tryna install with the handbook but with your video i got to install gentoo for the first time ever, thx bro
might be one of the better quick guides yet. considered doing one with an alternative init system such as runit or s6?
This in combination with the wiki got me a working Gentoo machine, very good 10/10
best gentoo guide on here! Props
This might be the best install guide of any that I've seen, really friendly for new users. This might even make me switch to Gentoo after all. 😅
This is the best Linux installation tutorial. If a tutorial of any kind has calm, deeply explained things, then you know that it is good.
Hmm, comfy indeed. Thank you for uploading this installation.
I've always wanted to try Gentoo, but my skills are not so great to install a distro without a gui, so this video is extremely important for me! Thank you!
Really helped me, thanks!
Rule of thumb in case of swap:
-Do you use hibernate? swap = RAM*2
-If hibernate is not used, do you have more then 4 GiB of ram? swap = round(√RAM) i.e. 8GiB ram; round(√8) = 3GiB of swap.
-If hibernate is not used. your ram is equal or lower then 4Gib, but your ram is equal or higher then 2Gib? swap = RAM
-Otherwise, swap = RAM*2
there is no need of this big brain shit, the swap is how much we want, 4gb = 4gb and 12910GB is 12910GB, no nerd stuff needed
Real rule for swap:
swap = RAM*1
no need for more in 90% of cases
If you don't hibernate then swap = 0. If you get out of memory problems add more RAM
@@LC-mq8iq i've never seen swap get more than 50mb of data tbh, nowadays i just keep a small zswap partition in RAM just in case but i dont think its really all that needed in modern systems ;p
better yet, use ZRAM at RAM * 1
Best gentoo Guide on RUclips
super good tutorial, thanks
That was my first try installing Gentoo and it worked like a charm. On a 4c/4t laptop it took around 8 or so hours to compile the base, still need to compile the rest though....
Why is this video having so less likes..... this is by far the best gentoo install video...
@2:50 ; those two commands to create directory and mount sda1 should be default in the handbook - listed where you placed the command. It's sensible and helps prevent future mistakes. Thanks for your video
Thanks for this very good tutorial
Gentoo now runs over here
Best guide ever
im a gentoo user myself, been using it for around 4 months and I love it!
Arch better
@@ElonTusk. Hey hey hey, we can't shit on other people's distros' of choice, we need to be united... So that we can shit on Windows and Mac users instead.
@@kingofbubbles6220 ino just saying arch is better tho. Obviously windows and Mac os absolutely trash. But the problem is playing windows games nativly :( need a miracle.
@@ElonTusk. Hopefully future Proton development will make it easier and more accessible for other compatability layers in the future. I know the pain brother.
@@kingofbubbles6220 the only thing we can do ATM is have a debloated version of windows. And optimize it for gaming.
amazing, thank you
Can i install it exactly like that on the boot environment so i mean trough my usb i flashed?
Thank you very much!
Thanks it worked
Denshi, from your Arch speedrun to your Arch Comfy Guide then this, then the Gentoo Xorg guides, I learned SO MUCH without drowning in google searches, wrong sections of documentation or like when I was trying to work with Slackware dependency hell, you made me ENJOY the process. THANK YOU SO MUCH! I was an Ubuntu only user since 2006, and here I am now in 2022 (and in merely weeks) comfortable with Arch, Void, FreeBSD, Slackware and Gentoo (listed in my opinion of how difficult it was for me).
thank you so much!!!!!
Thank you man! I finally got to use my old crappy Macbook Air and rice it!
What I would change
I use vim
Swap to file (remove swap in fstab)
Nice one 😎👍
Love the elevator music and calm tone of voice.
it's undertale
nice job
If you set your kernel to build a stub kernel, you do not need grub at all. EFI will just boot your kernel directly. You do need to set up your BIOS/UEFI to select this; however.
i followed the whole thing, and when i rebooted, a prompt appears "no operating system found". any help?
Hello thanks for sharing this video , can you make a video how to do dual boot between window and gentoo?
Can you explain how to use a 'not complex' password?
Can you do a Comfy Linux from Scratch (aka LFS) or/and NixOS install guide?
could you get rid of the mint and use another desktop?
A masterpiece of an install, you saved my install too!
I searched for the 'setfont -d' command all over but never find it until I saw it in your video.
For those who want to generate an fstab in the chroot
emerge --ask sys-fs/genfstab
genfstab / > /etc/fstab
bro, sweet tutorial .. quick question.. I just installed gentoo just as you did in this tutorial .. now I do not want to install gui anytime soon but the font is so small its hurting my eyes . HOW DO I MAKE IT BIGGER ? thanks
setfont -d
(This command should double the font size)
Where did the original mint filesystem go after he rebooted? Was it wiped when he reformatted the disk? If so, why can he still access the mint filesystem and perform a reboot at the end?
I was running Linux mint off a temporary ISO, like running it off a USB or a CD. Any changes are gone when the power goes out.
@@Denshi Is the temporary ISO neccessary or can i use my installed system to install Gentoo? Will there be any difference between temporary ISO and an installed system? If no, then please answer my first questions in the context that i'm on an installed system.Thank you very much for the fast reply.
@@unkn0wnus3r97 if the already installed system is on the computer you intend to install gentoo on, then no, although if you use a different computer with a installed system you could install it on to a hard drive and the hard drive should work on the machine you want gentoo on
May I request an xfce4 DE install/setup for post installation video?
i mean yeah he doesnt care
one question what if you have 3 disk and you want to select only 1 to use who to install to gentoo
ex: i have a 500gb disk i want gentoo on. that would be under something like /dev/sda or /dev/sdb etc.
How did you get genfstab?
how can I connect to wifi during the installation ?
do it via the linux mint gui (it’s in the system tray)
Bro... I don't see the installkernel-gentoo in the guide, it's just installkernel, I'll follow the guides command and I'm praying this works, I'm on my 9th attempt at installing Gentoo...
Why didn’t you change the file system type in cfdisk?
That step is probably redundant because of the next step where he overwrites and confirms the type anyway
A dual core All-in-one machine wound up in my possession. It's a windows 7 imposter with 800 mhz DDR2 ram that came out two years after the DDR3 standard. I should be running windows XP on such obsolete ram. However, XP installer kept crashing for some reason.
Hey! We need a Void install guide!
I am not so advanced in linux. I am confused here in the starting is he booting linux mint from a usb and proceeding the gentoo install or is he using linux mint from his pc dicrectly from hardware.
He is booting from usb.
Why do you have much less packages to update in the @world set?
because he did the base system install
not the desktops or unstable ones
The longer the profile name is, the profile will take longer to install unless you downloaded the tarball for that exact tarball which saves some time
I was using the same tarball as him but it was really outdated, since then I became a gentoo expert lol
emerge-resync not found ???
i restarted from stage3 untar and now it worked.
thx u really helped although im probably stupid as fuck cuz iam trying to install gentoo for the last week and still doesnt work
Umm why are you doing 'sudo su'??
Just do 'su'? Is there some benifit?
It's because I don't know the root password on Linux mint. Since it doesn't prompt you for using sudo, I just used sudo su to do it as fast as possible.
stuck at fstab - cant locate fstab or it doesnt exist.
i tried using links genfstab and *-dump into nano /mnt/gento* ... got the fstab (without HTML) in nano, edited it out to exclude the page elements; made it executable with +x and shit. but nothing....
Now i dont know where i am. i go into chroot but its empty... I spent 15 hours, now im hungry, i havent slept for almost 24hrs and im frustrated. (i did bare metal, so i couldnt ssh into the VM or whatever u did)
hlp pls
edit: still with your tutorial i came furthest by far. great video.
@ayomikunodyssey im happy with opensuse tw for a year now, but still thanks :)
Gentoo is the future of Linux/GNU... think about it...
think that you should include the full name when extracting the archive. I got an error that said something like "no such file or directory found". However, when I removed stage3-*.tar.xz and replaced it with the full name, I didn't get any errors.
Anyway, thank you for the guide. Doing stuff from Linux Mint Live USB instead of Gentoo minimal Live USB is way easier in my opinion.
Also, it looks like Linux Mint doesn't support uSATA SSD's on my Dell machine. However, packing the SSD into an USB adapter did display that SSD. Before anyone asks, I disabled disk protection and secure boot in the bios : P
I mean, do you really partition the drive? I mean, I have Ubuntu 22.04, and I don't want to lose it. There is so much sensitive data on it.
then partition the drive for duel booting
put the music louder bro I can barely hear it
Can we get a guide on how to setup wireless networking on Gentoo? That's something I am a little lost on. While, more like a lost lost on.
in the wiki it will tell
I did it with networkmanager.
Emerge it the enable and start the NetworkManager service. Connect using nmtui
honestly, I think they should make an installer, where it asks the user questions and it creates and formats partitions that way, and does all this stuff on its own depending on what you tell it
First: probably exists
Second: that wouldnt be in gentoo spirit i dont think
Third: installing it is a good way to learn a bunch of stuff
Fourth: If you cant install a distro like gentoo, you shouldnt use a distro like gentoo.
just my thoughts
I wouldn’t have learned anything that way. But I can see it being useful for sysadmins trying to work quickly
I guess it would be similar to the pfsense setup thingy
this it what arch is for
I've seen something about a gentoo install script, guessing its similar to archinstall
tbh i think installing grub is more of a habit that a need (unless you're dualbooting) since UEFI motherboards are perfectly capable of booting linux kernel by themselves
Fastest Gentoo Linux install when?
Linux From Scratch next
Unless theres a really good reason to. Choosing the right profile, and leaving the USE flags alone is the way to go.
I once said you could install gentoo faster than you could set up a windows installation, I find it funny that i was right lmao
we use gentoo btw
Türkiyeden selamlar
As hg
You will speed up your builds with the following env variables defined:
export NUMCPUS=$(nproc)
export NUMCPUSPLUSONE=$(( NUMCPUS + 1 ))
export MAKEOPTS="-j${NUMCPUSPLUSONE} -l${NUMCPUS}"
export EMERGE_DEFAULT_OPTS="--jobs=${NUMCPUSPLUSONE} --load-average=${NUMCPUS}"
What does these do? It's the first time I've seen them
Those are not a good idea. -j on MAKEOPTS and emerge work multiplicative. Also MAKEOPTS default is -j$(nproc) anyways. Using load-average seems like a good idea at 1st look, but it is way to slow to react and in the emerge case it only gets evaluated as a package finishes and the next one starts.
just installed gentoo on a vm it took 11 hrs to compile 💀
so long ago two races ruled over earth humans and monsters
Nothing more comfy than calm Undertale music.
@@redgeoblaze3752 true
I find Gentoo's forced password requirements extremely annoying and it seems hostile to users IMO. I know that it can be disabled, but man I was too stupid to figure it out and almost gave up. After messing with config files I eventually got it to accept a simple password like I wanted, but I don't even know what I did.
In the end I actually got my gentoo system installed and rebooted into it, however I suppose I forgot to install the wireless tools needed to actually connect my laptop's wifi to the internet so I couldn't continue, lol. I don't know how people use Gentoo man.
It's a waste of time. If you want something minimal use arch. If you want to learn more about Linux than do Linux from scratch instead of Gentoo.
@@garjura4659 Arch ? minimal ? Yeah right.
SystemD required, glibc required, and off course full binaries.
Gentoo and Void are example of what minimal distros should be. (at the price of learning curve)
I made this mistake and I used ethernet to install networkmanager
I think this guide is a bit outdated when it comes to the kernel page, maybe make an updated guide?
Oha Türk
i firmly believe somebody automated this already... no?
Who?
14:18
Followed this guide and the gentoo handbook word for word and step for step. I failed my first couple installs and so this time I was extremely thorough.
It won’t boot. Every step on the boot loader page was followed, fstab is setup, etc.
I’m so frustrated, what do I do? I’ve tried many things, and had to chroot into the system each time. To no avail.
it was, in fact, all very calming-- until he said he was up recording a video at 6 AM.
I like the early morning
@@Denshi I must admit I agree but dayum lol. absolutely excellent video btw 👍
Not 100% true. You can use any live environment to build your Gentoo base system; however; if said live environment is not booted with EFI support, you will not have /sys/firmware populated with efivars if you wish to configure your Gentoo system build to boot via UEFI. You must have this otherwise.
Very nice guide, but i hated two moments:
- Using sudo su seems stupid to me. sudo makes You a root, su also does this. For me sudo -s is correct, because running su on admin rights granted by sudo is weird...
- When i change fstab, i prefer to append (>>), not overwrite (>). fstab file (in Arch, not sure about Gentoo) has a nice command, so i consider >> a good practice and > as something dangerous.
I messed something up. I'm ashamed. Dont look at me.
Wow you're turkish? You sound like a normal person
🤦♂
tf you mean by "normal"💀💀😭
eusdu
udsue
zoomer game music with an old ass os called gentoo
Stupid guide. I spent 2 days following the guide to install gentoo,, and after rebooting the system I get grub shell.damn you.
Then you did something wrong. Rewatch the guide with more focus and try again.
i hate linux
Forever the dumbest distro... :)
Except for LFS maybe.
This video guide is completely useless ‘cuz real Gentoo users don’t install the OS on VM 😂
You don't need to download and unpack the stage3. You can do all that in flight (eliminating double handling and a dangling tar file) with the following command:
`wget -O - /gentoo/releases/amd64/autobuilds/current-stage3-amd64-openrc/ | tar xpfJ - -C /mnt/gentoo`
no Gentoo in grub list after installing -_-
add it
@@hyprland thx for reply after 1 month. i alr install and del gentoo 3 times