LinuxQuestions.org
Help answer threads with 0 replies.
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-12-2005, 09:53 AM   #1
st1cky_rice
LQ Newbie
 
Registered: Dec 2005
Posts: 9

Rep: Reputation: 0
Sid unbootable after kernel upgrade


Hi everyone,

after "apt-get upgrade"ing my kernel (2.6.14) I got a message telling me I should immediately reboot (and that it's very important to do so) after the upgrade process is done. Which I did, and I can't boot my Debian anymore...this is what I got on my screen:

Quote:
/bin/cat: /sys/block/hda/dev: No such file or directory
Waiting 1 seconds for /sys/block/hda/dev to show up
...
it then waited another 2, 4, 8, 16 seconds before it said:

Quote:
Device /sys/block/hda/dev seems to be down.
Debugging opportunity, type ^D to continue
So I typed Control-D and I got

Quote:
/bin/dash: can't access tty; job control turned off
How should I proceed next? Thanks!
 
Old 12-12-2005, 10:17 AM   #2
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
See this

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=343042

I've not tested it yet.
 
Old 12-12-2005, 10:31 AM   #3
st1cky_rice
LQ Newbie
 
Registered: Dec 2005
Posts: 9

Original Poster
Rep: Reputation: 0
Smile 2.6.12

Thanks nx5000! From the bug report I learned that one can still boot the 2.6.12 kernel...so at least I could log into my Debian and access my files...I'm sure the Debian Team will fix the bug soon!
 
Old 12-12-2005, 10:42 AM   #4
Crushing Belial
Member
 
Registered: Mar 2005
Location: University of Massachusetts - Lowell
Distribution: Ubuntu, Win 7 Pro, Win 7 Enterprise
Posts: 126

Rep: Reputation: 15
Quote:
Originally Posted by st1cky_rice
Thanks nx5000! From the bug report I learned that one can still boot the 2.6.12 kernel...so at least I could log into my Debian and access my files...I'm sure the Debian Team will fix the bug soon!
That's why it's good to always leave the previous kernel installed, until you're sure there's no issues with booting the new kernel.
 
Old 12-12-2005, 10:54 AM   #5
h2gofast
Member
 
Registered: Dec 2002
Distribution: Debian
Posts: 154

Rep: Reputation: 30
same thing happened here, and dittos on leaving the previous kernel installed.

btw, in the bug report there is a workaround.

Quote:
1. Added to /etc/yaird/Default.cfg:

MODULE ide-generic
MODULE ide-disk

2. Created new initrd image:

rm /boot/initrd.img-2.6.14-2-686
yaird -v -o /boot/initrd.img-2.6.14-2-686 2.6.14-2-686

3. Reboot.

hda now properly recognized and boot completes.
haven't tried it yet so go at your own risk

Last edited by h2gofast; 12-12-2005 at 11:06 AM.
 
Old 12-12-2005, 11:28 AM   #6
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 52
Thumbs up

It works perfectly.
 
Old 12-12-2005, 11:34 AM   #7
h2gofast
Member
 
Registered: Dec 2002
Distribution: Debian
Posts: 154

Rep: Reputation: 30
yeah me too, just remember to get the kernel number correct, e.g. If you're running amd then 686 would be k7
 
Old 12-18-2005, 07:08 AM   #8
pinknick
LQ Newbie
 
Registered: Sep 2005
Posts: 25

Rep: Reputation: 17
Thanks for this post

I spent two days trying to make my debian works. Now I found your post and it worked perfectly.

Thanks!
 
  


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
No sound in Sid after 2.6.12 kernel upgrade Crushing Belial Debian 11 10-23-2005 11:03 PM
Howto upgrade from sid to sarge? andymadigan Debian 9 08-02-2004 09:17 PM
How to upgrade from Sarge to Sid? Rory in Toronto Debian 7 06-07-2004 09:36 PM
sid upgrade: sound problem einherjar Debian 1 01-17-2004 02:17 PM
Upgrade to SID Swampy Debian 3 09-27-2003 03:14 PM


All times are GMT -5. The time now is 09:50 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration