Unix Technical Forum

kernel panic on root

This is a discussion on kernel panic on root within the Linux Operating System forums, part of the Unix Operating Systems category; --> I have RH9, and I am trying to install the latest kernel, 2.4.21. It compiles fine, no probs there. ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 06:14 AM
David M Noriega
 
Posts: n/a
Default kernel panic on root

I have RH9, and I am trying to install the latest kernel, 2.4.21. It
compiles fine, no probs there. I even used the make install command which
adds the new kernel to the grub.conf file. When it comes to reboot and i
pick 2.4.21, the kernel panics when it tries to mount the root directory.
It has root=LABEL=/ as a boot option. The kernel says cant find device
"LABEL=/" use proper "root=" boot option. My boot directory is at
/dev/hde2, root is at /dev/hde5. I have tried setting root=/dev/hde5 at
startup, doesnt work. My hd is a 60gig Western Digital that is connected
to a pci card since my bios is too old to support the drive. Please help, I
really want to see whats so good about the 2.4.21 kernel.

David.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 06:14 AM
Doug Laidlaw
 
Posts: n/a
Default Re: kernel panic on root

David M Noriega wrote:

> I have RH9, and I am trying to install the latest kernel, 2.4.21. It
> compiles fine, no probs there. I even used the make install command which
> adds the new kernel to the grub.conf file. When it comes to reboot and i
> pick 2.4.21, the kernel panics when it tries to mount the root directory.
> It has root=LABEL=/ as a boot option. The kernel says cant find device
> "LABEL=/" use proper "root=" boot option. My boot directory is at
> /dev/hde2, root is at /dev/hde5. I have tried setting root=/dev/hde5 at
> startup, doesnt work. My hd is a 60gig Western Digital that is connected
> to a pci card since my bios is too old to support the drive. Please help,
> I really want to see whats so good about the 2.4.21 kernel.
>
> David.


Label and root are on separate lines
label=linux (for example)
root=/dev/hde5

seems to be what you need. Label is what appears in your LILO menu, so it
must be unique. Up the top, default=(put here the label of the image you
want to be the default.)

HTH,

Doug.
--
Registered Linux user No. 277548.
Linux: in a world without fences, who needs Gates?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 06:14 AM
Timothy Murphy
 
Posts: n/a
Default Re: kernel panic on root

Doug Laidlaw wrote:

> David M Noriega wrote:
>
>> I have RH9, and I am trying to install the latest kernel, 2.4.21. It
>> compiles fine, no probs there. I even used the make install command
>> which
>> adds the new kernel to the grub.conf file. When it comes to reboot and i
>> pick 2.4.21, the kernel panics when it tries to mount the root directory.
>> It has root=LABEL=/ as a boot option. The kernel says cant find device
>> "LABEL=/" use proper "root=" boot option. My boot directory is at
>> /dev/hde2, root is at /dev/hde5. I have tried setting root=/dev/hde5 at
>> startup, doesnt work. My hd is a 60gig Western Digital that is connected
>> to a pci card since my bios is too old to support the drive. Please help,
>> I really want to see whats so good about the 2.4.21 kernel.


> Label and root are on separate lines
> label=linux (for example)
> root=/dev/hde5
>
> seems to be what you need. Label is what appears in your LILO menu, so it
> must be unique. Up the top, default=(put here the label of the image you
> want to be the default.)


I think you misunderstand his posting.
His LABEL refers to the partition label,
which can be used in place of the device name.

I would advise replacing LABEL=/ in lilo.conf
by the actual device, eg root=/dev/hde5 ,
and running LILO to get it written
(preferably in the MBR of the first disk).

--
Timothy Murphy
e-mail: tim@birdsnest.maths.tcd.ie
tel: +353-86-233 6090
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-17-2008, 06:16 AM
ne...
 
Posts: n/a
Default Re: kernel panic on root

On Sat, 12 Jul 2003 at 13:07 GMT, Timothy Murphy eloquently wrote:
> Doug Laidlaw wrote:
>
>> David M Noriega wrote:
>>
>>> I have RH9, and I am trying to install the latest kernel, 2.4.21. It
>>> compiles fine, no probs there. I even used the make install command
>>> which
>>> adds the new kernel to the grub.conf file. When it comes to reboot and i
>>> pick 2.4.21, the kernel panics when it tries to mount the root directory.
>>> It has root=LABEL=/ as a boot option. The kernel says cant find device
>>> "LABEL=/" use proper "root=" boot option. My boot directory is at
>>> /dev/hde2, root is at /dev/hde5. I have tried setting root=/dev/hde5 at
>>> startup, doesnt work. My hd is a 60gig Western Digital that is connected
>>> to a pci card since my bios is too old to support the drive. Please help,
>>> I really want to see whats so good about the 2.4.21 kernel.

>
>> Label and root are on separate lines
>> label=linux (for example)
>> root=/dev/hde5
>>
>> seems to be what you need. Label is what appears in your LILO menu, so it
>> must be unique. Up the top, default=(put here the label of the image you
>> want to be the default.)

>
> I think you misunderstand his posting.
> His LABEL refers to the partition label,
> which can be used in place of the device name.
>
> I would advise replacing LABEL=/ in lilo.conf
> by the actual device, eg root=/dev/hde5 ,
> and running LILO to get it written
> (preferably in the MBR of the first disk).

Yeah but the OP uses grub. I think the options chosen
during the config stage are incomplete. The OP needs
to state what he did. Did he copy the config-<kernel version>
from boot to /path/to/<kernel-2.4.21>/.config and do a make
oldconfig before make [menu|x]config???

--
Registered Linux User # 125653 (http://counter.li.org) | Please remove
Certified: 55% bastard, 31% of which is tard. | '.invalid'
http://www.thespark.com/bastardtest | to reply.
Switch to: http://www.speakeasy.net/refer/190653
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:00 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com