Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel make install
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
bmike1
n00b
n00b


Joined: 05 Sep 2021
Posts: 22

PostPosted: Tue Sep 07, 2021 7:39 pm    Post subject: kernel make install Reply with quote

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
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3916

PostPosted: Tue Sep 07, 2021 7:49 pm    Post subject: Reply with quote

Code:

ACCEPT_LICENSE="*"

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
View user's profile Send private message
bmike1
n00b
n00b


Joined: 05 Sep 2021
Posts: 22

PostPosted: Tue Sep 07, 2021 7:52 pm    Post subject: Reply with quote

so how do i accept the license?
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3916

PostPosted: Tue Sep 07, 2021 7:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
bmike1
n00b
n00b


Joined: 05 Sep 2021
Posts: 22

PostPosted: Tue Sep 07, 2021 7:55 pm    Post subject: Reply with quote

Sorry: I saw 'accept license' and that was all.
Thank you!
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3916

PostPosted: Tue Sep 07, 2021 7:59 pm    Post subject: Reply with quote

Plz look at this also.
Much more refined and elegant and per-package.
https://wiki.gentoo.org/wiki//etc/portage/package.license
_________________
:)
Back to top
View user's profile Send private message
bmike1
n00b
n00b


Joined: 05 Sep 2021
Posts: 22

PostPosted: Tue Sep 07, 2021 8:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3916

PostPosted: Tue Sep 07, 2021 8:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
bmike1
n00b
n00b


Joined: 05 Sep 2021
Posts: 22

PostPosted: Tue Sep 07, 2021 8:36 pm    Post subject: Reply with quote

(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
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3916

PostPosted: Tue Sep 07, 2021 8:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
bmike1
n00b
n00b


Joined: 05 Sep 2021
Posts: 22

PostPosted: Tue Sep 07, 2021 8:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3916

PostPosted: Tue Sep 07, 2021 8:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
bmike1
n00b
n00b


Joined: 05 Sep 2021
Posts: 22

PostPosted: Tue Sep 07, 2021 9:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum