Re: Kernel Challenged

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 03, 2002 at 11:35:09AM -0500, Phil Lambert wrote:
> Hey all I have a problem activating a new kernel I am hoping someone can
> help.  I do the the following:
> 
> cd /usr/src/linux-2.4.19
> 
> make mrproper -> successful
> make xconfig - > successful
> make dep -> successful
> make clean -> successful
> make bzImage -> successful
> make modules -> successful
> make modules_install -> successful
> 
> 
> mkinitrd --with=ext3 /boot/initrd-2.4.19.img  2.4.19 -> fails "no
> mbcache module
> 
> mkinitrd /boot/initrd-2.4.19.img  2.4.19 -> successful
> 
> make install -> successful
> 
> reboot to new kernel -> fails "kernel panic unable to mount root fs"
> 
> grub.conf looks like this:
> 
> # 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/hda2
> #          initrd /initrd-version.img
> #boot=/dev/hda
> default=0
> timeout=10
> splashimage=(hd0,0)/grub/splash.xpm.gz
> title Red Hat Linux (2.4.18-17.8.0)
>         root (hd0,0)
>         kernel /vmlinuz-2.4.18-17.8.0 ro root=LABEL=/ hdc=ide-scsi
>         initrd /initrd-2.4.18-17.8.0.img
> title Red Hat Linux (2.4.18-14)
>         root (hd0,0)
>         kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi
>         initrd /initrd-2.4.18-14.img
> title Red Hat Linux (2.4.191)
>         root (hd0,0)
>         kernel /vmlinuz-2.4.191 ro root=LABEL=/ hdc=ide-scsi
>         initrd /initrd-2.4.191.img
> 
> Any advice is greatly appreciated
> 
> Sincerely Phil Lambert
> 

You refer to 'initrd-2.4.19.img' above, but I don't see that kernel
name in the grub.conf file. The closest is the 2.4.191 entry, but it
doesn't match what you wrote.

Also, when you did the xconfig did you ensure that your new kernel
has all the necessary modules, eg ext3? grep the .config file in
/usr/src/linux-2.4.19 for EXT3. You want it to be 'y' or 'm'.

-- 
Jim Kaufman		mailto:jmk@linuxforbusiness.net
Linux Evangelist	cell: 612-481-9778		
public key 0x6D802619	fax:  952-937-9832
http://www.linuxforbusiness.net
---
The world is no nursery.
		-- Sigmund Freud



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux