#i want to install tkg-bmq kernel but i want to configure it first then start compiling it

1338 messages · Page 2 of 2 (latest)

foggy frigate
#

I've never done it before so idk

#

No

remote lichen
foggy frigate
#

You just follow the steps on the ArchWiki page, that's really all there is to it
You just have to edit 2 files (arch.conf and loader.conf) and it tells you what to write

#

So see the load.conf entry at the start of the section and the arch.conf entry a bit further down
You can just copy it exactly and it'll work

#

And whenever it says "esp", that's just your /boot folder

remote lichen
#

Pfff...I just find it hard to understand from the wiki

#

Can u just please tell me what to type uh 😥

#

Please

foggy frigate
#

Write this in the /boot/loader/loader.conf file

#

Write this in the /boot/loader/entries/arch.conf

remote lichen
#

Entered /boot/loader/loader.conf and no output from it

#

Nano ?

#

Should I use nano

foggy frigate
#

Use any text editor

remote lichen
#

Default then tab arch.conf ? Or space

foggy frigate
#

Space

#

Tabs actually won't work

remote lichen
#

Should I delete those 2 ?

#

Or write under them

#

@foggy frigate

foggy frigate
#

Yeah just delete it, it doesn't matter

#

If the line starts with a hashtag, systemd boot will ignore the line

remote lichen
#

Now ctrlo then Ctrl x

foggy frigate
#

Yep

#

Well the movie is starting in 5 minutes so I have to go
Hopefully it just works now, if not you can ask other people or Google it since a lot of people here use systemd boot

remote lichen
#

Oh

#

K have fun

remote lichen
foggy frigate
#

Do bootctl update

remote lichen
#

Alright

foggy frigate
#

And make sure bootctl list has the new boot entry

remote lichen
#

Is that fine like that ?

#

@foggy frigate

foggy frigate
#

Install intel-microcode

remote lichen
#

Pacman -S intel-ucode ?

foggy frigate
#

yeah

#

Thought it was called intel-microcode oops

remote lichen
#

Oh I can't cause I didn't connect wifi

foggy frigate
#

(if you're wondering how in still here, I forgot movies have like 30 minutes of commercials before starting lol)

foggy frigate
remote lichen
#

Oh lol

foggy frigate
#

Or maybe that wont work since network manager wouldn't be running

#

You might need to exit the chroot and connect normally

#

And then enter the chroot again

remote lichen
#

Entered the chroot..do I need to type any mount commands ?

#

Or just install directly intel-ucode

#

@foggy frigate

foggy frigate
#

Just Install intel-ucode

remote lichen
#

Done

#

Now what

#

Bootctl list ?

foggy frigate
#

yeah and see if the intel-ucode line is still red

remote lichen
#

Ye its there

foggy frigate
#

Then yeah just reboot and it should work

remote lichen
#

Hope so

#

I got this

foggy frigate
#

Ah, right
I didn't read that part
You have to set your root's disk label to "arch_os"

remote lichen
#

How

foggy frigate
#

It's weird that systemd boot uses these
Basically they're just a name you give a partition, idk why systemd would use these for something

foggy frigate
remote lichen
foggy frigate
#

Install e2fsprogs and run
e2label /dev/sda1 "arch_os"

remote lichen
#

On the same screen that I'm on now ?

foggy frigate
#

Nope you'd need to go back to the iso and mount the drives and arch-chroot again

remote lichen
#

K wait me a min

foggy frigate
#

Or wait sorry, /dev/sda2 not sda1

#

Wait not found for what part

remote lichen
#

The program to install

#

So ?

foggy frigate
#

It can't find the e2fsprogs package?

remote lichen
#

Ye

#

Says target not found

foggy frigate
#

Apparently it's in core
Try just running the command

#

Anyway movie is starting for real sorry, bye

remote lichen
#

Cya

#

Is that fine ?

#

Lmk when u get online

remote lichen
#

mount root to /mnt
mount efi partition to /mnt/boot
arch-chroot /mnt
nano /mnt/boot/entries/arch.conf (could be a different file)
change the root parameter to root=/dev/sda2
save it
exit chroot (exit)
umount -R /mnt
restart
Someone sent me this when I sent them the picture with archos thing...don't know if its gonna help or no

remote lichen
#

Hope u gonna come back soon cause I don't like sleeping late everyday... That makes my whole day bad uh

remote lichen
#

Imma sleep now uh...just tell me what to do exactly with commands pls and I'll do them tomorrow morning

rustic heart
#

and you want to use e2label on /dev/sda2, not 1

remote lichen
rustic heart
rustic heart
remote lichen
#

I'm using system-d boot not grub

rustic heart
#

oh, i'm not familiar with systemd-boot

remote lichen
#

Nvm then I'll wait for jodi then ig

foggy frigate
#

@remote lichen I'm here now if you need help

foggy frigate
remote lichen
remote lichen
#

@foggy frigate

remote lichen
#

Finally my first manual install that'd working with systemd boot and...phew I'm pretty happy now lol but IG I installed it so minimal...its not like when I installed it with arch install script ..many apps are missing

#

Can u recommend me app to unzip my files with thunar ? Cause terminal way is abit hard...I want a unzipping file the when I right click on a .zip file or .far for example it shows me extract here

remote lichen
#

and i installed pulseaudio and i noticed that it doesnt work..hope u know fix for it

foggy frigate
foggy frigate
silent valleyBOT
foggy frigate
#

.aw pulseaudio

silent valleyBOT
remote lichen
#

Some PulseAudio modules are not included in the main package and must be installed separately if needed:

pulseaudio-alsa for PulseAudio to manage ALSA as well, see #ALSA
pulseaudio-bluetooth for bluetooth support (Bluez), see bluetooth headset page
pulseaudio-equalizer for equalizer sink (qpaeq)
pulseaudio-jack for JACK sink, source and jackdbus detection
pulseaudio-lirc for infrared volume control with LIRC
pulseaudio-zeroconf for Zeroconf (Avahi/DNS-SD) support 

do i have to install all that ?

#

@foggy frigate

foggy frigate
#

You probably don't need any of them other than maybe alsa for old programs that only support alsa and I guess Bluetooth if you, yaknow, use bluetooth

remote lichen
#

no i dont use blutooth so..
sudo pacman -S pulseaudio-alsa
yea ?

foggy frigate
#

I guess so

#

Is pulseaudio working anywhere though or just not in specific applications

#

You can check if the server is even active with pactl info

remote lichen
#

[alu@arch ~]$ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 6
Tile Size: 65472
User Name: alu
Host Name: arch
Server Name: pulseaudio
Server Version: 16.1
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
Cookie: 7083:40a4
[alu@arch ~]$

foggy frigate
foggy frigate
#

What programs don't have sound that you've tried

remote lichen
foggy frigate
#

when you installed firefox, it should've asked you if you want jack or jack-pipewire
Which one did you pick

remote lichen
#

i dont remember actully..i just clicked enter on eveerything default

foggy frigate
#

I think it's pipewire by defauly

remote lichen
#

should i uninstall it and try again ?

foggy frigate
#

Just install jack and uninstall jack-pipewire and it'll be fine

#

pipewire is basically an alternative for pulseaudio (well more like a drop-in replacement)

remote lichen
#

sudo pacman -S jack
sudo pacman -Rs jack-pipeware
yea ?

foggy frigate
#

Yeah

remote lichen
#

[alu@arch ~]$ sudo pacman -S jack
[sudo] password for alu:
warning: jack2-1.9.21-3 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) jack2-1.9.21-3

Total Installed Size: 1.89 MiB
Net Upgrade Size: 0.00 MiB

:: Proceed with installation? [Y/n]

#

its already installed ig

#

ill type n and uninstall pipeware jack now

remote lichen
# foggy frigate Yeah

[alu@arch ~]$ sudo pacman -Rs jack-pipeware
error: target not found: jack-pipeware
[alu@arch ~]$

remote lichen
#

oh

#

[alu@arch ~]$ sudo pacman -Rs jack-pipewire
error: target not found: jack-pipewire
[alu@arch ~]$

foggy frigate
#

Oh it's pipewire-jack

remote lichen
#

should i just reinstall firefox ?

foggy frigate
#

Well first try to see if anything else that makes sound works

remote lichen
#

k sec

foggy frigate
#

Also try installing pavucontrol to see your devices
Make sure your speakers or headphones or whatever even come up

remote lichen
#

no sound in videos in mpv too

#

sudo pacman -S pavucontrol

#

installed

#

what now

#

@foggy frigate

foggy frigate
#

Run the pavucontrol app and see your devices and see if anything is there

remote lichen
#

yea there is firefox and system sounds in playback

#

recording is empty

foggy frigate
#

What's in the output devices section

remote lichen
#

port headphones and i cant change anything in it ig

foggy frigate
#

So your headphones are picked up

#

Weird how it doesn't work then

#

Your sound is up right
Like it's not muted or anything in pavucontrol

remote lichen
#

ye its up

foggy frigate
#

Weird there's no audio then
Maybe unplug the headphones and plug them back in

remote lichen
#

but uhm mic doesnt work

#

nvm ig its working...lemme check in 1 sec

#

yea nvm woking

#

uhm just wanna ask u about some more few things ig so its fully working as i want it to be..so uhm...why i dont see recycle bin in thunar ?

#

and what screenshot tool thats lightweight can i install on xfce

foggy frigate
remote lichen
#
  • when u boot ur pc up and shut it down do u also see the green text that says (ok)
    ok
    ok
    ok
    ok then turns off ? is there a way to remove them ?
foggy frigate
#

No I do not, but I think that's a systemd thing
I don't use systemd

foggy frigate
remote lichen
foggy frigate
#

it'd probably just called xfce-screenshooter

#

You can search btw, if you make a minor spelling mistake just do pacman -Ss Xfce4-screenshooter and it'll list packages with similar names

remote lichen
foggy frigate
remote lichen
foggy frigate
#

Imo it's always better to get each one seperately as you need it

remote lichen
#

ah got u

#

uhm..why i cant control sound through my kerboard ?

foggy frigate
#

Just right click on the panel (thing on the top) and click "add items"

#

Then click the plus and double click on the pulseaudio plugin

#

After that you'll see the volume icon and also be able to use the volume keys

remote lichen
#

pulse not in the items when i click add

foggy frigate
#

Did you install xfce-pulseaudio-plugin

remote lichen
#

[alu@arch ~]$ sudo pacman -S xfce-pulseaudio-plugins
[sudo] password for alu:
error: target not found: xfce-pulseaudio-plugins
[alu@arch ~]$ sudo pacman -Ss xfce-pulseaudio-plugins
[alu@arch ~]$

#

ow u removed the s

foggy frigate
#

Yeah

remote lichen
#

[alu@arch ~]$ sudo pacman -S xfce-pulseaudio-plugin
error: target not found: xfce-pulseaudio-plugin
[alu@arch ~]$

#

also can i diable anything in here ?

#

cause like why would xfce settings start by itself once i boot up and what can happen if i disabled power management from startup apps ?

foggy frigate
remote lichen
foggy frigate
remote lichen
#

@foggy frigate there is no app to open .txt files ? lol

#

hmm ?

foggy frigate
remote lichen
#

which

foggy frigate
#

your choice, theres a lot

#

mousepad if you want it to be basically just notepad from windows

remote lichen
#

lightest 1 for xfce ?

foggy frigate
#

gedit or kate if you want a full code editor

remote lichen
#

ig mousepad should be fine for me

#

i will send u the full thing i did and tell me if i need to change or add something to it...made it just incase kernel broke cause its arch lol...so i need to be ready for everything

#

@foggy frigate

foggy frigate
#

id also add more groups though
wheel,audio,video,netdev,plugdev
thats generally what youd want since some programs need it

#

