Article View: comp.os.linux.setup
Article #481Re: Help: compiling new kernel
From: Brandon P. van Zyl
Date: Tue, 10 Feb 1998 00:00
Date: Tue, 10 Feb 1998 00:00
125 lines
4285 bytes
4285 bytes
--------------9A62E8B8E847C71E39B7A763 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Meryl Tseng wrote: > I am running RH5 2.0.32. I downloaded 2.0.33 and ran make > xconfig/dep/clean/install. > > The first time the new kernel did not take hold because my lilo was > pointing to /boot/vmlinuz-2.0.32; I changed this to vmlinuz which is > actually a sym link to vmlinuz-2.0.33. I rebooted the computer a second > time and the kernel took. However, I lost my mouse and ppa Zip drive. > > I thought I could revert to my original kernel by reassigning the sym > link, but the mouse and Zip were still offline. > > I followed the instructions in the README (make the three sym links and > compile the kernel). If anyone has done this successfully, please tell > me how you did it. Also, is there any way to keep the settings from my > old kernel? > > Joe Tseng > joe_tseng@hotmail.com Make sure that your linux-newest-version.tgz is in the /usr/src directory cd /usr/src rm linux mkdir linux-newest-version ln -s linux-newest-version linux tar -zxvf linux-newest-version.tgz cd linux make mrproper make config make dep;make clean; make zImage cd / mv vmlinuz vmlinuz.old cp /usr/src/linux/arch/i386/boot/zImage ./vmlinuz lilo Your done. This is how I recompile my new kernels. I have the Slackware installation (3.3). If your new kernel is screwed, you still have the vmlinuz.old as the original. I suggest that you include it as a possible option in lilo so that you can reboot your old Kernel in a pinch. Good Luck -- Brandon P. van Zyl Dept. of Physics Queen's University Kingston, ON, Canada K7L 3N6 --------------9A62E8B8E847C71E39B7A763 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <HTML> Meryl Tseng wrote: <BLOCKQUOTE TYPE=CITE>I am running RH5 2.0.32. I downloaded 2.0.33 and ran make <BR>xconfig/dep/clean/install. <P>The first time the new kernel did not take hold because my lilo was <BR>pointing to /boot/vmlinuz-2.0.32; I changed this to vmlinuz which is <BR>actually a sym link to vmlinuz-2.0.33. I rebooted the computer a second <BR>time and the kernel took. However, I lost my mouse and ppa Zip drive. <P>I thought I could revert to my original kernel by reassigning the sym <BR>link, but the mouse and Zip were still offline. <P>I followed the instructions in the README (make the three sym links and <BR>compile the kernel). If anyone has done this successfully, please tell <BR>me how you did it. Also, is there any way to keep the settings from my <BR>old kernel? <P>Joe Tseng <BR>joe_tseng@hotmail.com</BLOCKQUOTE> Make sure that your linux-newest-version.tgz is in the /usr/src directory <P>cd /usr/src <BR>rm linux <BR>mkdir linux-newest-version <BR>ln -s linux-newest-version linux <BR>tar -zxvf linux-newest-version.tgz <BR>cd linux <BR>make mrproper <BR>make config <BR>make dep;make clean; make zImage <BR>cd / <BR>mv vmlinuz vmlinuz.old <BR>cp /usr/src/linux/arch/i386/boot/zImage ./vmlinuz <BR>lilo <P>Your done. This is how I recompile my new kernels. I have the Slackware <BR>installation (3.3). If your new kernel is screwed, you still have the vmlinuz.old <BR>as the original. I suggest that you include it as a possible option in lilo so that <BR>you can reboot your old Kernel in a pinch. <P>Good Luck <PRE>-- Brandon P. van Zyl Dept. of Physics Queen's University Kingston, ON, Canada K7L 3N6</PRE> </HTML> --------------9A62E8B8E847C71E39B7A763--
Technical Details
Message-ID:
<34E09275.49661798@physics.queensu.ca>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<34DFD2A2.8EA2FB64@radix.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11663c,9e36186ded8b9969 X-Google-Attributes: gid11663c,public X-Google-Thread: f9b51,9e36186ded8b9969 X-Google-Attributes: gidf9b51,public From: "Brandon P. van Zyl" <brandon@physics.queensu.ca> Subject: Re: Help: compiling new kernel Date: 1998/02/10 Message-ID: <34E09275.49661798@physics.queensu.ca> X-Deja-AN: 323813751 References: <34DFD2A2.8EA2FB64@radix.net> Content-Type: multipart/alternative; boundary="------------9A62E8B8E847C71E39B7A763" Organization: Queen's University Mime-Version: 1.0 Newsgroups: comp.os.linux.setup,dc.org.linux-users