#Installing Gentoo for the first time

1 messages · Page 1 of 1 (latest)

dull pendant
#

i'm trying to install Gentoo and dual boot it with CachyOS. Any advices? What is the best way to install it?

chilly comet
#

is there anything you're trying to do like a shared home partition?

dull pendant
#

i was trying to do inside my actual cachyos install

#

but it turns out i can't actually use most of the commands

#

so i think it's not the right way to do it?

dull pendant
chilly comet
#

which step specifically?

dull pendant
#

"emerge" or "eselect" i can't use those

chilly comet
#

you'll need to chroot into the install

dull pendant
#

oh

chilly comet
#

i think arch has arch-chroot or smth

#

idk if its installed by default though

dull pendant
#

chroot /mnt/gentoo?

chilly comet
#

yea

#

and then source the profile file

#

under /etc/profile

dull pendant
#

chroot: failed to run command ‘/usr/bin/bash’: Exec format error

random meteor
chilly comet
#

did you get an arm64 base 😭

random meteor
chilly comet
random meteor
dull pendant
#

lemme check

chilly comet
#

imo

dull pendant
#

i get an arm64 base

#

oof

chilly comet
dull pendant
#

can i just override the arm64 tarball then?

random meteor
chilly comet
chilly comet
#

just umount the gentoo directory and delete it

#

or delete everything inside of it

random meteor
dull pendant
#

i actually want to do it manually one time at least

#

as i did with arch

random meteor
#

Arch install script sucks

chilly comet
#

fr

#

no they got the wrong tarball

dull pendant
#

i'm going to wipe the partition and start again

#

i can't do much now

#

udo umount /dev/sda4 umount: /mnt/gentoo: target is busy.

#

i will have to wipe the drive and install gento in it, probably

random meteor
#

I hear other people install gentoo from inside another OS

dull pendant
#

yes i'm trying it

#

but

#

it's

#

so

#

difficult

random meteor
#

I did the live GUI

dull pendant
#

i will probably do this one

#

lemme just burn the image

#

3GB why?

#

because of the KDE environment?

chilly comet
random meteor
dull pendant
#

i wish i was more intelligent

chilly comet
#

jay eazy

dull pendant
random meteor
#

Linux from scratch would be the more difficult install though

chilly comet
#

perchance

dull pendant
#

is gentoo more difficult than nix?

random meteor
chilly comet
#

nix systemtap

dull pendant
#

so it should be okay when installed?

#

i will use it more cutting-edge tho

#

hope it don't breaks

chilly comet
#

i mean you'll have to learn how to use USE flags and keywording and stuff

#

but its not too difficult after you get used to it

random meteor
# dull pendant so it should be okay when installed?

Gentoo by default uses stable packages that might be older than Debian, so you have to put ~amd64 per package you want to use testing on
Also you can limit the package version, or toggle what is installed with each package

#

Portage is easy to learn

random meteor
#

your friend is bach-completion

dull pendant
#

~amd64 should make it more like arch?

chilly comet
#

no

#

its not the equivalent of the arch experience

random meteor
#

never set ~amd64 global as it will enable testing packages on everything

#

testing packages can break

chilly comet
#

stable is usually recent enough

random meteor
#

two global flags I would put in a make.conf are pulseaudio and pipewire

dull pendant
chilly comet
#

just use the 9999 keyword

dull pendant
random meteor
chilly comet
#

yes

dull pendant
#

i mean

chilly comet
#

i was joking when they said latest package

dull pendant
#

i'm not saying the most unstable ones

#

just the newer stable ones

#

at least

#

like the kernel 6.14

random meteor
#

Gentoo and Arch are on similar kernel versions on ~amd64
I am on 6.14

dull pendant
#

oh

#

neat

random meteor
#

Did I misunderstand?

#

I thought green was stable

dull pendant
#

there it says 6.13.8 tho

#

the lastest one

random meteor
#

That is for the dist kernel

dull pendant
#

oh

random meteor
#

gentoo-sources allows you to build your own kernel, but I recomend using the dist kernel, or better, debian as a base config

dull pendant
#

i will probably just install the cachyos one

#

or the one from mainline

random meteor
#

Just remember to use make oldconfig and then tweak further in make menuconfig while reading the gentoo wiki for your hardware

dull pendant
#

Here it says "swapon failed: operation not permitted"

#

Why?

#

Oh i was not in root

#

Silly me

#

Openrc or systemd?

#

I kinda prefer systemd the bootloader idk

#

I was always using it

#

But i think systemd fixed a memory clock bug i had

#

So i kinda prefer systemd boot now

#

What -march=native actually does?

#

There is this rustflags as well that might be worth

wraith jewel
dull pendant
#

What about RUSTFLAGS=

wraith jewel
dull pendant
#

