Solved

OK I got the patch how do I use it?

Posted on 1997-06-20
3
248 Views
Last Modified: 2013-12-15
linux-1.1.90+aha249x.patch - is the filename, how do i use it to patch a kernel on a boot disk (you guessed it! I haven't yet managed to get Linux to install)
Full instructions please!! Help!
0
Comment
Question by:Ikon
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
jprohart earned 50 total points
ID: 1628321
if it is a kernel patch, you must patch the kernel sources (usually in /usr/src/linux) and recompile your kernel.

to patch , change directory to /usr/src, and do 'cat your_patch | patch -p0 -s'. If it is a gzipped file, replace cat with zcat.
then cd into linux and do 'make config; make dep ; make clean; make zImage'. The compiled kernel will be in '/usr/src/linux/arch/i386/boot'. Copy it in /boot and edit /etc/lilo, then run lilo. You can also copy your kernel on a boot disk with 'dd if=/usr/src/linux/arch/i386/boot/zImage of=/dev/fd0' to try your new kernel from floppy (safe for testing).
bye.
0
 
LVL 3

Author Comment

by:Ikon
ID: 1628322
jprohart, the problem is that i dont have any directories to speak of as the boot kernel won't recognise my SCSI controller thus, my drives & once more thus, any partitions.
What i actually need to do is patch the boot disk!!!(I know!)
If you could help me to do that I would be most happy.
thanks for the previous answer though, if i had a running system it would have been most helpful.
0
 
LVL 2

Expert Comment

by:jprohart
ID: 1628323
you can use a pre-compiled kernel from a slackware distribution. I found them on ftp://ftp.ibp.fr/pub/linux/distributions/slackware/bootdsks.144/
Get the file named aha2x4x.s, and rawrite it on a floppy disk (look at the file README.TXT). Then boot with the disk you created, and answer 'linux root=/dev/sdxxx ro' where sdxxx is the root device (where you installed linux) at the boot: prompt.
bye.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

775 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question