Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running kernel not found on disk [KRNL-5830] #9

Closed
d4t4king opened this issue Sep 23, 2014 · 6 comments
Closed

Running kernel not found on disk [KRNL-5830] #9

d4t4king opened this issue Sep 23, 2014 · 6 comments
Assignees
Labels

Comments

@d4t4king
Copy link
Contributor

Gentoo contains a utility to simplify kernel building and installation, called genkernel. Genkernel names the kernel files kernel-genkernel-{arch}-{version}-gentoo(-r_n_), instead of vmlinuz.

Example: current running kernel is /boot/kernel-genkernel-x86-3.14.16-gentoo.

@d4t4king
Copy link
Contributor Author

Patch submitted.

@mboelen mboelen added the bug label Sep 24, 2014
@mboelen mboelen self-assigned this Sep 24, 2014
@d4t4king
Copy link
Contributor Author

@mboelen

Revisiting this. My patch actually breaks functionality on systems that actually use bourne shell rather than a symlink to bash. At least I think that's what happening.

To accomodate for the kernel name(s) on Gentoo I used /boot/{vmlinuz,kernel}*, which I don't think bourne shell knows how to handle. This means that I'll have to search for vmlinuz and kernel separately. :-S

Update: Actually in this case /bin/sh is a symlink to /bin/dash.

@mboelen
Copy link
Member

mboelen commented Sep 25, 2014

Adjusted the change with an if/elif to support multiple file name types.
Can you see if it works for your installation?

@d4t4king
Copy link
Contributor Author

d4t4king commented Oct 6, 2014

I'm still getting the exception_event that "no vmlinuz or kernel was found":
=KRNL-5830:2|Can not find any vmlinuz or kernel files in /boot, which is unexpected|

ls /boot | wc -l
21

@mboelen mboelen changed the title Running kernel not found on disk Running kernel not found on disk [KRNL-5830] Oct 14, 2014
@mboelen
Copy link
Member

mboelen commented Oct 14, 2014

Works for me on fresh Gentoo machine. Can you list the (21) files you have in your /boot?

@mboelen
Copy link
Member

mboelen commented Mar 17, 2015

Closing issue, latest testing did not show this issue. Please let me know if it is still the case.

@mboelen mboelen closed this as completed Mar 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants