Apply .patch to Linux Iso?

Posted on 2009-02-17
Last Modified: 2013-12-06
Does anyone know how to apply a .patch to a linux iso release?

I need to place the patch shown in the code section to any linux distribution so i can get an install going (apparently my computer xw4600 was blacklisted for a while... looks like this might fix it... but i don't think the patch made it in to v 5.00 of debian)

I've tried the latest ubuntu, jaunty, pc-linux, pc-freebsd, and debian... all end up crashing on install (i did get command prompt  with jaunty-alternate-amd64.iso (installer hit an error at software install point... but i was able to install grub)

Preferable i'd like to use ubuntu or

--- a/drivers/acpi/sleep/main.c

+++ b/drivers/acpi/sleep/main.c

@@ -344,6 +344,14 @@ static struct dmi_system_id __initdata a




+	{

+	.callback = init_old_suspend_ordering,

+	.ident = "HP xw4600 Workstation",

+	.matches = {

+		DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),

+		DMI_MATCH(DMI_PRODUCT_NAME, "HP xw4600 Workstation"),

+		},

+	},



 #endif /* CONFIG_SUSPEND */

Open in new window

Question by:braker15
    LVL 23

    Expert Comment

    It's a kernel patch, right? So the answer is - you can't. In iso files, you have already built kernels, so patching source files (even if there are any) won't give you anything.
    LVL 1

    Author Comment

    it looks like this patch may have been applied in 2.6.27-stable  ->

    Using releases with later kernal builds i am still having issues.  Do you know of any linux release that could get me in a gui environment without issues? I've tried the following:
    LVL 1

    Author Comment

    This isn't an issue anymore, i updated to a newer kernal.  I wanted to clarify something with you oklit.  You said that I apply a patch to an iso (i'd agree with that for sure).  Are you aware that there are sites providing instructions on how to do kernal builds?
    LVL 23

    Accepted Solution

    Yes of course I am :)
    But take a look on this page you gave a link to. There is information about applying a patch, and patch is applied to uncompressed kernel sources. Not iso image, nor even compressed file (there is bzip -dc command in front of kernel sources tarball, which means - uncompress first).
    As far as I know, in most cases, distribution's installers doesn't offer you building kernel from sources. There are often kernel sources available as a package, but there is also already built kernel which is installed with such installer. After installing, you may of course modify kernel sources and then build your own kernel using this sources (or you can get newer version).
    The only distro I know, in which you have to compile your kernel during installation, instead of installing already built, is gentoo. There are maybe some others, but I don't know them (as far as I know, ubuntu, debian, mandriva and a lot of others, come with already built kernel).

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    This document is written for Red Hat Enterprise Linux AS release 4 and ORACLE 10g.  Earlier releases can be installed using this document as well however there are some additional steps for packages to be installed see Metalink. Disclaimer: I hav…
    You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

    729 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

    23 Experts available now in Live!

    Get 1:1 Help Now