[1364] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Installing for sound (was Re: Anyone else have this?)

daemon@ATHENA.MIT.EDU (Alan Shutko)
Mon Oct 28 00:34:35 1996

To: redhat-list@redhat.com
From: Alan Shutko <ats@wydo125.wustl.edu>
Date: 27 Oct 1996 23:32:52 -0600
In-Reply-To: Rawg's message of Sun, 27 Oct 1996 17:38:28 -0800
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

>>>>> "R" == Rawg  <Rawg@ix.netcom.com> writes:

R> I reconfigure the kernel for sound blaster support, and do a make
R> dep ; make clean ; make zlilo, but it doesn't put sound in the
R> kernel.  I have tried make xconfig also.

Odds are, you aren't running the kernel you just compiled.  RH
puts the kernel in /boot, but make zlilo puts it in /.  Try putting
the below script in /sbin/installkernel:

#!/bin/sh
#
# Arguments:
#   $1 - kernel version
#   $2 - kernel image file
#   $3 - kernel map file
#   $4 - default install path (blank if root directory)
#
ROOT=/boot

# Default install - same as make zlilo

if [ -f $ROOT/vmlinuz ]; then
	/bin/mv $ROOT/vmlinuz $ROOT/vmlinuz.old
fi

if [ -f $ROOT/System.map ]; then
	mv $ROOT/System.map $ROOT/System.old
fi

cat $2 > $ROOT/vmlinuz
cp $3 $ROOT/System.map

if [ -x /sbin/lilo ]; then /sbin/lilo; else /etc/lilo/install; fi

--
Alan Shutko <ats@hubert.wustl.edu> - The Few, the Proud, the Remaining.
* <- Tribble   __ <- Tribble vs. Godzilla


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


home help back first fref pref prev next nref lref last post