It seems to optimize to level 3 on all releases builds?

#

Is it fine to set?

wraith jewel
#

yeah??

#

check the handbook if you need more info too

dull pendant
#

I'm sorry. It's just i never had to configure something like this before

steel reef
#

@dull pendant any progress?

#

dont forget cpu2idflags

#

or whatever its called

#

if you follow the handbook itll give you a command to copy

violet wing
random meteor
#

oh and debian trixie

lucid yacht
#

did this work?:p

dull pendant
#

I was sleeping LMAO

#

But so far it's fine

dull pendant
lucid yacht
#

oh okay :D

#

yeah it can take awhile to compile

#

i usually install with binary packages only to make the installation go fast hehe

dull pendant
#

Even the binary packages is not so fast

#

I set it to use all my resources

#

Gentoo is calling my pc weak

dull pendant
#

I got this error installing the kernel

#

I'm so close

#

And still something goes wrong

lucid yacht
#

oh

#

hmm

#

with the bin package must be rare with errors

#

and yeah its not super fast even with binary but i can do install in around 1-2 hours

#

if you can look at the compile and see where it got the error it sometimes is something obivous

lucid yacht
#

oh

#

About to execute /usr/lib/kernel/install.d/95-efistub-kernel-bootcfg.install add 6.13.8-gentoo-dist /efi/gentoo/6.13.8-gentoo-dist /usr/src/linux-6.13.8-gentoo-dist/arch/x86/boot/bzImage
Successfully forked off '(exec-inner)' as PID 27322.
ERROR: kernel-bootcfg-boot-successful service not enabled
/usr/lib/kernel/install.d/95-efistub-kernel-bootcfg.install failed with exit status 1.
/usr/lib/kernel/install.d/95-efistub-kernel-bootcfg.install failed with exit status 1.
(sd-exec-strv) failed with exit status 1.

#

i guess there is the problem

#

i dont run systemd so i have actually no clue about those stuff

#

but i dont think its a huge problem

dull pendant
#

This is so difficult

#

Should i use openrc then?

lucid yacht
#

well you just havent done a step

#

im guessing

dull pendant
#

What step?

lucid yacht
#

not sure i dont run systemd :D

dull pendant
#

Lmao

lucid yacht
#

but it cleary something about that

#

i think atleast someone can correct me

#

cause it says service not enable

#

then it all fails

#

so probably you just need to enable something

#

@dull pendant dont worry my first install like 10 years ago took like 3 days

#

god_why cause i had the shittiest laptop

dull pendant
#

In my case it's because i'm dumb atomscry

lucid yacht
dull pendant
#

I think i will not be able to install this

lucid yacht
#

i must say sometimes the handbook is abit confusing

#

let me read the handbook about systemd

#

it shouldnt really be hard to install just maybe take longer time

dull pendant
#

Why openrc tho?

lucid yacht
#

i have very rarely have any install problems

dull pendant
#

Is it better than systemd?

lucid yacht
#

cause im old

#

xD

#

i like simple stuff

dull pendant
#

I want to install in systemd just because it's more familiar to me

#

But i'm starting to regret

lucid yacht
#

i think you only missed one little thing

#

cause like it says service not enbled then fails ... idk feels very related

#

:D

dull pendant
#

I really can't find it if i missed something

lucid yacht
#

im not sure if its related to systemdboot or dracut

dull pendant
#

Maybe i set dracut wrong

#

Idk

#

Some things are a bit confusing

lucid yacht
#

efistub-kernel-bootcfg imm read that part

#

oh okay

#

have you done this systemctl --enable --now kernel-bootcfg-boot-successful.service?

dull pendant
#

Noo

lucid yacht
#

idk if its the problem but it says not enable for you

#

and then fails

#

so... maybe

#

thats one of the first section in the kernel page

#

for efi stub

#

oh no nevermind im on a specific efi stub page

#

maybe the install guide is worse

dull pendant
#

"unrecognized option '--enable'"

lucid yacht
#

🤔

#

maybe you spelled wrong no clue that command should work

#

well im not a big help cause i have never used systemd really

#

so never read all the other steps

dull pendant
#

Idk what to do

#

I think i will try openrc then

lucid yacht
#

you could just wait and ask someone that have used systemd xd

#

i mean it shouldnt be hard i guess

#

did you install with the systemd stage?

dull pendant
#

Yes

#

I will try some steps again then

#

Oh

lucid yacht
#

👀

dull pendant
#

I know my problem

lucid yacht
#

you see :D

#

usually rereading the handbook 100000000x times solves the problem

#

xD

dull pendant
#

I did the step to efistub

lucid yacht
#

that makes sense

dull pendant
#

But i'm using systemd bootloader

lucid yacht
#

ah

dull pendant
#

