LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-01-2005, 01:42 PM   #1
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Rep: Reputation: 15
Upgrading the kernel on Debian 3.1


How do I go about updating the kernel?

I was trying to follow this: http://www.debian-administration.org/articles/90 I got the 'kernel-package' and 'fakeroot'. I also downloaded the compressed kernel. After that I am in the dark.
 
Old 08-01-2005, 02:43 PM   #2
priller
Member
 
Registered: Jan 2004
Distribution: Debian etch
Posts: 202

Rep: Reputation: 30
cant you just use apt-get to install a new kernel?
 
Old 08-01-2005, 02:53 PM   #3
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
I don't know, that's why I am asking.
 
Old 08-01-2005, 03:22 PM   #4
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
Wow, I feel like a bag of deusche. I should have looked up at the top of the forum.
 
Old 08-01-2005, 04:27 PM   #5
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30


If you wish to go for sid (unstable), there is a 2.6.11 kernel that you can apt-get. It creates an entry

in Grub and is ready to use with no hassle. Now if you want to go to kernel.org, d/load the newest and

compile it, you can.

Freedom of choice, as they say.

cheers

Last edited by samael26; 08-01-2005 at 04:29 PM.
 
Old 08-01-2005, 04:29 PM   #6
priller
Member
 
Registered: Jan 2004
Distribution: Debian etch
Posts: 202

Rep: Reputation: 30
Quote:
Originally posted by samael26

If you wish to go for sid (unstable), there is a 2.6.11 kernel that you can apt-get. It creates an entry
Or just use the 2.6.8 kernel in sarge.
 
Old 08-01-2005, 04:39 PM   #7
COKE CAN
Member
 
Registered: Jul 2005
Location: Yorktown, VA
Distribution: debianSARGE
Posts: 100

Original Poster
Rep: Reputation: 15
I installed 2.6.8-2-686 through apt-get. When I restarted, it hangs up on thse last 3 lines:

Code:
pivot_root: no such file or directory
/bin/init: 432: can not open dev/console: no such file
Kernel panic: Attempted to kill init!
Why is this?

It ran fine on my laptop, but not on my desktop.
 
Old 09-16-2005, 02:01 AM   #8
juanjavier_xxx
Member
 
Registered: Aug 2004
Location: Madrid, Spain
Distribution: Debian stable.
Posts: 186

Rep: Reputation: 31
Quote:
Originally posted by COKE CAN
Code:
pivot_root: no such file or directory
/bin/init: 432: can not open dev/console: no such file
Kernel panic: Attempted to kill init!
Why is this?
---I have the same issue, too. I refused to open a new thread since there is one open already that touches the same question.

----How could get this fixed?

I have:

/dev/hda1: Windowze XP
/dev/hda2: Debian Testing w/2.6.8-1-k7
/dev/hda3: Debian Unstable 2.6.11-1-k7
/dev/hda4: Debian Sarge 2.6.8-1-1-k7

I can not post the menu.lst file 'cos I am not at home. I shall try this evening.

I remember I changed stupidly something regarding the drive which had the [boot] label assigned when fooling around with cfdisk.....

I should chop out my hands, I suppose

Any ideas out there??
 
Old 09-16-2005, 12:35 PM   #9
juanjavier_xxx
Member
 
Registered: Aug 2004
Location: Madrid, Spain
Distribution: Debian stable.
Posts: 186

Rep: Reputation: 31
Quote:
Originally posted by juanjavier_xxx
---I have the same issue, too. I refused to open a new thread since there is one open already that touches the same question.

----How could get this fixed?
Easily: learn to love your /boot/grub/menu.lst. Study it as hard as you can. In my case it was simply an (hd0,x) versus /dev/hdaX mismatch (where x -from 0 to 3- or X -from 1 to 4- is the number of any of my four partitions).

Quote:
----I can not post the menu.lst file 'cos I am not at home. I shall try this evening.
----It is not necessary, it is solved by now. Read the last paragraph.

Quote:
I remember I changed stupidly something regarding the drive which had the [boot] label assigned when fooling around with cfdisk..... I should chop out my hands, I suppose
----Cfdisk has got nothing to do with it. You can label any partition as boot....obviously a different grub menu will display depending on the menu.lst that lives on the partition marked as bootable. Different partition marked as boot....different menu displayed at boot time....unless they are all identical...
 
  


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
Upgrading kernel on Debian from 2.4 to 2.6.8, Kernel Panic omlette Linux - General 3 03-07-2005 07:00 AM
upgrading debian 2.2.20 to 2.6.8.1 kernel SCX Linux - Software 2 09-01-2004 06:37 PM
upgrading debian bosewicht Debian 1 10-22-2003 02:23 PM
Upgrading Debian dunkyb Linux - Software 2 02-21-2003 07:50 AM
Upgrading Debian dunkyb Linux - Software 5 02-14-2003 08:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:26 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