LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-06-2003, 05:01 AM   #1
mudelf
Member
 
Registered: Sep 2003
Distribution: RedHat 8
Posts: 59

Rep: Reputation: 15
Angry Kernel Upgrade --- will not Boot, lost Init ...


Kernel Upgrade - startUp Trouble

I am trying to update my Kernel from 2.4.18-14 to 2.4.22
using RedHat 8.

After doing lots of reading a following the (ambiguous instructions) I have managed to compile the new image and get the old kernel (plus the old one) onto the boot sector.

My problem (the latest of many) comes when I try to boot the new Kernel.

The following error is displayed:-

---

EXT2-fs warning (device ide0(3,1)): ext2_read_super: mounting ext3 filesystem as ext2

VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 128k freed.
Warning: unable to open an initial console.
Kernel Panic: No init Found. Try passing init= option to the kernel.

---

There's LOTS of possibilities here -

The Init files not moved and the old kernel can see it fine.
I compiled the new kernel for ext3 so it 'should' be ok (I did nothing outlandish to the new config, just
a basic setup to learn how to do this).


My new /boot/grub/grub.conf files reads:-


# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda3
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.22)
root (hd0,0)
kernel /vmlinuz-2.4.22 ro root=/dev/hda1
initrd /initrd-2.4.22.img
title Red Hat Linux (2.4.18-14)
root (hd0,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/
initrd /initrd-2.4.18-14.img


The directory listing of /boot/ reads:-

boot.b
chain.b
config-2.4.18-14
config-2.4.22
grub
initrd-2.4.18-14.img
initrd-2.4.22.img
kernel.h
lost+found
message
message.ja
module-info -> module-info-2.4.18-14
module-info-2.4.18-14
os2_d.b
System.map -> System.map-2.4.18-14
System.map-2.4.18-14
System.map-2.4.22
System.map-2.4.22.old
vmlinux-2.4.18-14
vmlinuz -> vmlinuz-2.4.22
vmlinuz-2.4.18-14
vmlinuz-2.4.22
vmlinuz-2.4.22.old



What does LABEL mean and why cannot the new Kernel image use this LABEL? (I had it set to this first but it would not boot unless I specifically pointed it at dev/hda1 (is this a path-like issue?))

I know that the vmlinux path is pointed at the new image but 'module-info' and 'System.map' are pointed at the old image.

Should I change these as well or should they have been done automatically (seems logical)?

Final BIG question --- the Linux mag I read which gave a blow by blow guide of the steps needed to do this made NO mentions of all of this occurring? Is this normal or should I be manually changing symlinks etc. It seems
that there is no clearcut method for this in place ...

Please Help Some one ..................garbled transmission end ........ 015464%&*$&£*
 
Old 10-06-2003, 07:41 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,336

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
renegade69 had the same problems. Here is a link to his thread:


http://www.linuxquestions.org/questi...highlight=ext3




___________________________________
Be prepared. Create a LifeBoat CD.
http://users.rcn.com/srstites/LifeBo...home.page.html

Steve Stites
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lost hda & hdb after upgrade to Kernel 2.6 dom3lmr Linux - Software 2 06-22-2004 07:14 PM
2.6.3 kernel upgrade reiserfs boot problems "no init found" riskable Mandriva 3 05-28-2004 04:11 PM
Redhat 9 kernel upgrade init problem Ryan_moure Red Hat 1 05-04-2004 10:55 PM
2.6.2 kernel upgrade and lost swap space??? pld Linux - Hardware 2 02-10-2004 10:00 PM
Devices lost after kernel upgrade! Adam Shapiro Linux - Software 4 02-05-2003 06:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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