Idk if it's the problem

#

But lemme check

lucid yacht
#

oh

#

like

#

yeah there are 3 sections there

#

one should use one maybe you did like two

dull pendant
#

Yes i had did a step to efistub

#

But i had installed systemd bootloader

lucid yacht
#

i see i see

#

hopefully it works now

dull pendant
#

I did this

#

Yep

#

The kernel is installed

#

After deleting that argument from the installkernel section

lucid yacht
#

happy dance

#

you see usually when something fails its something one did wrong and its just reread alot

#

now i feel proud that i kinda figured it out also

#

xD

#

feeling smart

dull pendant
#

LMAO

#

Absolutely

lucid yacht
#

i have failed to install arch but not gentoo

#

im not sure how i succeed in that

#

xD

dull pendant
#

No way you could do gentoo and not arch lmao

#

I'm suffering so much with gentoo

#

And arch was breeze

#

Should i ignore this?

#

I'm installing systemd bootloader now

#

They say that is the worst arch

#

I never used myself

#

I don't use secureboot

#

So idk

#

But i think so

lucid yacht
#

hm

#

looks alarming but idk

#

haha

#

it dont looks like errors atleast

lucid yacht
#

it just didnt boot and and went back to gentoo

#

xD

#

so hows AUR

#

never used that

#

the only distro i have used execpt gentoo last 10 years is void

#

actually kinda liked void

dull pendant
#

What is happening

lucid yacht
#

you probably forgot to mount all the things in the handbook?

#

maybe

#

O_O

#

oh

dull pendant
#

chroot /mnt/gentoo /bin/bash

#

Yes

lucid yacht
#

wait running in chroot

#

so yeah you should exit first

dull pendant
#

Yes

lucid yacht
#

then umount

dull pendant
#

It doesn't umount

lucid yacht
#

i have never seen that error

#

xd

#

@dull pendant have you exited from chroot?

dull pendant
#

Ues

#

Yes

#

And it keep telling me it

lucid yacht
#

spam exit

#

idk xD

dull pendant
lucid yacht
#

well you shouldnt be in one anymore

#

yeah

dull pendant
#

Now i'm in /mnt/gentoo

lucid yacht
#

yeah you probably unmounted while in chroot

#

and stuff worked half

dull pendant
#

Must be superuser to reboot lmao

#

What is happening

lucid yacht
#

trolley what are you doing

dull pendant
#

They said to click CTRL+D

lucid yacht
#

oh yea you just arent root

#

sudo su

dull pendant
#

Now i'm here

lucid yacht
#

or whatever

dull pendant
#

Well

#

Done

#

Let's see if it's installed correctly

#

god_why WHY IS TAKING SO LONG

#

Okay the installation failed

#

I think so

#

Yep

#

Fail

lucid yacht
#

well atleast now the next time you try it will go pretty fast

#

cause now you know what failed

dull pendant
lucid yacht
#

i have no clue what that is tbh

#

xD

#

yeah

dull pendant
#

Yes

lucid yacht
#

maybe its something related to that first kernel fail

#

that did something that was never fixed

#

i have no clue

dull pendant
#

Aaaaaa

lucid yacht
#

okay nevermind then :D

#

i was thinking cause it runs dracut

#

or whatever

dull pendant
#

Can i use script? ink_troll

lucid yacht
#

grub works pretty fine for me

#

xd

dull pendant
#

But i can use systemd bootloader on openrc

#

I think

#

But why openrc?

lucid yacht
#

cause old

dull pendant
lucid yacht
#

and was gentoo default

#

:p

dull pendant
#

Here we go again

lucid yacht
#

systemd octopuss

#

touches everything :D

dull pendant
#

How much for the swap partition?

#

I only use 4

lucid yacht
#

i only use 2gb but it depends

#

it need to be bigger if one use sleep and such right? i dont really use that

#

or am i wrong

#

i have never used that either lol

dull pendant
#

Installing openrc tarball now

lucid yacht
#

xd

#

poor ellie no systemd

dull pendant
lucid yacht
#

i mean you could just redo systemd one i think it would go smoother this time

#

you probably just did like one thing wrong or forgot or whatever that made it all strange

dull pendant
#

I already installed the tarball

#

Don't give me ideas

#

I will have to delete it otherwise

#

Lmao

#

And i'm so lazy rn

#

I just want to rush it

lucid yacht
dull pendant
#

I think my internet is really bad recently

#

And this is affecting my downloads here

#

Not so bad

#

But not the ideal either

#

What is the no-multilib profiles?

#

Oooh

#

Here i can add binary repositories

#

Kinda like arch?

#

What the-

#

No-multilib

#

I want

#

Oooh

#

It's the same repo as arch?

#

Oh

#

Sorry

#

