View previous topic :: View next topic |
Author |
Message |
gardenair n00b
Joined: 05 Oct 2021 Posts: 72
|
|
Back to top |
|
|
grknight Retired Dev
Joined: 20 Feb 2015 Posts: 1847
|
Posted: Thu Mar 28, 2024 1:18 pm Post subject: |
|
|
Your COMMON_FLAGS have a typo... it is -O2 (capital o, not zero)
make.conf has USE not use (it matters).
ACCEPT_LICENSE is wrong (might as well comment it out as you seem to want to use the default) |
|
Back to top |
|
|
gardenair n00b
Joined: 05 Oct 2021 Posts: 72
|
Posted: Fri Mar 29, 2024 12:19 am Post subject: |
|
|
Thanks "grknight" a lot for it. It was due to a typing mistake on my side. Appreciate you for pointing me out. You peek into it and give me the right direction. Well, the emerge command took 5 hours for the Gentoo-kernel command.
https://ibb.co/ZYgHv21
I want to ask one thing more as the manual says
https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel " Installing the kernel sources "
do I need it? If not then in which circumstances do we apply it and what are its benefits?
Code: | root #emerge --ask sys-kernel/installkernel |
Code: | root #emerge --ask sys-kernel/gentoo-sources
|
Thanks for your valuable guidance. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4887 Location: Bavaria
|
|
Back to top |
|
|
gardenair n00b
Joined: 05 Oct 2021 Posts: 72
|
Posted: Fri Mar 29, 2024 7:40 am Post subject: |
|
|
Thanks " pietinger" for your kind and valuable support. Well i am installing Gentoo on my virtual-box using legacy boot . Yes it i am installing it 2nd time after a year.
I am taking each step very careful. Yes I doesn't want to go in more complication by compiling the kernel, I want to move ahead the installation process.I am using systemd
https://ibb.co/j5CxDxP
At the moment the kernel is installed Next step I may take ?
Code: | root #emerge --depclean |
Next step as I understand is to follow the instructions as the link says
https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Kernel_installation
There are many things in the manual about kernel installation and I doesn't want to mess up.I want to quit from the kernel phase (if i am doing the right steps) and move ahead.
.
Thanks once again. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4887 Location: Bavaria
|
Posted: Fri Mar 29, 2024 7:45 am Post subject: |
|
|
gardenair,
I see in your photo you are using profiles 17.1 ... since one week we have new profiles (23.0) ... I suggest you download the actual stage3 so you dont need to migrate later
gardenair wrote: | Thanks " pietinger" for your kind and valuable support. |
You are very Welcome !
Have fun with Gentoo ! _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
gardenair n00b
Joined: 05 Oct 2021 Posts: 72
|
Posted: Fri Mar 29, 2024 10:40 am Post subject: |
|
|
Is it possible at this stage (Kernel Installation process) that I may go back and download the stage 3 files, and extract it? Yes once it reboots then I think can do it. At this stage (Switching to the New Gentoo Installation Environment) I even can't see the dir "/mnt/gentoo" directory.
Let's move ahead...
So the next step should be
https://wiki.gentoo.org/wiki/Handbook:AMD64/Installation/Kernel#Kernel_installation
then
Code: | /etc/portage/package.use/systemd |
Is it right? Please guide me to move ahead and complete my installation process. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4887 Location: Bavaria
|
Posted: Fri Mar 29, 2024 11:14 am Post subject: |
|
|
gardenair wrote: | [...] Please guide me to move ahead and complete my installation process. |
I am not a systemd expert ...
... and you want a systemd system, so I assume you want use also systemd-boot. The first steps are the same as for an OpenRC system:
https://wiki.gentoo.org/wiki/User:Pietinger/Draft/Quick_Installation_OpenRC_for_an_UEFI_System#Kernel
Code: | # emerge --ask sys-kernel/linux-firmware |
When using an Intel CPU:
Code: | # mkdir -p /etc/portage/package.license
# echo "sys-firmware/intel-microcode intel-ucode" >> /etc/portage/package.license/intel-microcode
# emerge --ask sys-firmware/intel-microcode |
Now it differs: Installing a distribution kernel:
Code: | # echo "sys-kernel/installkernel dracut systemd-boot" >> /etc/portage/package.use/installkernel
# echo "sys-apps/systemd boot" >> /etc/portage/package.use/systemd
# emerge --ask sys-apps/systemd sys-kernel/installkernel sys-kernel/gentoo-kernel-bin |
(installkernel needs also the Use-flag "systemd", but this is already set globally by your systemd-profile) _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
gardenair n00b
Joined: 05 Oct 2021 Posts: 72
|
Posted: Fri Mar 29, 2024 11:33 am Post subject: |
|
|
Is it possible to keep openrc installation settings at the moment and after the system reboot I may switch to systemd?
Yes, the thing I feel is that openrc installation is simple and plain. Later openrc can switch into systemsd? What you suggest me ? |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4887 Location: Bavaria
|
Posted: Fri Mar 29, 2024 11:59 am Post subject: |
|
|
Yes, it is possible to start with OpenRC and then switch to systemd ... but you have asked me what I would suggest ...
In general, I can only recommend installing what you want later, because then you save yourself the changeover ... but of course that's your decision (and then you really need a systemd expert; that's not me). _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
gardenair n00b
Joined: 05 Oct 2021 Posts: 72
|
Posted: Fri Mar 29, 2024 12:43 pm Post subject: |
|
|
Really thankful "pietinger" and appreciate it. The logic behind selecting systemd is, currently I am using Arch Linux and it uses systemd as well. So with that perception, the commands, especially related to systemd are almost the same.
My objective in installing Gentoo Linux is to be familiar with it, Play with the packages etc etc and learn how Linux actually works.
Yes, you are guiding me as I asked you the query related to my issue (systemd).
So I have decided at the moment to use openrc for the rest of the installation process. |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4887 Location: Bavaria
|
Posted: Fri Mar 29, 2024 4:09 pm Post subject: |
|
|
gardenair wrote: | Really thankful [...] |
You are very Welcome !
gardenair wrote: | [...] So I have decided at the moment to use openrc for the rest of the installation process. |
OpenRC is fine. Yes, if you already know systemd then you will learn more with an other system ...
Have fun with Gentoo ! _________________ https://wiki.gentoo.org/wiki/User:Pietinger |
|
Back to top |
|
|
gardenair n00b
Joined: 05 Oct 2021 Posts: 72
|
Posted: Fri Mar 29, 2024 4:33 pm Post subject: |
|
|
Yes, gradually I am moving ahead. At this stage, I find in Gentoo that there are configuration files which only target to systemd.I am not an expert in Gentoo to switch at this stage from systemd to openrc. Maybe in future
I am optimistic that my system will boot up after the whole steps of installation are done
Thanks once again . |
|
Back to top |
|
|
|