LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-05-2004, 01:20 AM   #1
nerofiend
LQ Newbie
 
Registered: Mar 2004
Posts: 16

Rep: Reputation: 0
Kernel 2.6.3 boot= problem


Can somebody give me some pointers on how to fix this?

I updated my Kernel to 2.6.3 in Red Hat, mind you ive only had Linux for 3 days now, and after 3 tries at compiling the Kernel I worked out all the options I think I need and disabled the ones I dont. Now I have encountered another error I am uncertain how to fix.

It says for the 2.6.3 Kernel I need to include support for my root partition(/) file system into the Kernel and not as a seperate Module. And if I am using the ext3 file system I will need at the very least the ext2f's support compiled directly into the Kernel.

I got an error saying that VFS wasnt able to mount the root partition and thats what it told me to do. It also said if I use any other FS than ext2 or 3 then I will have to replace the Grub entry root= to my actual disk partition in order for it to properly boot.

I need to know how i am supposed to include support for my root partition into the Kernel not as a module and how to get the support for the ext2f's directly into the Kernel. Along with how to change the Grub root= entry to the real name of my partition so I can boot.

Any help is greatly appreciated
 
Old 03-05-2004, 01:33 AM   #2
hiteshmaisheri
Member
 
Registered: Nov 2003
Location: Kerala, India
Distribution: Red Hat, Knoppix, Mandrake, FreeBSD
Posts: 231

Rep: Reputation: 30
for more details on kernel parameters... just go to the source directory of the linux 2.6.3 kernel and there you can find Documentation directory..in which there is file named kernel-parameters.txt... this should solve your queries...
 
Old 03-05-2004, 02:05 AM   #3
nerofiend
LQ Newbie
 
Registered: Mar 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Ok well I found that txt file and gave it a good look but I dont see how it can help me. Am I supposed to edit that txt document and if so, How? It wont let me change anything or even type. I found the spot where the Root= is but I can not change anything in it

Remember im only 3 days new at this :P
 
Old 03-05-2004, 02:30 AM   #4
dushkinup
Member
 
Registered: Feb 2004
Location: Alpha Quadrant, sol system, earth, asia, Israel.
Distribution: Computer I : Slackware 9.1 ; Computer II : Windows XP
Posts: 144

Rep: Reputation: 15
He meant you should look at the parameters there and then change the parameters in <insert your boot loader name here>.
I think F2 in the Redhat GRUB changes parameters. About LILO I'm not sure you can do it IN the boot-loader itself, so you'll have to change some files in /boot .
 
Old 03-05-2004, 02:31 AM   #5
nerofiend
LQ Newbie
 
Registered: Mar 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Ahhh ok i see, ill give that a shot and see what happens. Thanks a lot
 
Old 03-05-2004, 02:48 AM   #6
nerofiend
LQ Newbie
 
Registered: Mar 2004
Posts: 16

Original Poster
Rep: Reputation: 0
UNfortunatly that worked perfect lol. I say UNfortunatly because as soon as it starts to boot I get to see all the lovely things I did wrong when I configured my kernel )

I think only about 5 of the things actually went ok when it booted lol. Couldnt even load the X GUI the right way lol.

Oh well back to the drawing board
 
Old 03-05-2004, 02:49 AM   #7
sal1
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Rep: Reputation: 0
kernel panic

I try to install the 2.6.3 kernel, but I have the hame problem

Kernel panic
 
Old 03-05-2004, 02:55 AM   #8
sal1
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Rep: Reputation: 0
what is the parameter you are talking about ?
or better
what is your present GROUB parameters
 
Old 03-05-2004, 03:04 AM   #9
nerofiend
LQ Newbie
 
Registered: Mar 2004
Posts: 16

Original Poster
Rep: Reputation: 0
MY problem was just that the Grub had set by default the wrong parameters when booting. It was a simple edit in Grub and all I had to do was select the OS I wanted to boot into, in this case Red Hat 2.6.3 and hit e for edit then edit the line that had the partition it was booting into.

IE I changed mine from root=LABEL=/ide/scsi/ into root=/dev/hda3 cause thats the place I had Linux installed to. For some reason when you do the upgrade to 2.6.3 you have to change that if you are using the ext3 file system. If you have an earlier version this dont seem to be the case. Not sure why really.

This fixed my booting issue but it didnt help my sloppy Kernel configuration that I had done. At least I know how to fix the boot problem when I go to reconfigure my Kernel again.
 
Old 03-05-2004, 03:13 AM   #10
dushkinup
Member
 
Registered: Feb 2004
Location: Alpha Quadrant, sol system, earth, asia, Israel.
Distribution: Computer I : Slackware 9.1 ; Computer II : Windows XP
Posts: 144

Rep: Reputation: 15
I'm happy to hear it got fixed.

Farewell brother penguin.
 
Old 03-05-2004, 03:23 AM   #11
sal1
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Rep: Reputation: 0
It seems a strange solution.

why I need change in the GROUB conf file

kernel /vmlinux-2.6.3 ro root=LABEL=/

in

kernel /vmlinux-2.6.3 ro root=/dev/hda3

Is ther samething wrong in the kernel release, in the Grub or in the way we compile the kernel ?

somebody can clarify about ?
 
Old 03-05-2004, 03:48 AM   #12
nerofiend
LQ Newbie
 
Registered: Mar 2004
Posts: 16

Original Poster
Rep: Reputation: 0
Im not really sure why this is all I know is that after some research into it i found that 2.6.3 Kernel needs the support for your root partition file system INTO the Kernel not just as a module.

Im just learning this Linux stuff so its all new to me, but im getting it slowly. Now if I could just get my Wireless card to work id be a happy Linux user.
 
Old 03-05-2004, 06:58 AM   #13
dushkinup
Member
 
Registered: Feb 2004
Location: Alpha Quadrant, sol system, earth, asia, Israel.
Distribution: Computer I : Slackware 9.1 ; Computer II : Windows XP
Posts: 144

Rep: Reputation: 15
I'm waiting for the 2.6 kernel to release in an RPM. I don't like touching the kernel too much (as you see, too many troubles).
 
Old 03-09-2004, 11:38 PM   #14
hiteshmaisheri
Member
 
Registered: Nov 2003
Location: Kerala, India
Distribution: Red Hat, Knoppix, Mandrake, FreeBSD
Posts: 231

Rep: Reputation: 30
hey dushkinup...the kernel release has no problems is that our knowledge is little limited.. me got the same problems and got rectified it by questioning... what is the problem and searching a solution to it through the neighbourhood and the internet..
you get real good solutions to problems.. on the internet especially for linux here at linuxquestions.org
 
Old 03-10-2004, 05:25 AM   #15
d1sc0rd
LQ Newbie
 
Registered: Oct 2003
Posts: 28

Rep: Reputation: 15
it's not strange

that you need to change your grub conf file it's in the README included with the kernel. I am having a similar issue but I changed my lilo.conf file it's posted in the software section if anyone cares to look.
 
  


Reply



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
problem to boot with 2.6.7 kernel TroyCoX Slackware - Installation 18 03-19-2006 05:41 PM
Kernel boot problem Bonch Linux - Newbie 2 05-26-2005 12:53 AM
kernel 2.6.4 boot problem roshLame Linux - Newbie 8 03-26-2004 09:07 AM
New 2.4.20 Kernel, boot problem aeath Linux - General 6 02-28-2003 07:51 PM
Kernel Boot Problem enaran Linux - Software 1 05-04-2002 08:27 PM

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

All times are GMT -5. The time now is 12:50 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
Open Source Consulting | Domain Registration