(if some dont exist, just add them with ex: groupadd plugdev

remote lichen
#

i mean since its base not base-devel

foggy frigate
#

base-devel is only needed if you plan on compiling programs

remote lichen
foggy frigate
#

yeah which is compiling a program

#

and it should install it for you if you run makepkg -si

#

unless makepkg is also part of base-devel

remote lichen
#

yea but its needed for many things lol..most ppl use it...maybe even u

foggy frigate
#

I use it because on gentoo you have to compile every package yourself (other than a few)

remote lichen
#

its also needed to clean temp files

foggy frigate
#

on arch I also used it since I used the aur a lot and it installs it for you

remote lichen
#

yay -Scc

#

yay -Sc

#

yay --clean

foggy frigate
#

oh you mean yay
well yeah a lot of people use it, but itll install its dependencies for you

#

you dont need to manually install make and fakeroot
but either way it doesnt matter

#

if you think its helpful you can add it

remote lichen
#

sudo pacman -Rndd

foggy frigate
remote lichen
#

oh

#

alright

remote lichen
remote lichen
#

how can i add network icon in the taskbar ?

remote lichen
#

@foggy frigate

foggy frigate
#

network-manager-applet

#

couldve sworn xfce had their own

remote lichen
foggy frigate
#

You can add it to your autostart in the session and autostart settings app

remote lichen
foggy frigate
#

couldve just used nmtui or nmcli or anything else, its probably easier
for the future

remote lichen
#

oh

remote lichen
foggy frigate
#

And settings is what applies all of the settings you set in the settings apps

#

So without it your autostart stuff won't work, if you have keybindings, those won't work
Etc
It's a good idea to keep it on

remote lichen
#

got u..thanks for explaining

remote lichen
#

do u know how can i disable that weird beeb sound ?

foggy frigate
#

You can add that to your autostart

remote lichen
#

nvm ill type it myself everytime i boot up since its already short

foggy frigate
remote lichen
#

@foggy frigate if i wanted to install my xanmod kernel with my config now ill just put my config in the folder then do the commands u said then when i restart ill see it ? or its diffrent in systemd-boot ? + if i wanted to install lts kernel just as a backup ill just type sudo pacman -S linux-lts then ill see it in my boot options ? its just as simple as that or there is something i need to do?

remote lichen
#

no command to regenerate systemd ?

foggy frigate
#

well, youd want to add a new entry for it
just duplicate the arch.conf entry and change the file it uses for the kernel

#

and then run bootctl update

remote lichen
#

if i want to use 2 kernels i can type the the same thing in arch.conf but under what is already written so i can keep both in boot ?

foggy frigate
#

youd just duplicate the arch.conf file, call it like arch_xanmod.conf idk and do nothing other than change the
linux /vmlinuz-linux line to linux /xanmod-6.1.1-vmlinuz or whatever the file is called

#

you cant have them both in one file I dont think

remote lichen
#

i just wanted to do both in 1 file just incase something wrong happened to xanmod

foggy frigate
remote lichen
#

whats the diffrence when i update my arch with these commands? :
sudo pacman -Sy
sudo pacman -Syy
sudo pacman -Syu
sudo pacman -Syyu
yay
just wondering tho

#

i usually just type yay to update...rarely doing others

foggy frigate
#

and yay just runs -Syu

remote lichen
#

Got u thanks for explaining tho

remote lichen
#

@foggy frigate is there a install script for gentoo ? my brother wants to install gentoo on his pc..and ive watched vids on yt and it seems waaaaaaaaaay harder than maunal arch install

foggy frigate
#

it wouldnt fit into one script

#

and no its actually easier than arch

#

the guide is very complete and explains everything unlike arch which assumes that you already know a lot

remote lichen
foggy frigate
#

it takes longer because you have to read more + you need to compile most of the system + unzip a tarball which is like 4gb of storage

#

a lot of it is just waiting

#

which if you arent ready for stuff to take hours, you shouldnt be using gentoo
on gentoo, you have to compile every package (other than a select few) which can take hours for certain packages

remote lichen
#

is it necessary to compile every single thing or optional

foggy frigate
#

necessary and also the entire point of the distro

#

some have optional -bin stuff like you dont need to compile a kernel or a browser

#

theres also technically cache servers but they again defeat the entire point of the distro and also dont work very well and are a bit annoying to set up

remote lichen
#

hmm alright then..imma try to set it up for him using the guide

foggy frigate
#

they should be able to do it themselves

#

it teaches them a lot thats necessary to know if youre using gentoo

remote lichen
#

its his first time using linux so..ig he cant do that himself

foggy frigate
#

you need to know what software you chose, how to use portage, how to set USE flags, how to use a terminal, how to wait I guess, etc

foggy frigate
#

it would be a terrible introduction

#

use something like linux mint, thats what I recommend to new people

remote lichen
foggy frigate
#

why does he want to use gentoo?

remote lichen
foggy frigate
#

lemme just list the reasons for why gentoo isnt a good distro for new people, can you send this to him and see if he still wants to use it?

remote lichen
foggy frigate
#

1, its much more complicated than other distros, you need to understand your system completely and are expected to debug everything yourself since it gives you all the tools to do so
2, there isnt as much support, and while the wiki is great and an absolute must have, its not perfect
3, its very DIY, if you dont already know what you want, you probably wont get very far. you choose your init system, your coreutils, your window server, every single app, your desktop environment, your compiler, your compilation flags, your USE flags, and even your kernel/kernel config. There is no default for any of these
4, it simply just takes a long time, its a giant time investment and generally not something you can just get started on and see if you like linux and that it fits your work flow.
5, you often will have issues that simply dont exist on certain distros because of how gentoo is completely user specific and you choose every single component

foggy frigate
# remote lichen lol tbh mint is for ppl who doesnt use thier brain

its a good introduction
youd want to see an example of what you can do before you go in and build your own system
its also just nicer, while I personally wouldnt use linux mint, its perfect for many people
it ofc doesnt teach as much as installing arch and gentoo would, but its important to have a starting place

remote lichen
foggy frigate
#

id also say that if youre on an old processor, gentoo is really frustrating and offers very little benefits
if youre on at least like a 2012+ year old processor youll be fine though (mine is from 2013)

remote lichen
#

nah hes using high end pc (gaming actully)

foggy frigate
#

anything before that wont have a lot of processor specific optimizations and the benefits of gentoo are mostly due to compile time optimization
since stuff is built specifically for your computer, they can be optimized very efficiently
if you use a binary based distro like archlinux, the packages are built for as wide support as possible which means they cant use any processor specific optimizations or anything introduced after like 2008

remote lichen
# foggy frigate 1, its much more complicated than other distros, you need to understand your sys...

lol he changed his mind after sending him this...told me to install him arch manual way but wait lemme tell u his pc specs if it will run fine on arch
intel core i7-9700k
16gb ram 3200mhz
amd radeon rx 5700 xt

  • if its gonna work fine...while installing the kernel it will install his gpu driver auto or do i need to install it manually ?
    +should i install grub or systemd-boot for him since hes new in linux?
foggy frigate
#

id also use grub just because its the most popular and what every guide online would be for

remote lichen
foggy frigate
#

technically its not needed but like yeah

remote lichen
#

which de should i go for him so he can learn on it

#

DWM ? or xfce or kde

#

ik dwm is not de but just asking which 1 should i install for him

foggy frigate
remote lichen
#

done installed arch for him

foggy frigate
remote lichen
foggy frigate
#

the one every other linux kernel is based off

remote lichen
foggy frigate
#

linus torvalds is the creator linux and this is all of his work lol

#

its still updated, hes been working on it for like 30 years

remote lichen
#

i thought there are ppl who works on the kernel...not himself

foggy frigate
#

well yeah, its foss
it has thousands of contributors

#

but hes still working on it too

remote lichen
#

hmm alr...thats seems cool tbh that hes still working on it

foggy frigate
#

yeah

#

he also is the creator git btw

#

it was made specifically to maintain linux

remote lichen
#

lol

foggy frigate
#

mhm

remote lichen
#

happy new year btw