Solved

OK I got the patch how do I use it?

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

749 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