View previous topic :: View next topic |
Author |
Message |
bmike1 n00b
Joined: 05 Sep 2021 Posts: 22
|
Posted: Tue Sep 07, 2021 7:39 pm Post subject: kernel make install |
|
|
I gots myself dependency problem. Could someone teach me about how to deal with dependencies in gentoo? This is the error I get:
!!! All ebuilds that could satisfy "sys-kernel/linux-firmware" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-kernel/linux-firmware-99999999::gentoo (masked by: || ( ) linux-fw-redistributable no-source-code license(s), missing keyword)
A copy of the 'linux-fw-redistributable' license is located at '/var/db/repos/gentoo/licenses/linux-fw-redistributable'.
A copy of the 'no-source-code' license is located at '/var/db/repos/gentoo/licenses/no-source-code'.
- sys-kernel/linux-firmware-20210818::gentoo (masked by: || ( ) linux-fw-redistributable no-source-code license(s))
- sys-kernel/linux-firmware-20210716::gentoo (masked by: || ( ) linux-fw-redistributable no-source-code license(s))
- sys-kernel/linux-firmware-20210629::gentoo (masked by: || ( ) linux-fw-redistributable no-source-code license(s))
- sys-kernel/linux-firmware-20210518::gentoo (masked by: || ( ) linux-fw-redistributable no-source-code license(s))
- sys-kernel/linux-firmware-20210315::gentoo (masked by: || ( ) linux-fw-redistributable no-source-code license(s))
- sys-kernel/linux-firmware-20210208::gentoo (masked by: || ( ) linux-fw-redistributable no-source-code license(s))
- sys-kernel/linux-firmware-20201218::gentoo (masked by: || ( ) linux-fw-redistributable no-source-code license(s))
(dependency required by "sys-kernel/genkernel-4.2.3::gentoo[firmware]" [ebuild])
(dependency required by "sys-kernel/genkernel" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook. |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3916
|
Posted: Tue Sep 07, 2021 7:49 pm Post subject: |
|
|
in make.conf
OR
Code: |
ACCEPT_LICENSE="*" emerge -av linux-firmware
|
There is not one unified way of dealing with slot conflicts.Each case is different requiring different course of action.You will learn these empirically,by reading portage output and trying to figure out the meaning and the cause. _________________
Last edited by alamahant on Tue Sep 07, 2021 7:52 pm; edited 1 time in total |
|
Back to top |
|
|
bmike1 n00b
Joined: 05 Sep 2021 Posts: 22
|
Posted: Tue Sep 07, 2021 7:52 pm Post subject: |
|
|
so how do i accept the license? |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3916
|
Posted: Tue Sep 07, 2021 7:53 pm Post subject: |
|
|
Plz look up.
Either use make.conf or the oneshot solution. _________________
Last edited by alamahant on Tue Sep 07, 2021 7:59 pm; edited 2 times in total |
|
Back to top |
|
|
bmike1 n00b
Joined: 05 Sep 2021 Posts: 22
|
Posted: Tue Sep 07, 2021 7:55 pm Post subject: |
|
|
Sorry: I saw 'accept license' and that was all.
Thank you! |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3916
|
|
Back to top |
|
|
bmike1 n00b
Joined: 05 Sep 2021 Posts: 22
|
Posted: Tue Sep 07, 2021 8:22 pm Post subject: |
|
|
The next error I got with the next command told me:
ERROR: --kernel-config file '/path/to/used/kernel.config' does not exist!
Yeah, I know replace 'path....' with the directory. But do they want the kernel I am running now or the gentoo kernel? |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3916
|
Posted: Tue Sep 07, 2021 8:30 pm Post subject: |
|
|
Please make a habit of posting full emerge output.
Quote: |
The next error I got with the next command told me:
|
What was the command?
You should have a file
Code: |
/usr/src/linux/.config
|
This is where current kernel config is located. _________________
|
|
Back to top |
|
|
bmike1 n00b
Joined: 05 Sep 2021 Posts: 22
|
Posted: Tue Sep 07, 2021 8:36 pm Post subject: |
|
|
(chroot) bmike1-desktop /usr/src/linux # genkernel --install --kernel-config=/path/to/used/kernel.config initramfs
* Gentoo Linux Genkernel; Version 4.2.3
* Using genkernel configuration from '/etc/genkernel.conf' ...
* Running with options: --install --kernel-config=/path/to/used/kernel.config initramfs
* ERROR: --kernel-config file '/path/to/used/kernel.config' does not exist!
* Please consult '/var/log/genkernel.log' for more information and any
* errors that were reported above.
*
* Report any genkernel bugs to bugs.gentoo.org and
* assign your bug to genkernel@gentoo.org. Please include
* as much information as you can in your bug report; attaching
* '/var/log/genkernel.log' so that your issue can be dealt with effectively.
*
* Please do *not* report kernel compilation failures as genkernel bugs!
Do I need to install initramfs? After all I only Have two partitions; swap and / |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3916
|
Posted: Tue Sep 07, 2021 8:42 pm Post subject: |
|
|
Quote: |
--kernel-config=/path/to/used/kernel.config
|
You have to replace this with the location of .config
Code: |
--kernel-config=/home/user/config #### for example
or
--kernel-config=/usr/src/<kernel-version>/.config
or
--kernel-config=/proc/config.gz ### to use the host machine's currently running kernel
|
Do you have a kernel .config some place?
If not you should start from scratch.
Code: |
genkernel --menuconfig all
|
or something like that no?
OR
manually build the kernel
Code: |
cd /usr/src/linux
make menuconfig
make -j<n>
make modules_install
make install
|
_________________
Last edited by alamahant on Tue Sep 07, 2021 8:55 pm; edited 1 time in total |
|
Back to top |
|
|
bmike1 n00b
Joined: 05 Sep 2021 Posts: 22
|
Posted: Tue Sep 07, 2021 8:55 pm Post subject: |
|
|
alamahant wrote: |
--kernel-config=/path/to/used/kernel.config
manually build the kernel
Code: |
cd /usr/src/linux
make menuconfig
make -j<n>
make modules_install
make install
|
|
I just did this. Do i run the find command to fond the kernel ? |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3916
|
Posted: Tue Sep 07, 2021 8:58 pm Post subject: |
|
|
Quote: |
I just did this. Do i run the find command to fond the kernel ?
|
What do you mean????
Have you already built the kernel?
What are you trying to do?
Install initramfs?
The kernel (vmlinuz-xxxxxxxxxxxxx) will be inside /boot _________________
|
|
Back to top |
|
|
bmike1 n00b
Joined: 05 Sep 2021 Posts: 22
|
Posted: Tue Sep 07, 2021 9:06 pm Post subject: |
|
|
I have been following the book and they just had us configure the kernel and now I am installing initramfs. But I guess I don't need initramfs because I only have / and /swap partitions on this incarnation. What I am planning on doing is building Gentoo onto a thumb drive so I can run my computer while I am building Gentoo onto my main computer (can't live without my computer!). |
|
Back to top |
|
|
|