I'm dumb

#

But it has kinda the same packages?

#

I mean

#

Steam

#

Systemd for systemd boot loader?

#

Or i don't need?

#

Oh

#

I'm going with the default one

#

Stable

#

Systemd fixed an old bug for me

#

It seems

#

Because i only used grub before

#

But i had a memory clock bug

#

Where it stayed at the lowest frequency

#

And i couldn't play anymore

#

So i had to choose another refresh-rate

lucid yacht
#

that sounds like an extreme bug for a bootloader

#

lol

#

@dull pendant also no gentoo arent arch but you can do so it downloads precompiled packages instead of always compile it

#

not every package exist tho but then it just compile it as usually

dull pendant
#

I added the arch binary packages there they showed in the handbook

#

But i don't know if it worked

#

Anyway it's installing the profile now

lucid yacht
#

oh im stupid i thought we were talking about the distro arch

#

XD i was like what

dull pendant
#

I was lmao

lucid yacht
#

oh

#

xD

#

im so confused atm

dull pendant
#

I thought no-multilib

#

Was something like the multilib repos on arch

lucid yacht
#

no multilib = pure 64 bit OS

#

makes some stuff harder to install

#

depending on stuff

#

i saw that

lucid yacht
#

@dull pendant how its going xd

dull pendant
#

I'm watching cartoon while doing it

#

Otherwise i would be crazy already

#

The binary packages i added it's not working

#

What is wrong in it?

#

Oh

#

This is not a valid one

#

I think

lucid yacht
#

im abit late but

#

@dull pendant you dont really need to touch that

lucid yacht
#

@dull pendant you can check your DMs

faint bear
#

They can if they want -v3

brittle dune
#

But let's not recommend testing to people struggling with the install process 🙂

dull pendant
#

using the testing argument already on the installation?

#

i don't know if it can break something

#

i could still add it after

#

and make an update when gentoo is installed

#

idk

#

just trying to understand what was going wrong

#

that is the only thing i did

#

that no one on the videos i saw

#

didn't

#

i'm back to arch

#

well, i'm a bit frustrated

#

because i really did install yasterday

#

but it didn't work anyway

#

when i tried the first boot

#

i mean it had only a bit of used storage

#

i think it would have more

#

because of everything it installed

brittle dune
#

Feel free to ignore me but just go in with your eyes open that any issues you find are your fault and not Gentoo

random meteor
#

Bluetooth breaks for me in kernel 6.14 unless I disable compression for firmware

lucid yacht
#

oh i didnt see that people still talked in here

#

i tried to give some tips in dms to ellie about the install :D

#

i think the handbook can be confusing to new people

#

yeah testing is a mix bag i run 3 software testing rest stable

#

cause wayland and nvidia development seems to happen abit on the faster side

#

atm im testing newest kde and it seems to be "more" stable on wayland then the stable one for me

#

the older i get the more stable i want things to be

brittle dune
#

This teaches very bad practices which lead to hackers taking over people computers

#

Please read the rules moving forward

brittle dune
dull pendant
#

idk if i mounted wrong or something

#

but everything was not there after anymore

#

i must have mounted wrong

#

i will try on a VM

brittle dune
#

Its fine to make mistakes

#

But did you skip ahead in excitement or does the handbook need fixing?

#

(And please do take that warning about DM support serious)

lucid yacht
#

well i just dm cause it felt like the person had given up

lucid yacht
# brittle dune Any more details?

well the handbook very information dump like it got good information but sometimes if a person dont know what all the things does it can sometimes be hard to follow

#

im thinking like some stuff you dont really need to do and the handbook maybe arent as straight forward explaining that etc

#

like when i read other distro handbooks or bsd etc i think they are abit more maybe easy for newcomers

#

but thats just my thought after looking at it again after many years

#

@brittle dune but no its not broken in anyway i just saw where people could maybe make mistakes easily

#

i just checked the rules and yeah no i didnt gave any remote support but i will only use the public channels i just felt sorry for the person trying so many hours

#

i should have read the faq tho that was kinda bad of me

brittle dune
lucid yacht
#

oh yeah i bet its hard i think the details is all there but the structure and readability may be more of a problem

#

for example when funtoo existed i thought that install guide was a little bit easier written

brittle dune
#

We accept submissions if you want to take a stab at it

lucid yacht
#

hmmm i will think about it im not that great on actually doing stuff i can like visual stuff in my head also im not native english

#

but one place for example where ellie made a mistake was the bootloaders where it list several ways but the text is quite compact so ellie did like two of those steps where you should only use one. Like me reading that part i understand but maybe it could be even clearer

#

small things like that

#

atleast for pretty new users i dont think more advanced linux users have too much trouble reading the handbook

brittle dune
#

Breaking things down into sections works well for me