ManjaroThis forum is for the discussion of Manjaro Linux. Note: This forum does not have any official participation.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After updating Manjaro, I wasn't able to boot into it again. I got the error message '/boot/vmlinuz-310-x86_64 not found' which I understand is a Kernel panic.
So, I started Sabayon instead, which is installed in a separate partition, and chrooted into Manjaro. Firstly, I made a 'pacman -Syyu'. And then tried to install a new kernel following Manjaro's wiki (https://wiki.manjaro.org/index.php/M...ng_New_Kernels). So: 'sudo mhwd-kernel -i linux313'. But terminal returns this error message: 'error: no targets specified (use -h for help)' I couldn't troubleshoot that since not much info about that particular error appears within forums. I'm listening.
The kernel is in /usr/src/ check and see if it's still there.
I'm not sure what file in Manjaro your initrd would be but in Slackware it's in lilo.conf.
I'm guessing it's a grub.d file.
You might have to create a new initrd <or> Initial Ram Disk. Try the Arch WiKi first.
Quote:
error: no targets specified
Where you in the directory with the new kernel that you downloaded or were you just re-compiling the kernel you already had?
Was this the whole error message?
Code:
no targets specified and no makefile found
-::-You might want to post the output in the terminal when this error occurs so we can take a look at what is going on.-::-
File not found is certainly not a kernel panic. Probably a simple grub configuration issue - mkconfig would be my first step to fixing it. Building a new kernel from source seems a bit extreme - but given that mhwd-kernel is touted as "Manjaros own" wouldn't their fora be better to pursue failures like this ?.
File not found is certainly not a kernel panic. Probably a simple grub configuration issue - mkconfig would be my first step to fixing it. Building a new kernel from source seems a bit extreme - but given that mhwd-kernel is touted as "Manjaros own" wouldn't their fora be better to pursue failures like this ?.
How would we know if it's a grub config issue?
Would the grub.d or the grub.cfg be compromised?
I agree with you, a new kernel is not only extreme but most likely not needed.
Probably neither. I am guessing grub.cfg includes a kernel that has been deleted by the update. mkconfig is a quick and easy fix in that case.
Got it-
A kernel that has been deleted from the grub.cfg file makes sense.
In that case OP would just have to edit the grub.cfg file and put the image back (menu entry) in the file and than run mkconfig? (make sure I understand while I'm learning form you)
In that case either the make file was missing, you were in the wrong directory or the tar.bz was corrupt.It doesn't look like you need a new kernel as syg00 said that's a bit extreame.
I'm waiting for him to answer me on the mkconfig and the grub.cfg file.
In the meantime if you want to take a look at the grub.cfg file it should be in /boot/grub2/grub.cfg.
Here's what my menu entry looks like for Korora that is based on Fedora.
Code:
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Korora (4.4.8-300.fc23.x86_64) 23 (Coral)' --class korora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.2.5-300.fc23.x86_64-advanced-a25329de-271d-453a-8d62-4d40c0f9c4ae' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
The entry for Sabayon and Manjaro should be similar to my menuentry.
In that case either the make file was missing, you were in the wrong directory or the tar.bz was corrupt.It doesn't look like you need a new kernel as syg00 said that's a bit extreame.
I'm waiting for him to answer me on the mkconfig and the grub.cfg file.
In the meantime if you want to take a look at the grub.cfg file it should be in /boot/grub2/grub.cfg.
Here's what my menu entry looks like for Korora that is based on Fedora.
Code:
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Korora (4.4.8-300.fc23.x86_64) 23 (Coral)' --class korora --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-4.2.5-300.fc23.x86_64-advanced-a25329de-271d-453a-8d62-4d40c0f9c4ae' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
The entry for Sabayon and Manjaro should be similar to my menuentry.
Yup, my grub.cfg looks the same for Manjaro entrie
After reading about the kernel online I learned that if the kernel doesn't have the driver for your rootfs or a driver for your SATA bus and etc. your kernel will panic; if it boots and can't access the necessary disks, partitions and or files.
-::-This wouldn't be the first time that I've heard of an update breaking drivers.-::-
Have you tried what is recommended in the Arch Wiki for kernel panic?
This indicates the kernel that grub is trying to load doesn't exist as syg00 has suggested. Did you try running grub-mkconfig after chrooting into Manjaro to see if that will fix the problem?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.