[1186] in RedHat Linux List
Re: A no MODULE compile ?
daemon@ATHENA.MIT.EDU (Mike Sangrey)
Sat Oct 26 22:37:01 1996
To: ray@fred.net
cc: redhat-list@redhat.com
In-reply-to: Your message of "Sat, 26 Oct 1996 21:50:31 EDT."
<199610270150.VAA01097@picard.fred.net>
Date: Sat, 26 Oct 1996 22:32:33 -0400
From: Mike Sangrey <mike@sojurn.lns.pa.us>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
> W. D. McKinney writes:
> > Ok,
> >
> > I need to set up a RHCL 4.0 box with no modules.
> > If we want use 2.0.21 kernel and just compile all needed
> > services, what is best way to to take a RHCL 4.0 sys
> > to this direction ?
> >
> >
> > 1. Blow away cd /usr/src/linux /usr/src/redhat /usr/src/linux-2.0.18 ?
> > 2. Just drop a new kernel source in /usr/src/ ?
> > 3. make config, make dep; make clean; make zImage (Of course, no modules) ?
> > 4. Does this take away module dependent searches ?
> >
> > Appreciate some input here.
> >
> In short YES, however I wouldn't get rid of the kernel you have
> wherever i.e. /boot, but I'd just add it to your lilo.conf and
> re-run lilo after you have compiled. This will give you a backup
> kernel to boot from.
>
> Hope this helps, if you need more info e-mail me directly.
I like to cp /vmlinuz to /vmlinuz.orig.
And then I put these entries on my lilo.conf:
#
# default entry
#
image = /vmlinuz
label = linux
root = /dev/sda3
read-only
image = /vmlinuz.old
label = linux.old
root = /dev/sda3
read-only
image = /vmlinuz.orig
label = linux.orig
root = /dev/sda3
read-only
Then I do a make zlilo, which makes a new kernel and copies /vmlinuz to
/vmlinuz.old and puts the new kernel at /vmlinuz. I always have /vmlinuz.orig
to fall back on.
--
Mike Sangrey <mike@sojurn.lns.pa.us> (Home)
<Mike.Sangrey@specmarkmet.com>(Work)
"I've trademarked `William Della Croce, Jr.(tm)'.
Anyone using this name owes me $1,000,000."
--
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