<Guest54>
i notice in the video he runs some commands
<Guest54>
mkfs.ext4 /dev/sda5
<Guest54>
is it neccessary i make as much partitions he did?
<Guest54>
necessary*
<Guest54>
or can i just mount it immediately after creating one
<Guest54>
oh i see
<Guest54>
he makes the file system
<Guest54>
alright i think i got installation going?
<Guest54>
partition is made
<Guest54>
alright installation is done
<Guest54>
um but i probably should've done more packages
<Guest54>
anyway
<Guest54>
so i'll restart
<Guest54>
he checks the boxes for the packages in the video
<Guest54>
what key does he use? It seems it is not enter since that is for something else
<Guest54>
or
<Guest54>
what key does he press*
<Guest54>
nevermind
<Guest54>
i got it figured out
<Guest54>
you press spacebar
<Guest54>
it sounds obvious but i have been told to post the solution here
<Guest54>
instead of not
<cruxbot>
[core.git/3.7]: zstd: update to 1.5.5
<cruxbot>
[core.git/3.7]: cmake: update to 3.26.3
<cruxbot>
[opt.git/3.7]: ppp: update to 2.5.0
<cruxbot>
[opt.git/3.7]: hpcups: update to 3.23.3
<cruxbot>
[opt.git/3.7]: maildrop: update to 3.1.2
<cruxbot>
[core.git/3.7]: python3: update to 3.10.11
<Guest54>
it seems a lot of this installation seems to just be configuration
<SiFuh>
Yep
<SiFuh>
And compiling a kernel
<SiFuh>
[Guest54> can i customize the UI of Crux Linux freely? <-- You can customize everything
<Guest54>
well i sure like how customizable this is, only downside is it might take a while.
<Guest54>
anyway i have another question which is about resolv.conf
<Guest54>
so
<Guest54>
i notice in the video
<Guest54>
the domain is removed
<Guest54>
it has been replaced with search
<Guest54>
for nameserver do i just put a typical router ip address thing
<Guest54>
like 192.168.0.1
<SiFuh>
Whatever DNS servers you want. Your router may even issue it with a DHCP request
<Guest54>
if i put my router address there would it be normal?
<Guest54>
no downsides
<Guest54>
or anything
<SiFuh>
You using DHCP or static?
<Guest54>
the guy in the video seems to use his router
<Guest54>
uh let me check
<SiFuh>
Also depends on the setup of the Virtual Machine.
<SiFuh>
If you are using the 192.168.0.0/24 address then probably it is your router IP. But if you run DHCP the chances are your router will tell you what the DNS address is and edit the resolv.conf automatically.
<Guest54>
i checked
<Guest54>
it says dchp enabled: yes
<Guest54>
i see
<Guest54>
so can i just leave it empty?
<Guest54>
back to the <ipaddress>
<SiFuh>
Usually
<Guest54>
state
<Guest54>
alright thanks
<SiFuh>
If you have internet when you boot into the main system, you know where to start
<SiFuh>
have no internet*
<Guest54>
got a question
<SiFuh>
To be honest, most of the configuration of the config files doesn't really need to be done during install. They can always be done later on. I usually focus more on building the kernel.
<Guest54>
i see
<Guest54>
so i can just go with the quick installation
<Guest54>
instead of the 56 min vidoe?
<Guest54>
or i can skip to a
<Guest54>
kernel installation part
<Guest54>
by quick installation i mean the stuff on the wiki
<SiFuh>
Then once you have compiled your kernel, you configure your bootloader
<Guest54>
i see
<Guest54>
this is a lot easier than i thought it'd be but slightly confusing
<SiFuh>
It'
<SiFuh>
It's a piece of cake
<SiFuh>
After a few installs not only do you learn the basics it will become super easy. Skills that can be used accross multiple distros.
<Guest54>
i see
<Guest54>
i heard arch came from crux linux later after i searched it up on the internet
<Guest54>
is that true?
<SiFuh>
Basically
<Guest54>
it says
<Guest54>
Go to /usr/src/linux-5.15.x, configure and compile a new kernel.
<Guest54>
in the video he uses cd
<Guest54>
so i use cd but i can't do the .x par
<Guest54>
so i just go to the 5.15 thing
<Guest54>
what does the .x part mean?
<Guest54>
is it like how .conf is short for configuration?
<SiFuh>
A number
<SiFuh>
You better stick to the manual
<Guest54>
well "Go to /usr/src/linux-5.15.x, configure and compile a new kernel. " was in the handbook
<Guest54>
i think
<SiFuh>
5.15.55
<Guest54>
tried that too
<farkuhar>
Guest54: the x was a placeholder, we weren't sure when writing the handbook which precise kernel version would be bundled on the ISO.
<Guest54>
oh
<Guest54>
thank you
<Guest54>
i thought it was a literal file type
<Guest54>
now i realize
<Guest54>
what he means by a number
<farkuhar>
Also we wanted the handbook to be general enough for users who install from the updated ISO (which might include linux 5.15.86 for example).
<farkuhar>
no, that looks fine for a line in fstab.
<SiFuh>
Copy and pasted from the handbook :-P
<Guest54>
yes
<Guest54>
but i was asking if i should put it in
<Guest54>
since nothing is there
<Guest54>
no idea what to do here
<Guest54>
sorry if i sound rude
<SiFuh>
Remember that fdisk thing? What partitions did you make and what partition number are they?
<Guest54>
1 partition
<SiFuh>
No swap?
<Guest54>
no
<Guest54>
ext4 file system
<Guest54>
on sda1
<SiFuh>
/dev/sda1 / ext4 defaults 0 0
<Guest54>
do i put that in there?
<SiFuh>
Of course
<Guest54>
alright just put it in fstab right
<Guest54>
just making sure
<Guest54>
oh wait
<Guest54>
no i did the wrong file i think
<Guest54>
i confused /fstab/ with /etc/fstab
<Guest54>
sorry
<Guest54>
i forgot i edited the thing earlier
<Guest54>
sorry for wasting your time on this one thing
<farkuhar>
Yes, the file /etc/fstab should definitely not be empty, if you've completed setup and installed all the core ports. It might need some editing to ensure the correct line for your rootfs, but it will at least have some content.
<Guest54>
well it has the thing he said in it i just confused the file names
<SiFuh>
Are you in chroot?
<Guest54>
yes
<Guest54>
im at the menuconfig menu currently
SiFuh has quit [Remote host closed the connection]
SiFuh has joined #crux
<Guest54>
my question is
<Guest54>
can i leave the menuconfig settings as it is?
<Guest54>
or do i have to select some
<SiFuh>
So I am pretty sure I know the answer. You don't know how to configure a kernel do you?
<Guest54>
nopw
<Guest54>
heres a list of linux distros i've run in a vm
<SiFuh>
Don't care
<Guest54>
ok
<SiFuh>
Change to another terminal
<SiFuh>
So alt+cntrl+F2 or F3 or something
<Guest54>
uh alright it brought me
<Guest54>
to the login
<Guest54>
ok
<Guest54>
im back
<Guest54>
to normal
<SiFuh>
You will now no longer be under chroot
<Guest54>
so uh
<Guest54>
what now
<SiFuh>
You need to copy the config-5.15.55-modular to /mnt/usr/src/linux-5.15.55/.config
<SiFuh>
Should be under kernel/contrib/config-5.15.55-modular
<Guest54>
ok
<SiFuh>
farkuhar: Do you know the exact path?
<Guest54>
i think i saw it in the handbook
<SiFuh>
Okay, cool.
<Guest54>
it is /crux/kernel/contrib
<Guest54>
from the handbook
<SiFuh>
Once you copied it over go back to the first terminal alt+cntrl+F1. You should be still in that chroot environment
<Guest54>
ok
<SiFuh>
Exit your menuconfig but do not save it when it asks.
<SiFuh>
Then re-run menuconfig again. It will pick up the new .config file. So your kernel will be configured. You can exit, save and do your compiling (build)
<SiFuh>
Then follow the CRUX handbook for the rest.
<Guest54>
ok
<Guest54>
for copying its cp /crux/kernel/contrib/config-5.15.55-modular /mnt/usr/src/linux-5.15.55/.config
<Guest54>
right
<Guest54>
i don't wanna mess anything up
<SiFuh>
Correct
<Guest54>
ok thanks
<Guest54>
it doesn't seem to recognize /crux/kernel/contrib/config-5.15.55-modular as a directory
<Guest54>
did i do the setup wrong
<farkuhar>
Guest54: where did you mount the ISO?
<Guest54>
let me find it hold on
<Guest54>
i htink i did
<Guest54>
mount /dev/sda1 /mnt
<Guest54>
that was the command i did
<Guest54>
oh wait
<Guest54>
no
<Guest54>
thats the partition
<Guest54>
uhhh
<Guest54>
do you mean
<Guest54>
in virtualbox?
<Guest54>
i used virtualbox
<Guest54>
as a vm
<SiFuh>
Guest54: Which screen are you on? The first one alt+cntrl+F1 or alt+cntrl+F2?
<Guest54>
i pressed alt+control+F2
<SiFuh>
And there is no /crux ?
<Guest54>
nope
<SiFuh>
You are not chrooted right?
<SiFuh>
On that terminal
<Guest54>
no
<Guest54>
im out of chroot
<SiFuh>
Type the command 'mount '
<Guest54>
uh ok
<Guest54>
done
<SiFuh>
And where is the ISO mounted?
<Guest54>
i don't see anything about an ISO here
<Guest54>
do you want me to post the results here
<SiFuh>
Are you able to copy and paste into https://dpaste.com/ or something?
<Guest54>
oh wait i just realized i can't copy and paste it
<SiFuh>
Then copy that over to /mnt/usr/src/linux-5.15.55/.config
<Guest54>
alright thanks
<SiFuh>
Make sure there it is .config and not config
<Guest54>
ok copied finally
<farkuhar>
the naming convention for block devices is not newbie-friendly. If the installation media is guaranteed to mount itself at /media, maybe it would be better to prepend that mountpoint to the modular config path indicated in the handbook.
<SiFuh>
Go back to the first screen you are chrooted in. Is menuconfig still running?
<SiFuh>
farkuhar: Yeah I was thinking about that
<Guest54>
well no because i exited before i did that
<SiFuh>
Good
<Guest54>
just incase
<SiFuh>
Okay run menuconfig.
<Guest54>
as in make menuconfig?
<SiFuh>
Yes
<Guest54>
alright
<Guest54>
done
<SiFuh>
Then exit it. If it asks you to save, then select yes now
<Guest54>
done
<Guest54>
thank you
<SiFuh>
Now compile your kernel
<Guest54>
make all right
<Guest54>
and the other cmds
<SiFuh>
As the handbook says
<Guest54>
ok
<SiFuh>
So yes, you are now at the 'make all' section
<Guest54>
currently compiling
Guest54 has quit [Ping timeout: 260 seconds]
<cruxbot>
[opt.git/3.7]: nvidia: updated to version 525.105.17
<cruxbot>
[compat-32.git/3.7]: nvidia-32: updated to version 525.105.17
ardo has quit [Ping timeout: 276 seconds]
ukky has quit [Ping timeout: 248 seconds]
ardo has joined #crux
maledictium has quit [Ping timeout: 252 seconds]
maledictium has joined #crux
z812 is now known as undefined
undefined has quit [Remote host closed the connection]
<SiFuh>
Guest5499: That's the full modular kernel config I put together. Usually used for beginners, the lazy or those who want to see if they are missing anything when they decide to build their unique kernel
<SiFuh>
Guessing you are probably compiling with 1 core
<Guest5499>
yeah
<Guest5499>
i set cpu to 1
<Guest5499>
i guess i can just run this thing overnight
<SiFuh>
Besides, your in a VM as well. It will take a while for sure.
<jaeger>
Or give it more cores
<SiFuh>
I wouldn't cancel 5 hours in though to change the cores ;-)
<jaeger>
I would
<SiFuh>
It'll probably be done in like 10 minutes :-P
<joacim>
if you charge by the hour, you compile on just one core
<SiFuh>
:-P
<Guest5499>
well as long as it installs correctly i'll be happy
<SiFuh>
By the way, what bootlader did you choose?
<Guest5499>
don't know the exact one but it was grub
<jaeger>
It's hard to imagine even a single core taking 5 hours to compile the kernel unless it's a raspberry pi or something... but I haven't done that in years, maybe I'm out of touch
<SiFuh>
Guest5499: curious about your fstab. You should upload an image of it.
<Guest5499>
currently compiling rn
<Guest5499>
i don't think i can access it at the moment
<SiFuh>
jaeger: I am pretty sure on my old box it was 5 hours and 20 minutes.
<Guest5499>
there are so many drivers
<SiFuh>
Guest5499: alt + cntrl + F2 and then cat /mnt/etc/fstab
<Guest5499>
can i use nano?
<jaeger>
I'm curious now, going to try it
<Guest5499>
thats what i used as the text edit
<SiFuh>
Use what you want.
Stx has left #crux [#crux]
<SiFuh>
jaeger: Pentium E5700 (2) @ 3.000GHz with 1GB of RAM
<jaeger>
Currently testing on an i5-8250u @ 1.6GHz
<Guest5447>
it says "Install grub2 into the EFI system partition using a command like grub-install /boot/efi (replace /boot/efi with the location of the mounted ESP). "
<Guest5447>
where can i find the location of the EFI System Partition?