#Did I do dis right ๐ค
1 messages ยท Page 1 of 1 (latest)
i think it looks about right
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
alright then, i guess you can go ahead
okaz doneee
for swap, its just mkswap
and for the file system
which filesystem actually?
ext4? xfs?
in cfdisk
the type is linux filesystem
what is this
ah sudo
okay
btw it gets srtaight to mounting the root partition
back
oh about the livegui
you can directly just do su iirc
that will make you root
yes, if you want ext4 as your filesystem
its fine
yup
after that, make a directory inside the root of /mnt/gentoo which is called efi
as shown in the handbook
/mnt/gentoo/efi
i just type mkdir --parents /mnt/gentoo/efi after mounting the root
yeah
then mount the efi partition
okay
done
then mount it
the first one<
you have to mount it to /mnt/gentoo/efi
nvme0n1p1
yeah
so mount /dev/nvme0n1p1 /mnt/gentoo/efi
yes
done
to show if its atleast close to the real time
ye
okay its fine then
so since you are on livegui
you should choose your stage3 tarball
which you will wget that link
into /mnt/gentoo
im already in mnt/gentoo
okay done
tar xpvf stage3-.tar.xz --xattrs-include='.*' --numeric-owner -C /mnt/gentoo
now this<
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
nano /mnt/gentoo/etc/portage/make.conf
yes
remember though
the -j depends on your amount of CPU cores
make sure not to do ALL of it
how do i check that
12
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
i got 16gb of ram
you are in the make.conf file right?
ye
yeah but replace the -j4 with -j8
like after the lc_messages
it doesn't matter where it is put
you can put MAKEOPTS at the top, or the bottom
anywhere you like
okay done
you can now save the file
do i need to put sm else
i also have an nvidia rtx 4050
you'll see more in the next steps
if it matters anything
yes
done
now you can do arch-chroot /mnt/gentoo
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
or that
can i write this
its optional
into a single line of code
if so, you can just type arch-chroot /mnt/gentoo
now you are in your filesystem
i gues
yeah
also after those commands
you can read the green tip
it should help you genuinely
you can skip the mount commands as you've already mounted the partitions
its just for making sure
ah okay
now comes the fun part
configuring portage
emerge-webrsync
it explains above
no errors?
alr good
everthings fine
you can skip the optional parts it says
ye mirrors
choosing the right profile
so you want openrc right?
yes
ye
choose the desktop profile that does not mention systemd
ye why not
done
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
okay
yeah its good
now what
r u reading the handbook aswell? ur u know this
fairs
done
you can also append | grep ^USE
well
i think you should be fine with the use flags already
since you want plasma
alright then
but in hte case you want to add a global use flag
you can add them to make.conf
remember though
na its probably fine like this
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=
it can stay tbh
sure
i dont mind them
alr
ye
this is a relevant part
rtx 4050
make a file named 00video_cards in /etc/portage/package.use
how
nano
alr let me show
im pretty much a newbie sorry
i am
it shouldn't matter if its absolute as you are in your filesystem and not in the livecd's filesystem
so you can do nano /etc/portage/package.use/00video_cards
if package.use does not exist
mkdir it
okay
/*/ VIDEO_CARDS: -* nvidia in you and i's case
OH
and
maybe intel
if you have intel integrated gpu
i do prob
/ VIDEO_CARDS: -* intel nvidia
you use a laptop btw right?
yes
i use a laptop with intel iGPU and nvidia dGPU so
yeah in that case
type that
now for the next thing
ACCEPT_LICENSE
okay done
so first things first
do you want all packages even with non-free licenses?
or do you prefer choosing individually?
/etc/portage/make.conf
and nano, yes
alr
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
back
alright
you can also type the long version of the flags
or the short versions as i said there
hmm circular dependencies
i did this one
and this one also
same results?
this is this one
oh it says a solution there at the bottom
"it might be possible to break this cycle"
you can apply one of either of those changes
where
nano /etc/portage/package.use/filename
remember to change the filename to something else
that you can memorize
created it
hm?
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
its good like dis
alr
after i did everthing got a de and all that ill prob need firefox
and etc
steam
sober
roblox
okay
yk
yeah i know
media-libs/tiff -webp
once again i advise you change the filename to what you want
ill do this
yes
done
also if you want to change the filename to pain for example
do mv /etc/portage/package.use/filename /etc/portage/package.use/pain
yup
so what now
rerun the update command again
oh wel another fix then
try that too i guess
it might error like the non g one too but eh
better to know the result
emerge -avugDN
alright
Why did he choose binary packages?
hi
not about always compiling
Right
Hi
Helloooo
So ia why did you choose gentoo?
well i could also ask that
since you said you are a newbie
i mean yeah pretty much
well to be honest? i actualy installed gentoo because of that too
but i also want customization
Sounds about right. Many people get to use gentoo because of that
I mainly started using gentoo because of this
its not extremely hard tbh
ill probably daily drive it
I was also a โnewbieโ relatively speaking
its just reading the handbook
Pretty much
gentoo is as easy as arch linux
At least you learn not to skim but to read
Cool
well i never installed arch manually lol
Iโve been daily driving for about 9 months
just archinstall so nvidia drivers are easier
it it hard?
If you keep yourself on a stable profile you wonโt run into issues
what u mean
or even circular dependencies or slot conflicts
If not then youโll have fun debugging 
ai is prettz much bad i asked gemini to help me
its just stupid
don't use ACCEPT_KEYWORDS="~amd64"
ah okay
do yall use a de
or a wm
this will make it so binary packages won't be fetched because it uses the testing part
Donโt worry
i use hyprland
with illogical-impulse
I use sway
Sway is inspired by i3
I used to use i3 but I changed to using Wayland instead of X and thus I wanted to switch i3 as well
Yep
it depends
i mean my gpu works very fine in wayland
and the same results apply in X11
whats ur gpu
GTX 1650 mobile
You code ia?
Yep very friendly
also
im going to graduate
is the world update done yet?
What language?
i chose some
pc administrator
or wwtv
is it
its about cisco
and oses
etc
ai check out this question
networking
sorry if im interrupting
alr
No you are not
i think its best the installation is finished first before talking about these lol
You code miniature?
thats cool
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
how old are yall
You are doing backend development
this is what i do python with: https://codeberg.org/MiniatureEge2006/g-man
19, will turn 20 this year
Rise and shine
yes, G-Man
17 over here
nice
literally G-Man from HL
Among us 3 yes
But there are 13yo guys using gentoo
oh wow
they are literally better than me lol
not being able to speak english natively is so bad
Well they are using gentoo already so ig they are ๐คทโโ๏ธ
like
yeah
Donโt worry English isnโt my mother tongue neither
Ty
Close
alright
yw
Why are there so many packages tho?
why does my mouse get bigger when i start moving it around fast lol
Ohh thatโs why
kde plasma feature
ye i chose kde plasma
it can be disabled in settings
ah okay
but i advise you do that after installing gentoo lol
What happened to the cursor?
ye
it ate too much
actually no
yay
Wait you installed kde plasma before installing?
no its a live gui
oh ye
so after he reboots when finishing the installation, it'll boot there
oh for real?
i guess
i tought there will be no DE
yeah dw
Oh ok I didnโt know he chrooted
it finished
okay
optionally, emerge --ask --depclean
so you safely remove no longer needed packages
or for short
emerge -ac
What has he done so far?
okay, then you can do the ln -sf command
replacing the timezone there with yours
let me show rq
yes
done
also type date after that to confirm
ye correct
now for locales
what is tht
done
now locale-gen
okay
next, eselect locale list
personally i just keep the C.UTF-8 locale
but i guess en_US also works
alright
env-update && source /etc/profile && export PS1="(chroot) ${PS1}"
yes
done
configuring the linux kernel
What part of the handbook are you guys in now?
via emerge --ask sys-kernel/linux-firmware
configuring the kernel
this one
emerge --ask sys-kernel/linux-firmware
yeah
this is pretty fun ngl
Okok I see now
thanks for the help btw
Wellโฆ ig it can be fun
well
and it should include commands or configurations
its safer for me to ask here lol
yeah no problem with that
it downloaded
its regarding audio drivers
this was pretty fast
hm?
nano /etc/portage/package.use/installkernel
Why sof and not Linux-firmware
i got both
now add in sys-kernel/installkernel ugrd grub
this makes it so uh
ugrd is the initramfs generator
which is RECOMMENDED
I didnโt remember that mb I thought it was one or the other
eh its okay
yup
done
emerge --ask sys-kernel/installkernel
yes
alright its doing it
you can choose between sys-kernel/gentoo-kernel or sys-kernel/gentoo-kernel-bin
oh
well after that
which one do u recommend
alright
Itโs basically something that allows your kernel to be updated automatically
ah
many people confuse gentoo for basically always customizing your kernel
but that is dead wrong
alr
after installkernel, do emerge --ask sys-kernel/gentoo-kernel-bin
oh okay
emerge --ask sys-kernel/gentoo-kernel-bin
yup
alrighty
now uh
this is recommended for things like nvidia-drivers
add USE="dist-kernel" to make.conf
in /etc/portage/make.conf
alright
skip the long part where it says about gentoo-sources or whatever
its not important
okay
now continue on to configuring the system
nano /etc/fstab
okay im in it
let me show my fstab right quick so you can change it to the necessary values for your partitions
alr
/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
what do i replace swapfile with
your swap partition
don't change the none swap sw 0 0 thing
since you have nvme
replace them with that
my swap partition in /dev/nvme0n1p2
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
now show the contents again so i can make sure
Did you make sure yours is nvme0n1p?
yes
@fervent geyser
yeah, all good
hostnamectl hostname tux
echo
done
yes
okay
im on wifi rn
but networkmanager wasnt working
so i had to do sm else in terminal
Question miniature
i asked gemini
The fstab file
hm?
?
Why didnโt we put
/dev/cdrom /mnt/cdrom auto noauto,user 0 0
Use nmtui
and its nothing critical to the filesystem so
Alr alr
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
done
now emerge it
yup
should be over within a few minutes then
nano /etc/hosts
yup
im in it
127.0.0.1 localhost
::1 localhost
127.0.0.1 Gentoo
::1 Gentoo```
replace Gentoo with tux
that Gentoo is my hostname
IPv4 and IPv6 localhost aliases
127.0.0.1 localhost
::1 localhost
127.0.0.1 tux
::1 tux
yeah
done
done
ye
okay
nano /etc/conf.d/keymaps
lol
oh
ye
sure
do i change the keymap="hu"
done
which is turkish q
i changed it
okay, next chapter
installing tools?
yes
emerge --ask app-admin/sysklogd
yeah
oh
is it ok
yeah do it to that first then
make sure to do it
i forgot the command wait
because otherwise it will not start the service when booting
rc-update add NetworkManager default
is it
yes
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
na ill leave it on