LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-16-2005, 12:03 PM   #31
halsum
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: Disabled
canot find /dev/console


I ran into exactly the same problem. Apparently the 2.6.8 kernel regards my hard drives as /dev/sda, whereas the 2.4.27 kernel is happy with /dev/hda. So what happens is that grub finds the kernel image, but the kernel image can't find the root partition and so can't find /dev (or anything, for that matter).

So if you replace /dev/hde3 with /dev/sde3 for the two 2.6.8 entries, it should work. Leave it as /dev/hde3 for the 2.4.27 entries.
 
Old 12-16-2005, 01:09 PM   #32
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 52
Well...why don't you start from scratch?

Boot the 2.4 kernel, install debfoster, launch it, when it shows the 2.6 kernel-image purge it (press p) or # dpkg -P kernel-image-2.6.8-2-386, apt-get clean, reboot, come back, and install

# apt-get -y install kernel-image-2.6.8-2-686 (unless your box is older than a PII)

Got nothing to lose
 
Old 12-16-2005, 02:45 PM   #33
halsum
LQ Newbie
 
Registered: Dec 2005
Posts: 2

Rep: Reputation: Disabled
purge, reinstall ...

Got nothing to lose? Seems like a lot of trouble when just editing a few lines of menu.lst will do the trick.

Anyways, I just upgraded the recently bugfixed 2.6.8 kernel-image using aptitude, and it re-built the menu.lst file using /dev/hdxx instead of /dev/sdxx for the 2.6.8 kernel. So I had to edit the file again by hand. Explain, please, how purging the kernel-image and re-installing it will solve this problem.
 
Old 12-16-2005, 06:37 PM   #34
macondo
Senior Member
 
Registered: Jul 2003
Posts: 1,016

Rep: Reputation: 52
halsum wrote:
"Got nothing to lose? Seems like a lot of trouble when just editing a few lines of menu.lst will do the trick."

IF you know what you're doing, it SHOULD work, and if it doesn't?

"Anyways, I just upgraded the recently bugfixed 2.6.8 kernel-image using aptitude, and it re-built the menu.lst file using /dev/hdxx instead of /dev/sdxx for the 2.6.8 kernel. So I had to edit the file again by hand. Explain, please, how purging the kernel-image and re-installing it will solve this problem."

It doesn't take long to purge/reinstall from a safe 2.4 kernel, and if indeed the bug is fixed, all will go fine.
If he messes up the grub menu, it will be longer, and another can of worms will open, won't you say?

Debian/Linux is just an operative system, no life and death here. I gave my opinion because after 3 pages he is still nowhere. It's just common sense.
 
  


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
Moving from hdc to hda - Kernel panic goozlq Linux - Hardware 5 08-31-2005 06:06 AM
3D performance issues after moving to 2.4.20-27.9 kernel! niverson Red Hat 2 01-05-2004 10:53 PM
moving a compiled kernel? e1000 Linux - General 5 12-23-2003 03:57 PM
help moving boot kernel from floppy to harddisk matix Linux - Newbie 3 01-14-2003 05:04 AM
moving kernel binaries?? desbyleo Linux - General 11 03-05-2002 01:51 AM

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

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