I get the following when I attempt to install the nvidia drivers with mhwd
sudo mhwd -i pci video-nvidia
> Installing video-nvidia...
Sourcing /etc/mhwd-x86_64.conf
Has lib32 support: true
Sourcing /var/lib/mhwd/db/pci/graphic_drivers/nvidia/MHWDCONFIG
Processing classid: 0300
Sourcing /var/lib/mhwd/scripts/include/0300
Processing classid: 0302
:: Synchronizing package databases...
mesa-nonfree downloading...
core downloading...
extra downloading...
community downloading...
multilib downloading...
error: target not found: linux63-nvidia
Error: pacman failed!
Error: script failed!
What do I need to look for to trouble shoot?
Hi @drmacro ,
I know Iāve seen you around, so it kind of surprises me that I have to point this out/ But
That is for kernel 6.3 which has been EOL since July , which leads me to believe you havenāt kept you system up to date or this wouldnāt have happened. And that means youāve been a bad, naughty boy.
Youād need to upgrade your kernel to a supported version, and try againā¦
More:
1 Like
Hmmā¦
mhwd-kernel -li
Currently running: 6.4.14-1-MANJARO (linux64)
The following kernels are installed in your system:
* linux61
* linux63
* linux64
drmacro:
* linux63
Well, thereās yer prawblem
3 Likes
So, the mhwd is attempting to do something with all installed kernels?
Do I just remove 6.3?
drmacro:
* linux63
* linux64
linux63 and linux64 are EOL, pls remove both.
start your system with kernel 6.1 ?!
terminal command:
sudo mhwd-kernel -r linux63 linux64
after thisā¦use LTS kernel 6.1 or install linux65 with
sudo mhwd-kernel -i linux65
1 Like
drmacro:
Do I just remove 6.3?
You can, yes.
But note, 6.4 isnāt LTS so will also reach EOL relatively soon. To remove 6.3:
sudo mwhd-kernel --remove linux63
2 Likes
Ok, so now 63 and 64 are gone.
65 is installed
64 still shows in grub, 65 does not.
I am currently running 61.
But hey, the mhwd nvidia install didnāt fail.
update-grub didnāt change the kernels listed from advance grub menu.
How do I switch to 65 and make it default for boot. (note: possibl bad search terms but, havenāt found anything that addresses thisā¦)
Please provide the output of the following:
mhwd-kernel --listinstalled
and
ls -l /boot/
mhwd-kernel --listinstalled ī² ā ī² 38s ļ
Currently running: 6.1.51-1-MANJARO (linux61)
The following kernels are installed in your system:
* linux61
* linux65
ls -l /boot/ ī² ā
total 137536
-rw-r--r-- 1 root root 81920 Aug 10 08:27 amd-ucode.img
drwxr-xr-x 6 root root 4096 Sep 14 08:13 grub
-rw------- 1 root root 41728955 Sep 14 07:23 initramfs-6.1-x86_64-fallback.img
-rw------- 1 root root 15051832 Sep 14 07:23 initramfs-6.1-x86_64.img
-rw------- 1 root root 44420603 Sep 14 07:55 initramfs-6.5-x86_64-fallback.img
-rw------- 1 root root 15168550 Sep 14 07:55 initramfs-6.5-x86_64.img
-rw-r--r-- 1 root root 21 Sep 2 16:55 linux61-x86_64.kver
-rw-r--r-- 1 root root 20 Sep 2 16:55 linux65-x86_64.kver
drwxr-xr-x 2 root root 4096 Aug 4 14:19 memtest86+
-rw-r--r-- 1 root root 11523904 Sep 10 08:03 vmlinuz-6.1-x86_64
-rw-r--r-- 1 root root 12835488 Sep 14 07:55 vmlinuz-6.5-x86_64
I see both are installed. Thatās good. By default Manjaro will boot with the latest version, so 6.5 in your case. You can confirm it with:
uname -r
For example:
$ uname -r
6.5.1-1-MANJARO
Here you can see Iām using kernel version 6.5 .
To switch kernel versions, see here:
Also see that article for proper kernel management.
1 Like
I think whatās happening is the grub is actually coming from the other drive in the PC which has Debian12.
I think I need to do an update-grub when booted to Debian.
But, Iām not sure which Manjaro kernel that will set as default.
There are many threads on the forum about dual boot Linux distros, just search a bit.
I canāt help, since Iāve only got the one OS hereā¦
See:
If you installed the other distro after Manjaro, then that distroās GRUB is the one youāre currently using.
However, it has to be Manjaroās GRUB that needs to be in control. Issue the following commands (from within Manjaro)ā¦
sudo grub-install --recheck --modules="part_gpt part_dos"
sudo update-grub
1 Like
Iām aware of how to dual boot.
Itās the bios on this mobo.
I have never been able to get it to recognize the drive Manjaro is on as bootable. So, it doesnāt show in the bios.
Well, my dear sir, considering my use of different operating systems on the same computer:
1 Like
Unknown. ĀÆ\_(ć)_/ĀÆ:
That is for kernel 6.3 which has been EOL since July , which leads me to believe you havenāt kept you system up to date or this wouldnāt have happened. And that means youāve been a bad, naughty boy.
@drmacro
drmacro:
Ok, so now 63 and 64 are gone.
65 is installed
64 still shows in grub, 65 does not.
I am currently running 61.
update-grub didnāt change the kernels listed from advance grub menu.
Manjaroās GRUB needs to be in control, so you will have to reinstall GRUB, rather than just update its configuration. However, given that you stateā¦
drmacro:
Itās the bios on this mobo.
I have never been able to get it to recognize the drive Manjaro is on as bootable. So, it doesnāt show in the bios.
⦠it is quite possible that youāve got one distribution installed in native UEFI mode and the other one in legacy BIOS emulation mode (also known as CSM, āCompatibility Support Moduleā).
Either way, it wouldnāt hurt to try⦠From within Manjaro, issue the following commandsā¦
sudo grub-install --recheck --bootloader-id=Manjaro
sudo update-grub
1 Like
Very funnyā¦my bad for not knowing an unused kernel would be an issue.
No doubt this is the case. But, Iāve spent inordinate fussing with settings in this bios like CSM, to no avail.
In this day and age, I would completely disable CSM altogether. But considering that your system most likely has a mix of installations, itās too late for that now.
Yeah, the Debian drive was there before I added the second drive and installed Manjaro.
I think, though not sure, the Debian has been updated a couple releases and the original (Debian 10?) did support EFI. So, it has never changed since it has just been OS updated along the way to Deb12.
Some day Iāll probably just clear the drives and start over.
In any case, I booted to Debian, did a update-grub, it found Manjaro again and now Manjaro boots to 65.
Thanks to all for the help!
2 Likes
system
Closed
17 September 2023 04:48
20
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.