LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cant install a new kernel. :-( (https://www.linuxquestions.org/questions/linux-newbie-8/cant-install-a-new-kernel-414636/)

Helskov 02-12-2006 03:20 PM

Cant install a new kernel. :-(
 
Hello

I have trouble installing a new kernel.
I want a new kernel with support for 4GB.
And the one i got now has only support for 1Gb.
I want this 4GB support because Vmware wants it.

I have tried this walk throug.
http://www.pclinuxonline.com/wiki/InstallingSoftware

I got the 0.92 version but i believe its the instructions
for both 0.91 and 0.92 are the same.

I have followed this walk through but all i end
up with is Kernel panic.

Kernel panic -not syncing: no init found
Try passing init= option to kernel

Ealiere in the boot process i see this too.

Mount: error 6 mounting ext3 flags defaults
Well retrying without the option flags

Mount: error 6 mounting ext3

I think its has something to do with this.


i have tried servel kernels.
Both by compiling and by installing via synaptics.
All i end up with is this Kernel panic or blank screen when
i try to boot. :-(

Please help. I really want to run Vmware :-)

edit: Please note im a beginner in the linux world.

ssfrstlstnm 02-12-2006 03:49 PM

Maybe you don't have support in the kernel for the ext3 filesystem. Your root filesystem must be compiled into the kernel (can't be compiled as module). Try to find the config file for your kernel. I think it's in /boot. Then post the output of:
Code:

cat /boot/config-2.6.12|grep EXT3_FS
You said you also tried installing the kernel using synaptic, but your profile says you are using mandriva. Is that right? At any rate, a precompiled kernel should definitely have support for ext3.

Helskov 02-13-2006 04:04 AM

Sorry my Profile is old. Im using pclinuxos 0.92 as i wrote somewhere in the thread indirectely.

My output of my originale configfile is here:
config-2.6.12-oci6.mdk-i586-up-1GB

CONFIG_EXT3_FS=m
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y


My output from the kernel with Kernel panic.
config-2.6.12-oci6.mdk-vmware

CONFIG_EXT3_FS=m
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y

Output from my kernel with black screen.
config-2.6.13-oci2.mdk

CONFIG_EXT3_FS=m
CONFIG_EXT3_FS_XATTR=y
CONFIG_EXT3_FS_POSIX_ACL=y
CONFIG_EXT3_FS_SECURITY=y

As you can see they are alike

Is it possible to alter my originale config file to support 4GB and the copy it to my new kernel?

ssfrstlstnm 02-14-2006 11:42 AM

You might try installing the "enterprise" kernel from the repository first (see the note at the bottom of the instructions that you linked to). This would eliminate the need to compile it yourself, but I'm not sure if SMP will work on a single core processor. If that doesn't work...

>> Is it possible to alter my originale config file to support 4GB and the copy it to my new kernel?
That is what you are doing in steps 4-6 of the instructions that you linked to. Since you have already compiled the kernel, changing the config file will have no effect. The config file just tells it what options you want when the kernel is compiled. You need to do this:
1) boot back into the kernel that is working
2) uninstall the kernels that are not working
3) uninstall the kernel source that you installed in step 2
4) be sure that /usr/src/linux is gone (This is one of the things that is done a little different in your distro so I want to be careful not to tell you something wrong. I think it should have been removed in step 3, if it is still there post the output of
Code:

ls /usr/src/linux
5) If /usr/src/linux is gone, start over on the instructions that you have linked to paying particular attention to step 4 (This is where you copy the config file from the WORKING kernel over to /usr/src/linux/.config). Also just to be sure, when you run make xconfig in step 6 look for the stuff about EXT3_FS and select yes instead of module. This may not be the problem, but it definitely won't hurt.


All times are GMT -5. The time now is 03:48 PM.