From owner-freebsd-questions@FreeBSD.ORG Thu Sep 17 06:50:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FB7F1065676 for ; Thu, 17 Sep 2009 06:50:23 +0000 (UTC) (envelope-from freebsd@superhero.nl) Received: from superhero.nl (wolverine.superhero.nl [77.73.16.20]) by mx1.freebsd.org (Postfix) with ESMTP id 9D2918FC1D for ; Thu, 17 Sep 2009 06:50:22 +0000 (UTC) Received: (qmail 71977 invoked by uid 80); 17 Sep 2009 06:50:21 -0000 Received: from 85.119.21.2 (SquirrelMail authenticated user gelsemap) by webmail.superhero.nl with HTTP; Thu, 17 Sep 2009 08:50:21 +0200 (CEST) Message-ID: <777245ba16ca077458cb9fca288b3c37.squirrel@webmail.superhero.nl> In-Reply-To: References: Date: Thu, 17 Sep 2009 08:50:21 +0200 (CEST) From: "Gelsema, P \(Patrick\) - FreeBSD" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.17 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: Change one file in an ISO image X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2009 06:50:23 -0000 On Thu, September 17, 2009 05:28, b. f. wrote: > Patrick Gelsema wrote: >>I need to change one file in an existing ISO image. It is a DVD image >> btw. >>Unfortunately I dont have many options of changing the fie before >> creating >>the image. >> >>Mounting is not the issue, copying data neither but the ISO is also >>bootable. There must be a simpler solution as in copying all the content >>with cpio and making it bootable. OS on the DVD is WinPE btw. >> >>Does anyone have some pointers for performing this action? > > Unfortunately, libarchive(3), which is used by tar(1) and cpio(1) on > recent versions of FreeBSD, seems to have only read and extract > support for ISO 9660 archives, and not write support (see > libarchive-formats(5) or > http://code.google.com/p/libarchive/wiki/LibarchiveFormats ). So > while you could use tar(1) or cpio(1) to extract the contents of the > dvd without mounting it in order to make your change, you would have > to use some other tool to write the new .iso image, like mkisofs(8) > from the sysutils/cdrtools-devel port. (And if the original image has > extensions that are not supported by librarchive(3), you could use > something like readcd(1) from that same port instead of tar(1) or > cpio(1) to read and extract it.) > > If the linux suggestion fails I will try this one. Unfortunately I can't do Make release as it is not Freebsd. It is a Windows based boot cd. Thanks! > b. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >