LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-12-2006, 04:20 PM   #1
Helskov
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: PclinuxOS 2007
Posts: 47

Rep: Reputation: 15
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.
 
Old 02-12-2006, 04:49 PM   #2
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
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.
 
Old 02-13-2006, 05:04 AM   #3
Helskov
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: PclinuxOS 2007
Posts: 47

Original Poster
Rep: Reputation: 15
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?
 
Old 02-14-2006, 12:42 PM   #4
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure kernel source for standard debian kernel (module install) twinkers Debian 2 12-22-2005 12:19 PM
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 10:17 AM
10.1 install kernel and kernel-source different - build fails Feebles Mandriva 2 06-10-2005 07:58 PM
Ok, dumb question. If I install a Mandrake kernel RPM, where does it install to? Kramer Linux - General 6 01-13-2004 10:39 PM
How to install linux on a no-default-install-kernel-compatible controller ? DukeMC Linux - Hardware 2 11-20-2003 04:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration