Solved

OK I got the patch how do I use it?

Posted on 1997-06-20
3
242 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

743 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now