From owner-freebsd-questions@FreeBSD.ORG Sun Jun 21 13:15:56 2015 Return-Path: Delivered-To: freebsd-questions@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6BD85F0F for ; Sun, 21 Jun 2015 13:15:56 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2B266C15 for ; Sun, 21 Jun 2015 13:15:56 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (rbn1-216-180-76-210.adsl.hiwaay.net [216.180.76.210]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t5LDFrAs010525 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 21 Jun 2015 08:15:54 -0500 Message-ID: <5586B909.2000700@hiwaay.net> Date: Sun, 21 Jun 2015 08:22:08 -0453 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: fdisk question References: <558581A9.7010309@hiwaay.net> <55858B2C.4080004@gmail.com> <5585D1F8.6050006@hiwaay.net> <5585D37B.2000303@gmail.com> In-Reply-To: <5585D37B.2000303@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jun 2015 13:15:56 -0000 On 06/20/15 16:02, jd1008 wrote: > > > On 06/20/2015 02:49 PM, William A. Mahaffey III wrote: >> On 06/20/15 10:54, jd1008 wrote: >>> >>> >>> On 06/20/2015 09:06 AM, William A. Mahaffey III wrote: >>>> >>>> >>>> .... I just dd'ed the FreeBSD 9.3 RELEASE memstick image onto a 4 >>>> GB USB drive. When I mount it, it shows 101% full, w/ about 717 MB >>>> of stuff. The NetBSD folks often (for Raspberry Pi, for example) >>>> recommend & provide examples of how to mess with the partition >>>> table after dd'ing to restore 'full' USB drive capacity as noted by >>>> df w/o messing up any of the other data in the stick. Is this >>>> feasible under FreeBSD ? If so, has anyone tried/done it ? How did >>>> it go :-) ? Care to post your commands that worked :-) ? TIA & have >>>> a good one .... >>>> >>>> >>> Hi Bill, >>> what is the size of the memstick image? >>> >>> _______________________________________________ >>> 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" >>> >> >> A touch over 700 MB .... >> > I have experienced this problem before myself. > Basically, I had to manually take a look at the partition sizes > of source and partition the destination the same way. > The caveat was also that the source partition table area was not > the same as the destination's :( > So that wreaked havoc with what the firmware of the destination > thought was the partitioning scheme AFTER the dd from src to dest. > Someone showed me how to use the binary editor to fix the destination's > partition information. Unfortunately, I lost much email after drive crash > and replacement. > > _______________________________________________ > 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" > No problema, it is easy enough to just dd a new install image if I want it, I was thinking of keeping this USB drive as a FreeBSD installer exclusively, & just updating the files on it when required, but it's not necessary. The disk booted & did what I wanted, so all is well. Thanks :-) .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.