[1764] in RedHat Linux List
Re: Compiling help Please
daemon@ATHENA.MIT.EDU (Jon Klaren)
Wed Oct 30 03:15:50 1996
Date: Mon, 28 Oct 1996 22:16:24 -0800
From: Jon Klaren <jklaren@qualcomm.com>
To: redhat-list@redhat.com
Cc: jklaren@krusty.qualcomm.com
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
tfreeman <tfreeman@vnet.net> wrote:
[tfreeman wants to recompile kernel and needs to use loadlin to boot]
> I think the actuall compile is not a problem: just run through the steps
> of make mrproper, configure, dep, clean, zlinuz(or what ever, this is
> memory), then make modules & install_mod. My question is: what do I put
> into the initrd file? (For that matter, how can I mount the initrd file
> suport provided to look at how they did it?)
My advice: don't bother with the initrd. That's really only useful for
the installation. process goes like this:
# make mrproper
# make config
# make dep; make clean
# make zImage
# make modules; make modules_install
copy /usr/src/linux/arch/i386/boot/zImage to your dos filesystem, (but
don't throw away the kernel that you know is working!) then modifiy the
loadlin command line to read:
a:\loadlin a:\zimage root=/dev/hda1 ro
This assumes you're booting from a: and that /dev/hda1 is your linux
root partition, make changes as necessary.
Assuming kerneld and depmod get called in the startup scripts, which
should happen if you're running Red Hat 4.0, you're all set.
The only possible caveat is that you might need to edit
/etc/conf.modules, to get support for some things that are compiled as
modules. But if you get that far, send mail back to the list & we'll
help.
-Jon
---------
Jon Klaren
San Diego, CA USA
jklaren@qualcomm.com
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null