#Did I do dis right ๐Ÿค”

1 messages ยท Page 1 of 1 (latest)

gentle nexus
fervent geyser
#

i think it looks about right

gentle nexus
#

I did 32gb swap

#

Because I have 16gb ram

fervent geyser
#

well

#

i have 4 GB swap with 16 GB RAM

#

i never did it with 32 GB but

#

if you read more into the partitioning part with swap

#

it might show details about hibernation and sleeping

gentle nexus
#

It says

#

Ram x 2

fervent geyser
#

alright then, i guess you can go ahead

gentle tapir
#

ye done

#

now

#

do i just

#

mkfs.fat -F 32 /dev/sda1

#

do this

#

but with nvme0n1p1

fervent geyser
#

yeah if that is your EFI partition

#

do that

gentle tapir
#

okaz doneee

fervent geyser
#

for swap, its just mkswap

#

and for the file system

#

which filesystem actually?

#

ext4? xfs?

gentle tapir
#

uhhhhh

#

i only chose

#

linux filesystem

fervent geyser
#

oh that's fine

#

you only choose the filesystem by the mkfs.<filesystem> command

gentle tapir
#

do i also need to do

#

swapon

fervent geyser
#

yeah

#

i think

gentle tapir
#

the type is linux filesystem

fervent geyser
#

you have to do the mkfs command outside cfdisk after you are done with it

#

brb

gentle tapir
#

what is this

#

ah sudo

#

okay

#

btw it gets srtaight to mounting the root partition

fervent geyser
#

back

#

oh about the livegui

#

you can directly just do su iirc

#

that will make you root

gentle tapir
#

okayyy

#

do i do mkfs.ext4 /dev/nvme0n1p3

fervent geyser
#

yes, if you want ext4 as your filesystem

gentle tapir
#

yay these are done okayyy

fervent geyser
#

alright now

#

make sure to mount them

gentle tapir
#

mkdir --parents /mnt/gentoo

#

these

fervent geyser
#

except the swap, ofc

#

/mnt/gentoo should already exist in the livecd iirc

gentle tapir
#

ah i did it tho

#

is that ok

fervent geyser
#

its fine

gentle tapir
#

mount /dev/nvme0n1p3 /mnt/gentoo

#

so this now

fervent geyser
#

yup

#

after that, make a directory inside the root of /mnt/gentoo which is called efi

#

as shown in the handbook

#

/mnt/gentoo/efi

gentle tapir
#

i just type mkdir --parents /mnt/gentoo/efi after mounting the root

fervent geyser
#

yeah

gentle tapir
#

or i cd

#

into

fervent geyser
#

then mount the efi partition

gentle tapir
#

do i cd first

#

to /mnt/gentoo

fervent geyser
#

its optional

#

you can directly put the absolute path

gentle tapir
#

i cded

#

okay now mkdir --parents /mnt/gentoo/efi

fervent geyser
#

okay

gentle tapir
#

done

fervent geyser
#

then mount it

gentle tapir
#

it wasnt in the handbook

#

how

fervent geyser
#

you can just uh

#

what is your efi partition?

gentle tapir
#

the first one<

fervent geyser
#

you have to mount it to /mnt/gentoo/efi

gentle tapir
#

nvme0n1p1

fervent geyser
#

yeah

gentle tapir
#

so mount /dev/nvme0n1p1 /mnt/gentoo/efi

fervent geyser
#

yes

gentle tapir
#

donee

#

date and time

fervent geyser
#

okay so about that

#

first type in date

gentle tapir
#

done

fervent geyser
#

to show if its atleast close to the real time

gentle tapir
#

ye

fervent geyser
#

if its like

#

really far away

gentle tapir
#

only 1 hour less

#

here

fervent geyser
#

okay its fine then

gentle tapir
#

alrighttt

#

what do i do now

fervent geyser
#

so since you are on livegui

#

you should choose your stage3 tarball

#

which you will wget that link

#

into /mnt/gentoo

gentle tapir
#

im already in mnt/gentoo

fervent geyser
#

okay in that case then

#

you must wget a link of the tarball you choose

fervent geyser
#

i believe so yeah

#

wget it inside mnt/gentoo

gentle tapir
#

okay done

#

tar xpvf stage3-.tar.xz --xattrs-include='.*' --numeric-owner -C /mnt/gentoo

#

now this<

fervent geyser
#

yup

#

that will unpack the entire stage3 tarball filesystem into mnt/gentoo

gentle tapir
#

done

#

yay

#

alright

#

now idk wat to do

fervent geyser
#

now

#

use nano to edit /mnt/gentoo/etc/portage/make.conf to atleast choose your MAKEOPTS

#

or view it atleast

#

i personally just use -j8 in MAKEOPTS

gentle tapir
#

nano /mnt/gentoo/etc/portage/make.conf

fervent geyser
#

yes

#

remember though

#

the -j depends on your amount of CPU cores

#

make sure not to do ALL of it

gentle tapir
#

how do i check that

fervent geyser
#

choose a reasonable balance

#

you can check your cores via nproc

gentle tapir
#

12

fervent geyser
#

oh wow, its the same cores as i got

#

i use -j8

#

but remember

#

i think there's a notice telling regarding RAM usage of multiple jobs

fervent geyser
gentle tapir
#

ye j8 is good

#

i got

fervent geyser
#

i personally use -j8 which is 8 cores

#

yeah

gentle tapir
#

16gb of ram

#

but what do i type

fervent geyser
#

you can use -j8

#

well

gentle tapir
#

MAKEOPTS="-j4 -l5"

#

this<

fervent geyser
#

you are in the make.conf file right?

gentle tapir
#

ye

fervent geyser
#

yeah but replace the -j4 with -j8

gentle tapir
#

is the -l5 staying

fervent geyser
#

you CAN keep the -l part

#

its load-average

#

but i don't use that so

gentle tapir
#

and do i type it at the end of the lines

#

like

gentle tapir
fervent geyser
#

it doesn't matter where it is put

#

you can put MAKEOPTS at the top, or the bottom

#

anywhere you like

gentle tapir
#

okay done

fervent geyser
#

you can now save the file

gentle tapir
#

do i need to put sm else

fervent geyser
#

well

#

its optional

gentle tapir
#

i also have an nvidia rtx 4050

fervent geyser
#

you'll see more in the next steps

gentle tapir
#

if it matters anything

fervent geyser
#

it should

#

next chapter should cover it i believe

gentle tapir
#

alright

#

installing the base system

fervent geyser
#

okay

#

now before anything

#

run that copy dns info command

gentle tapir
#

cp --dereference /etc/resolv.conf /mnt/gentoo/etc/

#

dis

fervent geyser
#

yes

gentle tapir
#

done

fervent geyser
#

now you can do arch-chroot /mnt/gentoo

gentle tapir
#

mount --types proc /proc /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --make-rslave /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
mount --make-rslave /mnt/gentoo/dev
mount --bind /run /mnt/gentoo/run
mount --make-slave /mnt/gentoo/run

fervent geyser
#

or that

gentle tapir
#

can i write this

fervent geyser
#

its optional

gentle tapir
#

into a single line of code

fervent geyser
#

remember the notice it says

#

you are on gentoo's install media right?

gentle tapir
#

yeee

#

live

fervent geyser
#

if so, you can just type arch-chroot /mnt/gentoo

gentle tapir
#

gui

#

arch-chroot /mnt/gentoo

#

okaz

#

done

fervent geyser
#

now you are in your filesystem

gentle tapir
#

source /etc/profile

#

dis?

#

than the export?

fervent geyser
#

i gues

#

yeah

#

also after those commands

#

you can read the green tip

#

it should help you genuinely

gentle tapir
#

ah okay

#

@echo totem here

#

prepearing for bootloader

fervent geyser
#

you can skip the mount commands as you've already mounted the partitions

#

its just for making sure

gentle tapir
#

ah okay

fervent geyser
#

now comes the fun part

gentle tapir
#

configuring portage

fervent geyser
#

emerge-webrsync

gentle tapir
#

emerge-webrsync

#

ze

#

wat does this do

fervent geyser
#

it explains above

gentle tapir
#

ah ok

#

i ran it

fervent geyser
#

no errors?

gentle tapir
#

done

#

ye

fervent geyser
#

alr good

gentle tapir
#

everthings fine

fervent geyser
#

you can skip the optional parts it says

gentle tapir
gentle tapir
fervent geyser
#

alr

#

you can also read the news items

gentle tapir
#

choosing the right profile

echo totem
#

Why 2 accounts ๐Ÿ˜…

gentle tapir
#

i dont know lol.

#

eselect profile list

#

what am i supposed to select

fervent geyser
#

so you want openrc right?

gentle tapir
#

yes

fervent geyser
#

but do you also want some pre-installed big dependencies?

#

if so

gentle tapir
#

ye

fervent geyser
#

choose the desktop profile that does not mention systemd

gentle tapir
#

so it will be easy

#

is 7 fine??

fervent geyser
#

do you want plasma?

#

if so, then use that

gentle tapir
#

ye why not

fervent geyser
#

alr

#

choose 7 then

gentle tapir
#

done

fervent geyser
#

this is optional but will hlep you greatly

#

its about binary hosts

#

actually

#

you probably already have one preconfigured

#

but in that case

#

run getuto

gentle tapir
#

okay

fervent geyser
#

so it gets the gpg keys

#

for verification

gentle tapir
#

done

fervent geyser
#

yeah its good

gentle tapir
#

now what

fervent geyser
#

now

#

run emerge --info

#

you can finally interact with the package manager so

gentle tapir
#

r u reading the handbook aswell? ur u know this

fervent geyser
#

yeah i am

#

to make sure i don't make mistakes too

#

as the handbook is good

gentle tapir
#

fairs

gentle tapir
fervent geyser
#

you can also append | grep ^USE

#

well

#

i think you should be fine with the use flags already

#

since you want plasma

gentle tapir
#

alright then

fervent geyser
#

but in hte case you want to add a global use flag

#

you can add them to make.conf

#

remember though

gentle tapir
#

na its probably fine like this

fervent geyser
#

a single USE="flag" won't remove all other flags

#

its just appending it

#

if you want to remove a flag you don't like, e.g. bluetooth

#

you do USE="-bluetooth"

#

USE=

gentle tapir
#

it can stay tbh

fervent geyser
#

sure

gentle tapir
#

i dont mind them

fervent geyser
#

alr

gentle tapir
#

whats the next step

#

cuz im lost

fervent geyser
#

now for video cards

#

remember you said you have nvidia gpu right?

gentle tapir
#

ye

fervent geyser
#

this is a relevant part

gentle tapir
#

rtx 4050

fervent geyser
#

make a file named 00video_cards in /etc/portage/package.use

gentle tapir
#

how

fervent geyser
#

nano

gentle tapir
#

whats the command

#

i mean

fervent geyser
#

alr let me show

gentle tapir
#

im pretty much a newbie sorry

fervent geyser
#

its fine

#

so as you are in the chroot

gentle tapir
#

i am

fervent geyser
#

it shouldn't matter if its absolute as you are in your filesystem and not in the livecd's filesystem

gentle tapir
fervent geyser
#

so you can do nano /etc/portage/package.use/00video_cards

#

if package.use does not exist

#

mkdir it

gentle tapir
fervent geyser
#

okay

#

/*/ VIDEO_CARDS: -* nvidia in you and i's case

#

OH

#

and

#

maybe intel

#

if you have intel integrated gpu

gentle tapir
#

okat so

#

what do i type

gentle tapir
fervent geyser
#

here

gentle tapir
#

/ VIDEO_CARDS: -* intel nvidia

fervent geyser
#

you use a laptop btw right?

gentle tapir
#

yes

fervent geyser
#

i use a laptop with intel iGPU and nvidia dGPU so

#

yeah in that case

#

type that

#

now for the next thing

#

ACCEPT_LICENSE

gentle tapir
#

do i save and exit

fervent geyser
#

correct

#

yes

gentle tapir
#

okay done

fervent geyser
#

so first things first

#

do you want all packages even with non-free licenses?

#

or do you prefer choosing individually?

gentle tapir
#

hm

#

all is good

#

i dont really mind

#

lol

fervent geyser
#

in that case

#

you can put ACCEPT_LICENSE="*" in make.conf

gentle tapir
#

?

fervent geyser
#

/etc/portage/make.conf

gentle tapir
#

i forgot the location

#

ye

fervent geyser
#

and nano, yes

gentle tapir
#

done

#

saved and exited

fervent geyser
#

alr

#

now the next step is rather optional

#

but it might help

gentle tapir
#

alr

fervent geyser
#

emerge -avuDN @world will make it so you update your system. equivalent to pacman -Syu

#

or

#

emerge -avugDN @world which will download binaries, or compile if no use flags match or no binaries found

gentle tapir
#

back

fervent geyser
#

alright

#

you can also type the long version of the flags

#

or the short versions as i said there

gentle tapir
#

this is the -avugDN one

#

there is an error

fervent geyser
#

hmm circular dependencies

gentle tapir
fervent geyser
#

have you tried the non binary version?

#

yes i know it might take a while but

fervent geyser
#

same results?

gentle tapir
fervent geyser
#

oh it says a solution there at the bottom

#

"it might be possible to break this cycle"

gentle tapir
#

what is it

#

ah ye

fervent geyser
#

you can apply one of either of those changes

gentle tapir
#

where

fervent geyser
#

remember package.use?

#

you can create a new file there

#

any name will work

gentle tapir
#

whats the code

#

ply

#

plz

fervent geyser
#

nano /etc/portage/package.use/filename

#

remember to change the filename to something else

#

that you can memorize

gentle tapir
#

nano /etc/portage/package.use/pain

#

is good

#

lmao

fervent geyser
#

alr

#

btw fun fact

gentle tapir
#

created it

gentle tapir
fervent geyser
#

you can separate the files inside that directory, or put all useflags you want to one single file

#

its all optional and a choice after all

#

for example, if you want steam

gentle tapir
#

its good like dis

fervent geyser
#

alr

gentle tapir
#

and etc

#

steam

#

sober

#

roblox

fervent geyser
#

okay

gentle tapir
#

yk

fervent geyser
#

yeah i know

gentle tapir
#

im in here

fervent geyser
#

now either put media-libs/tiff -webp or uh

#

the other one

gentle tapir
#

media-libs/tiff -webp

fervent geyser
#

once again i advise you change the filename to what you want

gentle tapir
#

ill do this

fervent geyser
#

yes

gentle tapir
#

done

fervent geyser
#

also if you want to change the filename to pain for example

#

do mv /etc/portage/package.use/filename /etc/portage/package.use/pain

gentle tapir
fervent geyser
#

yup

gentle tapir
#

so what now

fervent geyser
#

rerun the update command again

gentle tapir
#

oh ye

#

emerge -avuDN @world

fervent geyser
#

yes

#

or with g in it too

#

try with g first

gentle tapir
fervent geyser
#

oh wel another fix then

gentle tapir
#

this is the one without

#

g

#

do i try with g

fervent geyser
#

try that too i guess

#

it might error like the non g one too but eh

#

better to know the result

gentle tapir
#

emerge -avugDN

fervent geyser
#

yes

#

and @world

gentle tapir
#

okayy

#

well its doing something

fervent geyser
#

oh nice

#

its doing its job then

#

you can wait now

gentle tapir
#

kk

#

does it take long

fervent geyser
#

it should take maybe a few minutes

#

since many of those packages are binaries

gentle tapir
#

alright

echo totem
fervent geyser
#

so it does not take very long

#

again, gentoo is about choice

gentle tapir
fervent geyser
#

not about always compiling

echo totem
echo totem
gentle tapir
#

Helloooo

echo totem
#

So ia why did you choose gentoo?

fervent geyser
#

well i could also ask that

gentle tapir
#

tbh

#

i wanteed a challange lmao

fervent geyser
#

since you said you are a newbie

gentle tapir
#

i mean yeah pretty much

fervent geyser
#

well to be honest? i actualy installed gentoo because of that too

gentle tapir
#

i tried every distro

#

but not this

#

and im a newbie at this

fervent geyser
#

but i also want customization

echo totem
echo totem
fervent geyser
#

its not extremely hard tbh

gentle tapir
#

ill probably daily drive it

echo totem
#

I was also a โ€œnewbieโ€ relatively speaking

fervent geyser
#

its just reading the handbook

gentle tapir
#

just gotta get used to it

#

probably

echo totem
fervent geyser
#

gentoo is as easy as arch linux

echo totem
#

At least you learn not to skim but to read

echo totem
gentle tapir
echo totem
#

Iโ€™ve been daily driving for about 9 months

gentle tapir
#

just archinstall so nvidia drivers are easier

gentle tapir
fervent geyser
#

it honestly shouldn't be

#

well

echo totem
fervent geyser
#

depends if you get dependency issues

#

or conflicts

fervent geyser
#

or even circular dependencies or slot conflicts

echo totem
#

If not then youโ€™ll have fun debugging gentoo

gentle tapir
#

its just stupid

fervent geyser
gentle tapir
#

do yall use a de

#

or a wm

fervent geyser
echo totem
fervent geyser
#

i use hyprland

gentle tapir
#

cool

#

what about u @echo totem

fervent geyser
#

with illogical-impulse

echo totem
#

I use sway

gentle tapir
#

wow nice

#

i always used

#

i3

#

i wanted to try windowmaker for fun

echo totem
#

Sway is inspired by i3

fervent geyser
#

actually

#

sway IS i3

#

but wayland

echo totem
#

I used to use i3 but I changed to using Wayland instead of X and thus I wanted to switch i3 as well

gentle tapir
#

doesnt x11 work better

#

on nvidia

#

stuff

echo totem
fervent geyser
#

i mean my gpu works very fine in wayland

#

and the same results apply in X11

gentle tapir
#

whats ur gpu

fervent geyser
#

GTX 1650 mobile

gentle tapir
#

noice

#

this community is pretty nice lol

echo totem
#

You code ia?

gentle tapir
#

im learning

echo totem
fervent geyser
#

also

gentle tapir
#

im going to graduate

fervent geyser
#

is the world update done yet?

echo totem
gentle tapir
#

so i have to choose

#

a subject

#

to go to

gentle tapir
#

a pain in the ass

#

lol

gentle tapir
#

pc administrator

#

or wwtv

#

is it

#

its about cisco

#

and oses

#

etc

echo totem
gentle tapir
#

networking

gentle tapir
#

its updting

fervent geyser
#

sorry if im interrupting

gentle tapir
#

or wtv

#

its doing

fervent geyser
#

alr

gentle tapir
#

na its okay

#

idk what its doing xd

echo totem
gentle tapir
fervent geyser
#

i think its best the installation is finished first before talking about these lol

echo totem
#

You code miniature?

fervent geyser
#

just saying

#

i do python

#

but unfortunately

#

i depend a lot on AI

gentle tapir
fervent geyser
#

because its just

#

difficult

#

but i do know what i am doing

#

so there's that

#

so if the AI makes a mistake, i deal with it myself

gentle tapir
#

how old are yall

echo totem
#

You are doing backend development

fervent geyser
fervent geyser
gentle tapir
#

oh wow

#

im turning 15 on june

fervent geyser
#

yes, G-Man

echo totem
gentle tapir
#

nice

fervent geyser
#

literally G-Man from HL

gentle tapir
#

so im pretty much the youngest here

#

lol

echo totem
#

But there are 13yo guys using gentoo

gentle tapir
#

oh wow

#

they are literally better than me lol

#

not being able to speak english natively is so bad

echo totem
gentle tapir
#

like

echo totem
gentle tapir
#

well u talk it

#

pretty well

#

188 out of 255

echo totem
echo totem
fervent geyser
gentle tapir
#

yw

echo totem
#

Why are there so many packages tho?

fervent geyser
#

dependencies of kde plasma

#

i believe

gentle tapir
#

why does my mouse get bigger when i start moving it around fast lol

echo totem
fervent geyser
gentle tapir
#

ye i chose kde plasma

fervent geyser
#

it can be disabled in settings

gentle tapir
fervent geyser
#

but i advise you do that after installing gentoo lol

gentle tapir
#

ye

#

look lol

fervent geyser
#

yeah its infinite iirc

#

if you stop moving it, it'll reset

echo totem
gentle tapir
#

ye

gentle tapir
fervent geyser
#

oh also i noticed

#

you are ALMOST done

#

it showed 230 something

gentle tapir
#

is the installation going to be harder now?

fervent geyser
#

actually no

gentle tapir
#

yay

fervent geyser
#

its just more steps

#

there's no "difficult" in here so

echo totem
#

Wait you installed kde plasma before installing?

gentle tapir
#

no its a live gui

fervent geyser
#

technically its in the chroot

#

he is installing plasma in the chroot

gentle tapir
#

oh ye

fervent geyser
#

so after he reboots when finishing the installation, it'll boot there

gentle tapir
#

oh for real?

fervent geyser
#

i guess

gentle tapir
#

i tought there will be no DE

fervent geyser
#

yeah dw

echo totem
#

Oh ok I didnโ€™t know he chrooted

gentle tapir
#

it finished

fervent geyser
#

okay

gentle tapir
fervent geyser
#

optionally, emerge --ask --depclean

#

so you safely remove no longer needed packages

#

or for short

#

emerge -ac

gentle tapir
#

emerge --ask --depclean

#

okay

#

done

fervent geyser
#

okay

#

now

#

set your timezone

echo totem
#

What has he done so far?

gentle tapir
#

im pretty much lost in the handbook now

fervent geyser
gentle tapir
#

oh okay

#

im in Europe/Budapest

#

what do i do

fervent geyser
#

okay, then you can do the ln -sf command

#

replacing the timezone there with yours

#

let me show rq

gentle tapir
#

ln -sf ../usr/share/zoneinfo/Europe/Budapest /etc/localtime

#

this?

fervent geyser
#

yes

gentle tapir
#

done

fervent geyser
#

also type date after that to confirm

gentle tapir
#

ye correct

fervent geyser
#

now for locales

gentle tapir
#

what is tht

fervent geyser
#

what locale do you want?

#

like uh

#

en_US

gentle tapir
#

the launglage

#

ye

#

thats okay

fervent geyser
#

okay, go into /etc/locale.gen

#

with nano

gentle tapir
#

and just

#

remove the

#

symbol

#

right

fervent geyser
#

and uncomment the one that starts with en_US

#

make sure its UTF-8

gentle tapir
#

done

fervent geyser
#

now locale-gen

gentle tapir
fervent geyser
#

after that, verify with locale -a

#

yeah good

gentle tapir
#

ye utf8

#

done

fervent geyser
#

okay

#

next, eselect locale list

#

personally i just keep the C.UTF-8 locale

#

but i guess en_US also works

gentle tapir
#

c one is good

#

its the number

#

2

fervent geyser
#

okay you can skip that then

#

now

gentle tapir
#

alright

fervent geyser
#

reload the environment

#

with that one long command it shows

gentle tapir
#

env-update && source /etc/profile && export PS1="(chroot) ${PS1}"

fervent geyser
#

yes

gentle tapir
#

done

fervent geyser
#

now

#

install linux-firmware

gentle tapir
#

configuring the linux kernel

echo totem
#

What part of the handbook are you guys in now?

fervent geyser
#

via emerge --ask sys-kernel/linux-firmware

fervent geyser
gentle tapir
#

emerge --ask sys-kernel/linux-firmware

fervent geyser
#

yeah

gentle tapir
#

this is pretty fun ngl

echo totem
gentle tapir
#

thanks for the help btw

echo totem
fervent geyser
#

yw

#

remember after the installation

#

the wiki may help you more

gentle tapir
#

well

fervent geyser
#

there are numerous pages for software

#

and such

gentle tapir
#

im pretty stupid lol

#

so ye

fervent geyser
#

and it should include commands or configurations

gentle tapir
#

its safer for me to ask here lol

fervent geyser
#

yeah no problem with that

gentle tapir
#

it downloaded

fervent geyser
#

okay

#

now

#

you should do sys-firmware/sof-firmware

#

emerge --ask ofc

gentle tapir
#

emerge --ask sys-firmware/sof-firmware

#

done

fervent geyser
#

its regarding audio drivers

gentle tapir
#

this was pretty fast

fervent geyser
#

now

#

for the bootloader

#

but first

gentle tapir
fervent geyser
#

nano /etc/portage/package.use/installkernel

echo totem
#

Why sof and not Linux-firmware

fervent geyser
#

they are required

gentle tapir
gentle tapir
#

iy

#

it

fervent geyser
#

now add in sys-kernel/installkernel ugrd grub

#

this makes it so uh

#

ugrd is the initramfs generator

#

which is RECOMMENDED

echo totem
fervent geyser
#

as dracut can have issues sometimes

#

and grub is the bootloader

gentle tapir
fervent geyser
#

yup

gentle tapir
#

done

fervent geyser
#

now emerge sys-kernel/installkernel

#

add --ask too obv

#

if you want i guess

gentle tapir
#

emerge --ask sys-kernel/installkernel

fervent geyser
#

yes

gentle tapir
#

alright its doing it

fervent geyser
#

now

#

this is the fun part

#

installing a distribution kernel

gentle tapir
#

wats that

#

wait cuz its still doing this thing

fervent geyser
#

you can choose between sys-kernel/gentoo-kernel or sys-kernel/gentoo-kernel-bin

#

oh

#

well after that

fervent geyser
#

i advise going with the binary kernel

#

as it will work OOTB

gentle tapir
#

alright

echo totem
gentle tapir
#

ah

fervent geyser
#

many people confuse gentoo for basically always customizing your kernel

#

but that is dead wrong

gentle tapir
#

done

#

it updated

fervent geyser
#

alr

gentle tapir
#

or wtv

#

it did

#

emerge

fervent geyser
#

the installkernel thing?

#

after that

gentle tapir
#

not dat

#

or wait

#

i forgot

fervent geyser
#

after installkernel, do emerge --ask sys-kernel/gentoo-kernel-bin

gentle tapir
#

this

fervent geyser
#

oh okay

gentle tapir
#

emerge --ask sys-kernel/gentoo-kernel-bin

fervent geyser
#

yup

gentle tapir
#

alright its doing it

#

done

#

@fervent geyser

fervent geyser
#

alrighty

#

now uh

#

this is recommended for things like nvidia-drivers

#

add USE="dist-kernel" to make.conf

gentle tapir
#

forgot the location of it

#

what is it again lol

fervent geyser
#

in /etc/portage/make.conf

gentle tapir
#

tz

#

ty

#

added

fervent geyser
#

alright

#

skip the long part where it says about gentoo-sources or whatever

#

its not important

gentle tapir
#

okay

fervent geyser
#

now continue on to configuring the system

gentle tapir
#

okayy

#

im there

fervent geyser
#

now for fstab file

#

which is in /etc/fstab

gentle tapir
#

nano /etc/fstab

fervent geyser
#

yes

#

so for the fstab file

gentle tapir
#

okay im in it

fervent geyser
#

its where the kernel mounts the filesystems

#

when rebooting and such

gentle tapir
#

ah

#

what do i add here

fervent geyser
#

let me show my fstab right quick so you can change it to the necessary values for your partitions

gentle tapir
#

alr

fervent geyser
#
/dev/sda2        /        xfs        defaults,noatime    0 1
/swapfile        none        swap        sw            0 0```
#

make sure to replace everything necessary

#

and don'T add the /swapfile part

#

its just what i use

#

instead of a swap partition

#

since i use xfs and you use ext4

#

replace xfs with ext4

gentle tapir
#

what do i replace swapfile with

fervent geyser
#

your swap partition

#

don't change the none swap sw 0 0 thing

#

since you have nvme

#

replace them with that

gentle tapir
#

my swap partition in /dev/nvme0n1p2

fervent geyser
#

yeah

#

replace sda with nvme

gentle tapir
#

is this right

fervent geyser
#

yeah should be, you can however uh

#

swap the position of swap and the root filesystem

#

you can for example put the swap in the middle

gentle tapir
#

/dev/nvme0n1p3 / ext4 defaults,noatime 0 1

#

okat

#

okay

fervent geyser
#

now show the contents again so i can make sure

gentle tapir
echo totem
gentle tapir
gentle tapir
fervent geyser
#

yeah, all good

gentle tapir
#

check if its right

#

alright

fervent geyser
#

now hostname

#

choose your own for that

gentle tapir
#

hostnamectl hostname tux

fervent geyser
#

then yourhostname > /etc/hostname

#

no no

gentle tapir
#

is this it

#

ah

fervent geyser
#

echo

gentle tapir
#

V

#

echo tux > /etc/hostname

#

tux is perfect

fervent geyser
#

well sure

#

do that

gentle tapir
#

done

fervent geyser
#

now uh

#

do you use wifi

gentle tapir
#

yes

fervent geyser
#

okay

gentle tapir
#

im on wifi rn

#

but networkmanager wasnt working

#

so i had to do sm else in terminal

echo totem
#

Question miniature

gentle tapir
#

i asked gemini

echo totem
#

The fstab file

gentle tapir
#

hm?

fervent geyser
echo totem
#

Why didnโ€™t we put

/dev/cdrom /mnt/cdrom auto noauto,user 0 0

fervent geyser
#

because its optional

#

i don't think its needed

echo totem
fervent geyser
#

and its nothing critical to the filesystem so

echo totem
#

Alr alr

gentle tapir
#

okay so what now

fervent geyser
#

so now

#

you will have to emerge networkmanager but first

#

i advise you use iwd instead of wpa_supplicant

#

to do that

#

make the file with nano /etc/portage/package.use/networkmanager and put in net-misc/networkmanager iwd

gentle tapir
#

done

fervent geyser
#

now emerge it

gentle tapir
#

emerge --ask net-misc/networkmanager

#

this?

fervent geyser
#

yup

gentle tapir
#

emerging

#

damn this ones kinda long

fervent geyser
#

should be over within a few minutes then

gentle tapir
#

18 out of 19

#

done

fervent geyser
#

alr

#

next, edit /etc/hosts

gentle tapir
#

nano /etc/hosts

fervent geyser
#

yup

gentle tapir
#

im in it

fervent geyser
#
127.0.0.1    localhost
::1        localhost
127.0.0.1    Gentoo
::1        Gentoo```
#

replace Gentoo with tux

#

that Gentoo is my hostname

gentle tapir
#

IPv4 and IPv6 localhost aliases

127.0.0.1 localhost
::1 localhost
127.0.0.1 tux
::1 tux

fervent geyser
#

yeah

gentle tapir
#

done

fervent geyser
#

now set your root password

#

via passwd

#

make sure its memorable

gentle tapir
#

done

fervent geyser
#

next, do you want to change your keymap?

#

this si mainly applied in the tty

gentle tapir
#

ye

fervent geyser
#

okay

gentle tapir
#

well

#

no

#

i pretty much got used to this

fervent geyser
#

nano /etc/conf.d/keymaps

gentle tapir
#

lol

fervent geyser
#

oh

gentle tapir
#

ye

fervent geyser
#

but still

#

review the file atleast

gentle tapir
#

ok

#

ay

#

or yk what ill change it to hu

fervent geyser
#

sure

gentle tapir
#

do i change the keymap="hu"

fervent geyser
#

i think

#

in my case its trq

gentle tapir
#

done

fervent geyser
#

which is turkish q

gentle tapir
#

i changed it

fervent geyser
#

okay, next chapter

gentle tapir
#

installing tools?

fervent geyser
#

yes

gentle tapir
#

okayyy

#

which one

#

do i need

fervent geyser
#

i chose sysklogd

gentle tapir
#

emerge --ask app-admin/sysklogd

fervent geyser
#

yeah

gentle tapir
#

on networkmanager

fervent geyser
#

oh

gentle tapir
#

is it ok

fervent geyser
#

yeah do it to that first then

gentle tapir
#

or

#

no

fervent geyser
#

make sure to do it

gentle tapir
#

i forgot the command wait

fervent geyser
#

because otherwise it will not start the service when booting

#

rc-update add NetworkManager default

#

is it

gentle tapir
#

added it

#

emerge --ask app-admin/sysklogd

#

now this

fervent geyser
#

yeah

#

then rc-update command

gentle tapir
#

then rc-update add sysklogd default

#

ye

fervent geyser
#

yes

gentle tapir
#

done

#

i have to go what do i do

#

do i just keep the laptop on

fervent geyser
#

you can, but also remember

#

you can still shut it down but continue onwards without partitioning the disks again

#

you just have to remount the filesystem and the efi partition

gentle tapir
#

na ill leave it on