1 |
thelma@×××××××××××.com wrote: |
2 |
> On 11/25/2020 08:27 AM, thelma@×××××××××××.com wrote: |
3 |
>> On 11/25/2020 08:23 AM, thelma@×××××××××××.com wrote: |
4 |
>>> I compiled "genkernel all" instead of looking for the correct entry to |
5 |
>>> boot my M.2 drive. |
6 |
>>> |
7 |
>>> Not I compiled nvidia-drivers and got a message: |
8 |
>>> |
9 |
>>> * Messages for package x11-drivers/nvidia-drivers-455.28-r1: |
10 |
>>> |
11 |
>>> * CONFIG_I2C_NVIDIA_GPU: should not be set. But it is. |
12 |
>>> * Please check to make sure these options are set correctly. |
13 |
>>> * Failure to do so may cause unexpected problems. |
14 |
>>> * CONFIG_I2C_NVIDIA_GPU: should not be set. But it is. |
15 |
>>> |
16 |
>>> Genkernel all doesn't have any .config file. |
17 |
>>> How to remove them? Where to get .config for genkernel all? |
18 |
>>> |
19 |
>> found it in /etc/genkernel.conf |
20 |
> That was not it. I copied genkernel.conf to /usr/src/linux/.config but |
21 |
> this configuration file is different. |
22 |
> I was looking for CONFIG_I2C_NVIDIA_GPU in genkernel.conf I couldn't |
23 |
> find it. |
24 |
> |
25 |
> The reason I'm using "genkernel all" as there is some setting missing in |
26 |
> my old .config file that is stop booting my M.2 SSD (are there any |
27 |
> special option in kernel for it?). I'm getting an error: |
28 |
> kernel panic - not syncing: VFS: unable to mount root fs on |
29 |
> unknown-block (0, 0) |
30 |
> |
31 |
> |
32 |
> |
33 |
|
34 |
|
35 |
If you have a bootable media, CD, another distro or whatever that works, |
36 |
you can grab the config from it if it recognizes M.2 SSD. That will |
37 |
give you a starting point at least. Later on, you can remove things or |
38 |
make changes as needed. The command zcat /proc/config.gz should work |
39 |
and you can tell that to put it in a regular file and if mounted, even |
40 |
put it in your kernel source directory. |
41 |
|
42 |
Hope that helps. |
43 |
|
44 |
Dale |
45 |
|
46 |
:-) :-) |