New Kernel Help

Kevin Brown plug-discuss@lists.plug.phoenix.az.us
Tue, 10 Sep 2002 20:18:14 -0700


mkinitrd <-- creates an initrd image for a given kernel.  

Usually only needed by systems running SCSI to preload the necessary scsi
modules so the kernel knows how to use the hardware to load up.

On my IDE systems I've had to make sure that ext3 was compiled into the kernel
(not as a module) to get new kernels to load.  I don't use initrd images on
those systems.

> Please send your error to the list as well and thanks for grub.conf.  I
> just went through this sort of problem not two hours ago and it's like
> because you need an initrd file.  I can't help you here (i have mdk8.2's
> and rh7.3's and suse8.0's in a half hour) but i'm sure you can search
> for initrd-2.4.19 on www.google.com/linux and find something.  I had the
> error from mandrake's grub config because mandrake didn't want to
> acknowledge have red hat on the same machine.  I wonder what suse will
> do.
> 
> On Tue, 2002-09-10 at 19:44, Aaron Clark wrote:
> > I'm having some slight issues with booting to my newly compiled 2.4.19
> > kernel. I was following the the documentation at
> > http://www.linuxnewbie.org/nhf/Compiling_Kernels/20_Steps_to_a_New_Kernel_with_Grub.html. In the doc it says to copy over the bzImage as vmlinux-2.4.19, so I did.When I added the new entry into grub.conf I noticed that I didn't have a vmlinuz-<version> and initrd-<version> in /boot. These must be necessary as I can't boot to 2.4.19.
> >
> > What did I hose-up on?
> >
> >
> > Thanks,
> > Aaron
> > ----
> >
> 
> > # grub.conf generated by anaconda
> > #
> > # Note that you do not have to rerun grub after making changes to this file
> > # NOTICE:  You do not have a /boot partition.  This means that
> > #          all kernel and initrd paths are relative to /, eg.
> > #          root (hd0,2)
> > #          kernel /boot/vmlinuz-version ro root=/dev/hda3
> > #          initrd /boot/initrd-version.img
> > #boot=/dev/hda
> > default=2
> > timeout=10
> > splashimage=(hd0,2)/boot/grub/splash.xpm.gz
> > title Red Hat Linux (2.4.19)
> >       root (hd0,2)
> >       kernel /boot/vmlinuz-2.4.19 ro root=/dev/hda3
> > title Red Hat Linux (2.4.18-10)
> >       root (hd0,2)
> >       kernel /boot/vmlinuz-2.4.18-10 ro root=/dev/hda3
> >       initrd /boot/initrd-2.4.18-10.img
> > title Red Hat Linux (2.4.18-5)
> >       root (hd0,2)
> >       kernel /boot/vmlinuz-2.4.18-5 ro root=/dev/hda3
> >       initrd /boot/initrd-2.4.18-5.img
> > title XP
> >       rootnoverify (hd0,0)
> >       chainloader +1
> > ----
> >
> 
> > total 14736
> > drwxr-xr-x    3 root     root         4096 Sep 10 19:05 .
> > drwxr-xr-x   19 root     root         4096 Sep 10 19:13 ..
> > -rw-r--r--    1 root     root         5824 Jun 24  2001 boot.b
> > -rw-r--r--    1 root     root          612 Jun 24  2001 chain.b
> > -rw-r--r--    1 root     root        40600 Aug  7 09:02 config-2.4.18-10
> > -rw-r--r--    1 root     root        39947 Apr 18 04:45 config-2.4.18-3
> > -rw-r--r--    1 root     root        40580 Jun 10 12:39 config-2.4.18-5
> > drwxr-xr-x    2 root     root         4096 Sep  1 11:25 grub
> > -rw-rw-r--    1 root     root       121915 Sep  1 11:25 initrd-2.4.18-10.img
> > -rw-r--r--    1 root     root       124745 Aug 20 10:27 initrd-2.4.18-3.img
> > -rw-rw-r--    1 root     root       128427 Aug 20 21:39 initrd-2.4.18-5.img
> > -rw-r--r--    1 root     root          473 Aug 20 10:27 kernel.h
> > -rw-r--r--    1 root     root        23108 Jun 24  2001 message
> > lrwxrwxrwx    1 root     root           21 Sep  1 11:24 module-info -> module-info-2.4.18-10
> > -rw-r--r--    1 root     root        14431 Aug  7 09:02 module-info-2.4.18-10
> > -rw-r--r--    1 root     root        14431 Apr 18 04:45 module-info-2.4.18-3
> > -rw-r--r--    1 root     root        14431 Jun 10 12:39 module-info-2.4.18-5
> > -rw-r--r--    1 root     root          640 Jun 24  2001 os2_d.b
> > lrwxrwxrwx    1 root     root           20 Sep  1 11:24 System.map -> System.map-2.4.18-10
> > -rw-r--r--    1 root     root       476852 Aug  7 09:02 System.map-2.4.18-10
> > -rw-r--r--    1 root     root       465966 Apr 18 04:45 System.map-2.4.18-3
> > -rw-r--r--    1 root     root       476431 Jun 10 12:39 System.map-2.4.18-5
> > -rw-r--r--    1 root     root       458816 Sep 10 19:05 System.map-2.4.19
> > -rwxr-xr-x    1 root     root      2872539 Aug  7 09:02 vmlinux-2.4.18-10
> > -rwxr-xr-x    1 root     root      2835238 Apr 18 04:45 vmlinux-2.4.18-3
> > -rwxr-xr-x    1 root     root      2872048 Jun 10 12:39 vmlinux-2.4.18-5
> > -rw-r--r--    1 root     root       826128 Sep 10 19:22 vmlinux-2.4.19
> > lrwxrwxrwx    1 root     root           17 Sep  1 11:24 vmlinuz -> vmlinuz-2.4.18-10
> > -rw-r--r--    1 root     root      1040447 Aug  7 09:02 vmlinuz-2.4.18-10
> > -rw-r--r--    1 root     root      1030147 Apr 18 04:45 vmlinuz-2.4.18-3
> > -rw-r--r--    1 root     root      1039759 Jun 10 12:39 vmlinuz-2.4.18-5
> --
> Bryce Chidester
> Network Administrator
> CoBryce Communications
> Bryce AT BryceCo DOT Net
> http://www.bryceco.net
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss