From owner-freebsd-questions@FreeBSD.ORG Wed Sep 16 23:49:32 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AF291065670 for ; Wed, 16 Sep 2009 23:49:32 +0000 (UTC) (envelope-from bryant.eadon@gmail.com) Received: from mail-qy0-f176.google.com (mail-qy0-f176.google.com [209.85.221.176]) by mx1.freebsd.org (Postfix) with ESMTP id 4E4868FC0A for ; Wed, 16 Sep 2009 23:49:32 +0000 (UTC) Received: by qyk6 with SMTP id 6so54614qyk.3 for ; Wed, 16 Sep 2009 16:49:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=9tSj4EX0gsZmfgAozhi2t2J0eyCthKxKxHJr3lKXnTw=; b=F1CWwJvVKDMwhA+2PeeUy9S1usbrvMlHmS//2Fbs/8sPyGO2nBCoiew6rRg2op2n/4 4aU7GBc0svzowMCS34NtAFRe3HE+TlHmyIkFEmC83KUI2coXI3qdjEk/aoxPpblH9pQ5 kElA6TDznewN/f41xmmRFCszwLUXe3Z3IMpko= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=bXcnuegyZdXeG+G/ROB+kxJH21uJJnOTYkCUKClDN1jC93dIFMzKcVmq6rNYsWEC4t RHaGT7johFfP68NLj0aXjUpSih4iGB0BVX2YS+HXLdmFI7cQw8lV4LoXLlJ/u6soj5rB 2idXutYhYUBrCXrJkw3zIvFnTaIISiLHU58uA= Received: by 10.224.39.70 with SMTP id f6mr7927948qae.341.1253143565301; Wed, 16 Sep 2009 16:26:05 -0700 (PDT) Received: from ?192.168.1.4? (rrcs-24-103-43-79.nyc.biz.rr.com [24.103.43.79]) by mx.google.com with ESMTPS id 5sm237128qwg.26.2009.09.16.16.26.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 16 Sep 2009 16:26:03 -0700 (PDT) Message-ID: <4AB17409.4000601@gmail.com> Date: Wed, 16 Sep 2009 19:26:01 -0400 From: Bryant Eadon User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: "Gelsema, P \(Patrick\) - FreeBSD" References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: Change one file in an ISO image X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bryant.eadon@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Sep 2009 23:49:32 -0000 Gelsema, P (Patrick) - FreeBSD wrote: > Hi list, > > 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? Have you tried mounting it as a vnode ? and mounting it R/W ? mdconfig -a -t vnode -f file.img mount -t /dev/md0 /mnt/rw_dvd Where may be cd9660 or some other format of the image. I haven't seen reported success with this method (checked with various google searches), but perhaps there's something along these lines *will* work. Hope that helps, Bryant