3.2.29 kernel and Lilo
Slackware 14 uses 3.2.29 kernel. in my boot directory after upgrading are vmlinuz-generic-smp-3.2.29-smp and vmlinuz-huge-smp-3.2.29-smp, etc. Is there a difference in these, and which should lilo point to?
|
See the "switch to a generic kernel" part on this page, it explains them very well.
In short, you want a generic kernel running the system after you're done with the installation, since it runs a little bit faster and loads fewer things. |
Quote:
Any way to manually move the new lilo conf to MBR? For now I cant bootmy computer either way. |
Ive been using these directions that I found on a different threadZ
Code:
~#mkdir /slacktemp #temporary mount point "Fatal: Default image doesn't exist." Not sure what that means. It says it added Code:
Boot image: /boot/vmlinuz-generic-3.2.29 |
You need to create an initrd.gz for the generic kernel to work
Add an entry to similar to this Code:
image = /boot/vmlinuz Code:
sh /usr/share/mkinitrd/mkinitrd_command_generator.sh Code:
image = /boot/vmlinuz-generic-3.2.29 |
why cant I use /dev/root anymore? It returns
Code:
Fatal: Illegal 'root=' specification: /dev/root |
Quote:
|
use it if it works
|
Quote:
initrd = /boot/initrd.gz I think that is what was missing! The output from lilo is different now. Thanks! |
I
Quote:
|
Quote:
|
at the lilo prompt hit tab select the entry for the generic kernel type root=/dev/sda2 then boot if it works then add the line
Code:
append = "root=/dev/sda2" |
Quote:
Code:
mounting /dev/sda2 on /mnt failed: no such device |
I am sure it is /dev/sda2, because the command
# df -h produces sda2 in the '/' root. |
Are you able to boot slackware with the huge kernel?
|
Quote:
I am not sure what is going on, since when I run 'lilo -v' it gives me verbose information and updates my lilo to MBR without any errors or warnings. I am thinking to keep the custom kernel and forget this issue. |
If your custom kernel works and the generic kernel doesn't, there must be something missing/wrong with your initrd.gz for the generic kernel.
|
Quote:
Though it can be maybe that the custom kernel I made has created an initrd.gz incompatible with the 3.2.29 generic kernel? |
try booting the huge kernel rerun the scripts to create an initrd.gz for the generic kernel and see if that helps. The only possible problem with this is if you are using an initrd.gz to boot your custom kernel.
|
My new redhat 9 installation is not booting, it says: <0>kernel panic: Attempted to kill init!
I've tried different machines but will get the same error. How should i correct this |
@ stfwala you need to start a new thread with your question to prevent confusion. This is a Slackware problem and not any way related to a redhat problem.
|
Quote:
|
Quote:
I switched to the huge kernel, then ran the command: /usr/share/mkinitrd/mkinitrd_command_generator.sh This produced the right initrd.gz. So I learned from this, the initrd.gz for a generic can only be produced with the right huge kernel related to it, and not with a custom kernel. |
All times are GMT -5. The time now is 05:54 PM. |