Re: Compiling 2.4.20

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

 



You need the image file.  It is the initial RAM disk that linux uses to boot
the system.  Try 'man mkinitrd', basically you need to run this in /boot
(assuming you've already copied your kernel to there).

mkinitrd -v imagename kernel

imagename can be whatever you want and you use that name in grub.conf,
the -v is just putting things in verbose mode.  So for 2.4.20 it would be
something along the lines of

mkinitrd -v /boot/initrd-2.4.20.img 2.4.20

Justin.

----- Original Message -----
From: "Bob Parry" <robpar@telus.net>
To: "RH 8.0" <psyche-list@redhat.com>
Sent: Tuesday, February 04, 2003 2:46 AM
Subject: Compiling 2.4.20


> I also have tried to compile 2.4.20 for my RH 8.0 system.  I tried
> to find an rpm version but it failed to install.  I have everything
> running with the new kernel accept the Ethernet Card.
>
> I have tried both compiled and module versions to no avail.  I think the
> trouble may have to do with the way Grub starts the system.  I am no
> expert on this but the entries for 2.4.18-** have an img file.  I have
> read the Grub man page and the information on compiling the kernel but
> have found nothing on how to produce one of these.
>
> Here is my Grub file.
>
> # 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/hde2
> #          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-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.20)
> root (hd0,0)
> kernel /bzImage ro root=/dev/hde2
> # initrd /initrd-2.4.18-14.img
>
> Any help would be greatly appreciated
>
> Thank You
>
> Bob Parry
>
>
>
>
>
> --
> Psyche-list mailing list
> Psyche-list@redhat.com
> https://listman.redhat.com/mailman/listinfo/psyche-list



-- 
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