[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

OK I got the patch how do I use it?

Posted on 1997-06-20
3
Medium Priority
?
262 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

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…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month12 days, 23 hours left to enroll

650 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