LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-06-2008, 03:38 PM   #16
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120

That looks as expected - seems it can't resolve the UUID. Doing that is (one of) the job of the initrd.
You didn't re-mkfs that partition did you ???.

Try interrupting grub - hit <Esc> to see the menu, then highlight the normal boot selection and hit <e> to edit it. Then change the UUID=... to /dev/hda1 (presumably).
Hit <Enter> to save the change then <b> to boot.

This is a "one-time" change to get you started - not permanent. Just trying to see if you can get going - it'll probably fail when it reaches fstab.

Just got an update notification - for the kernel. Maybe I'll hold off for a day or two ...
 
Old 02-06-2008, 03:59 PM   #17
dtmbmw325i
Member
 
Registered: May 2006
Location: Lebanon, PA
Distribution: Ubuntu 7.10
Posts: 47

Original Poster
Rep: Reputation: 16
I still get

searching for root device ++++*******++++ done
checking root device...
Unexpected failure running fsck. exited with 126

press enter to hald or ctrl alt del to reboot
/etc/init.functions: line 21: chvt: command not found

I didnt do re-mkfs. If mounted the drive is accessible and readable.
 
Old 02-06-2008, 07:51 PM   #18
dtmbmw325i
Member
 
Registered: May 2006
Location: Lebanon, PA
Distribution: Ubuntu 7.10
Posts: 47

Original Poster
Rep: Reputation: 16
So I was thinking is there a way to undo a kernel that was added? Can I extract a kernel from the bootable gutsy cd? If I have to reformat how do I save my settings and programs and stuff. I dont want to go through having to set all that up again. Or do you still have ideas of what to do?
 
Old 02-06-2008, 08:46 PM   #19
dtmbmw325i
Member
 
Registered: May 2006
Location: Lebanon, PA
Distribution: Ubuntu 7.10
Posts: 47

Original Poster
Rep: Reputation: 16
Well I fixed it. Thankfully the programmers behind this all are smart. Now following you temp directions I used the /dev/hda1 instead of UUID and then I also added .bak to the initrd line. It used the backup config and it works now. The problem is I still need to cleanup the kernel compile that failed. How do I do that? Since I am at this point I am going to create an image of my hda1 partition.

Last edited by dtmbmw325i; 02-06-2008 at 08:57 PM.
 
Old 02-07-2008, 05:44 AM   #20
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Don't know what happened to you - I just did the (64-bit) kernel upgrade, and it worked fine. The debug kernel (which I use for systemtap) died though - write error on the deb. mmmm - I see a bit of traffic on the ubuntu forums re this kernel update; wonder if the devs are spending too much time on the next roll-out and neglecting gutsy.

Maybe select your previous kernel from the boot menu (2.6.22.12 ???), and delete the 2.6.22.14 from /var/cache/apt/archives and try the update manager again.

Note, this is just me musing - I'm not all that up to speed on apt ...
 
Old 02-07-2008, 07:23 AM   #21
dtmbmw325i
Member
 
Registered: May 2006
Location: Lebanon, PA
Distribution: Ubuntu 7.10
Posts: 47

Original Poster
Rep: Reputation: 16
I think what happened is the fact that I tried to compile a kernel and it failed during the mkinitramfs stuff. That is what seemed to be hosed after the update. What I think I should do is remove the 2.6.24 kernel stuff and go back to just using the 2.6.22.14-generic. I am unsure how to undo what I did though.
 
  


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
trouble compiling kernel sancho1980 Debian 14 09-30-2006 04:44 PM
Trouble compiling Kernel 2.6.10 AJones Debian 8 02-13-2005 03:28 AM
having trouble while compiling kernel.. The_eXXe Mandriva 12 09-02-2004 01:53 PM
Having trouble compiling 2.6.3 kernel s1lv1a9999 Linux - Software 2 03-03-2004 01:14 AM
Trouble when compiling the 2.6.2 kernel Menestrel Linux - Software 1 02-14-2004 07:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

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