From owner-freebsd-questions@FreeBSD.ORG Fri Aug 22 02:04:23 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 372676D0 for ; Fri, 22 Aug 2014 02:04:23 +0000 (UTC) Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [IPv6:2a00:1450:4010:c04::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9E84D3516 for ; Fri, 22 Aug 2014 02:04:22 +0000 (UTC) Received: by mail-lb0-f173.google.com with SMTP id u10so8863868lbd.18 for ; Thu, 21 Aug 2014 19:04:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=msOoEXVpEGUU7mNaqASX0/DY6pL7Dt/gw42z/6Wk5mc=; b=NUuLr9q8YrGntia/2xIQUgCw2+kuxA+yniHhZgOCcxTVLRlalUiqsv/eewuJA02jZO rbG918R3Rz1jII5l7OCfoY6AHne00mGMk3trxpW9ubVzeYJ0CLB+wwPYgQcIMIE1Wtjx F7riXcqgmDz9+H2oy0G7m8FM3om7Qfu5bxAlVgNw0ZO6j3QgSJ+dzdv5xq7m32aH6iUC 5Q7/8yeLr355x/AmY3L9z4i+qUCBbNxc9uMK/WYvdqXLLNipGuToh5QF9+dHQMQqR56u 9B+7Kl21cVkQCWzWOLFcwKsdSxTIoDobF71NGMNV1+JF87TJQzmfixLVaE7aNh7rPrEH bChg== X-Received: by 10.112.52.225 with SMTP id w1mr1886289lbo.44.1408673060314; Thu, 21 Aug 2014 19:04:20 -0700 (PDT) MIME-Version: 1.0 Sender: argiopeweb@gmail.com Received: by 10.112.145.193 with HTTP; Thu, 21 Aug 2014 19:04:00 -0700 (PDT) In-Reply-To: <20140822014853.0D2F1229A7@server1.shellworld.net> References: <20140822014853.0D2F1229A7@server1.shellworld.net> From: Elliot Robinson Date: Thu, 21 Aug 2014 22:04:00 -0400 X-Google-Sender-Auth: bZiqQMYq7S18PaS2xYwcSaZfu9E Message-ID: Subject: Re: Mounting One of the memstick Image Files To: "Martin G. McCormick" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions !!!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2014 02:04:23 -0000 On Thu, Aug 21, 2014 at 9:48 PM, Martin G. McCormick < martin@server1.shellworld.net> wrote: > Elliot Robinson writes: > > I know your pain. On Linux, `mount -t ufs -o ufstype=44bsd` is what > you're > > looking for. This requires that your system knows how to write UFS, > which > > might be a problem. > > > > A possibly easier way to do this would be to boot off the memstick, > > remount > > root as rw, and make the change from the live memstick. I've seen some > > problems reading any new/modified files created by doing this from > > Linux (complains about bad inodes), but it seems to work from the BSD > > perspective... > > Thank you to both posters on this topic. If I could > mount the image file on the FreeBSD system, I would do all the > editing there and then copy the modified image back to the > Debian system to dd in to the thumb drive. I actually got the > image that way to start with. > When one uses the Linux fdisk program on the drive > afterward, it reports that there is both a BSD and DOS magic > number and advises the caller to run fdisk with the -b bsd flag. > I suspect there is a boot manager of some type that will catch > Windows systems in case somebody wants to boot off the memstick > on a Windows system. > In this case, all I want to do is mount the image in a > native FreeBSD environment to actually do the work on adding the > comconsole line. All Linux has to do in this exercise is to feed > the new modified image back in to the memstick with dd. > _______________________________________________ > 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" > Ah, apologies. I seem to have misunderstood the initial question. Perhaps this section from the handbook will be of help? https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-virtual.html --- Elliot Robinson PGP Key: 9FEDE59A