View previous topic :: View next topic |
Author |
Message |
abdus Apprentice
Joined: 10 Feb 2021 Posts: 189 Location: bandung
|
Posted: Sun Mar 21, 2021 11:52 am Post subject: |
|
|
i named the kernel nvidia because i thought of compiling 2 kernels, one with nvidia propriatary drivers and its name is nvidia the other is with nouveau driver without the suffix nvidia in its name and i used nvidia as a main kernel, i thought of following the guide of multiple kernels for multiple drivers for nvidia but i just compiled the 2 kernels only _________________ i would like to thank everyone that contributed to the gentoo project in any means |
|
Back to top |
|
|
abdus Apprentice
Joined: 10 Feb 2021 Posts: 189 Location: bandung
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54234 Location: 56N 3W
|
Posted: Sun Mar 21, 2021 12:44 pm Post subject: |
|
|
abdus,
That's good, you auto mount boot, so you have not been correctly installing the kernel to the wrong place.
Code: |
...
-rwxr-xr-x 1 root root 3604176 Mar 21 14:03 initramfs-5.4.97-gentoo.img
-rwxr-xr-x 1 root root 3601600 Mar 20 21:41 initramfs-5.4.97-gentoo.img.old
-rwxr-xr-x 1 root root 3595400 Mar 6 14:41 initramfs-5.4.97-gentoonvidia.img
...
-rwxr-xr-x 1 root root 12219200 Mar 21 14:02 vmlinuz-5.4.97-gentoo
-rwxr-xr-x 1 root root 11506496 Mar 6 14:40 vmlinuz-5.4.97-gentoonvidia
-rwxr-xr-x 1 root root 12182336 Mar 20 21:40 vmlinuz-5.4.97-gentoo.old |
The kernel you are running is called gentoonvidia.
Its name and date tie in nicely with Code: | # uname -a
Linux localhost.localdomain 5.4.97-gentoonvidia #1 SMP Sat Mar 6 14:01:08 WIB 2021 |
You also have a kernel/initrd set from MAr 20 and Mar 21. Good. That narrows it down a lot. That's your newer kernels correctly installed to the correct place but grub is not loading either by default. There are several possible reasons.
You did not update the grub.cfg, so grub knows nothing of any vmlinuz-5.4.97-gentoo or vmlinuz-5.4.97-gentoo.old kernels.
You did update the grub.cfg but vmlinuz-5.4.97-gentoonvidia is still the default anh the other kernels are hidden in the Advanced Menu, so you need to choose vmlinuz-5.4.97-gentoo from there at boot time. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
abdus Apprentice
Joined: 10 Feb 2021 Posts: 189 Location: bandung
|
Posted: Sun Mar 21, 2021 4:11 pm Post subject: |
|
|
obviously i did not update grub since the first time, i don't remember i did and i am sure of it. excuse me, should i update it every time i compile my kernel? _________________ i would like to thank everyone that contributed to the gentoo project in any means |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30907 Location: here
|
Posted: Sun Mar 21, 2021 4:16 pm Post subject: |
|
|
abdus wrote: | obviously i did not update grub since the first time, i don't remember i did and i am sure of it. excuse me, should i update it every time i compile my kernel? |
Every time you create a new kernel with different name (usually when you compile a new kernel version). _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
abdus Apprentice
Joined: 10 Feb 2021 Posts: 189 Location: bandung
|
Posted: Sun Mar 21, 2021 4:48 pm Post subject: |
|
|
i updated grub, but the device is still not found yet, when selected the other kernel it worked, but the wireless interface is not found so i cannot connect to wireless internet, so thank you for helping me figure out the problem and fix it i appreciate your help. _________________ i would like to thank everyone that contributed to the gentoo project in any means |
|
Back to top |
|
|
|