From owner-freebsd-questions@FreeBSD.ORG Sat Jun 20 20:56:30 2015 Return-Path: Delivered-To: freebsd-questions@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 44341F23 for ; Sat, 20 Jun 2015 20:56:30 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0C10AE8C for ; Sat, 20 Jun 2015 20:56:30 +0000 (UTC) (envelope-from jd1008@gmail.com) Received: by igblz2 with SMTP id lz2so32809787igb.1 for ; Sat, 20 Jun 2015 13:56:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=HE0UgAo5RJxe7b928QxQ5GqU3OyK/5oCoUHcaTAhcv0=; b=oXM97HApA3r8qKBEpN88RCI4TL9vlBAY+kgjOCmVwt7GMRJmBomQ9zG2E0NuTAknue xS+XySAEA4wuc8V15/FSPu/rZV/Nr7tn30Ym5eUfMWT57oygGpc3KtcO2ecomiHVV9jc i8IybDbi+b42vLo0QRXH4raox8Urb25S0oFDSEJf1yqilGt5IKly/QUuGB1qCOolqMfk knPNNKb0S5V5wT3YPpGY4mEU9OnakLM6Bm1uGlzBZPc1+SkudDXRcj065hJ8nFJclCCo c/ocH0AZrKstlV9HBMKUNOlAxh6LhgW+D9sU7fiW8xbcb1ypmtenN2WM2Xa0ruw3i+tu 1XfQ== X-Received: by 10.42.197.5 with SMTP id ei5mr3040805icb.80.1434833789257; Sat, 20 Jun 2015 13:56:29 -0700 (PDT) Received: from localhost.localdomain ([50.243.6.59]) by mx.google.com with ESMTPSA id w4sm4391616igl.22.2015.06.20.13.56.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 20 Jun 2015 13:56:28 -0700 (PDT) Message-ID: <5585D37B.2000303@gmail.com> Date: Sat, 20 Jun 2015 14:56:27 -0600 From: jd1008 User-Agent: Mozilla/5.0 (X11; Linux x86_64; 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> In-Reply-To: <5585D1F8.6050006@hiwaay.net> 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: Sat, 20 Jun 2015 20:56:30 -0000 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.