Re: install.sh script for 2.0.3

Robert Glover (rglover@ruby.cuhsd.org)
Thu, 6 Nov 1997 08:10:36 +0000 (GMT)


You can cut out the last 3 steps by changing make zImage to make zlilo.

automagically backs up /vmlinuz and runs /sbin/lilo.

-Rob

On Wed, 5 Nov 1997, eraserX wrote:

> copy the below to install.sh
> <------------------------------ begin here ------------------------------>
>
> # install.sh by Mike Cunningham (mikec@shaw.wave.ca)
> # This script was designed for Linux 2.0.31 only
> # You may edit this file under then GNU public License.
>
> # Edit the below to your configurations
> cd /usr/include
> rm -rf asm linux scsi # Ignore 'not found' errors.
> ln -s /usr/src/linux/include/asm-i386 asm
> ln -s /usr/src/linux/include/linux linux
> ln -s /usr/src/linux/include/scsi scsi
> cd /usr/src/linux
> make mrproper
> make config
> make dep
> make zImage
> make modules
> make modules_install
> mv /vmlinuz /vmlinuz.old # For backup purposes
> cp /usr/src/linux/arch/i386/boot/zImage /vmlinuz
> /sbin/lilo
> echo "Please reboot your system to finish kernel installing."
>
> <------------------------ End of install.sh ----------------------------->
>
> Using the above script, makes it possible for me to (re)compile my kernel
> 2 times faster. You dont need to run make install either, saving lots of
> time. I was hoping this script could be added to all upcoming releases of
> linux 2.x.x to help users install their kernel faster. You can edit it for
> your kernel version since this script was for 2.0.31 , mail me back with
> ideas to add more features (i know its very basic script, but it gets the
> job done.)
> | Slackware __ 3.2
> eraserX | / / __ _ _ _ _ __ __
> (mikec@shaw.wave.ca) | / /__ / / / \// //_// \ \/ /
> | /____/ /_/ /_/\/ /___/ /_/\_\
> ...Software is like sex. It's better when it's free - Linus Torvalds...
>
>