From owner-freebsd-questions@freebsd.org Mon Sep 28 12:58:10 2015 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 49BB9A0ABF1 for ; Mon, 28 Sep 2015 12:58:10 +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 1749115C7 for ; Mon, 28 Sep 2015 12:58:09 +0000 (UTC) (envelope-from wam@hiwaay.net) Received: from kabini1.local (dynamic-216-186-213-32.knology.net [216.186.213.32] (may be forged)) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id t8SCw78v026612 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 28 Sep 2015 07:58:08 -0500 Subject: Re: dd question References: <5606A4FF.4090105@hiwaay.net> <56073915.6030707@hiwaay.net> <20150927131036.c6b2d9ce.freebsd@edvax.de> <5607E84D.1050803@hiwaay.net> <20150927155354.7dab526a.freebsd@edvax.de> <5607F676.10307@hiwaay.net> <20150927160604.f1e1c21d.freebsd@edvax.de> <5607FA6E.5040600@hiwaay.net> Cc: FreeBSD Questions !!!! From: "William A. Mahaffey III" Message-ID: <5609395F.70803@hiwaay.net> Date: Mon, 28 Sep 2015 08:03:37 -0453.75 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: 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: Mon, 28 Sep 2015 12:58:10 -0000 On 09/27/15 20:07, Warren Block wrote: > On Sun, 27 Sep 2015, William A. Mahaffey III wrote: > >> If I use disklabel to add a 'd' slice, will that mess up what is >> already there ? What is the syntax for that, I don't see it in the >> disklabel/bsdlabel man page ? The man page for disklabel/bsdlabel >> shows a way to initialize a whole disk using 'fdisk -BI ' & >> implies that this will create a 'da0s1' slice in the process. However >> it will also wipe out what is already there. If I do that, can I then >> copy the img-file contents in some way ? Thanks & TIA :-) .... > > Please stop using fdisk and bsdlabel. gpart(8) does everything they > do and is easier to use. > > Messing with a bsdlabel installer image is probably a waste of time, > but yes, you can add a partition (a bsdlabel partition). Or you can > probably use growfs to expand the filesystem to the size of the drive. > If you already have images on the network, consider mounting them with > NFS instead. > Part of the reason I ask is that I did a NetBSD 6.1.5 install early in the summer, & was able to resize the partitions there using their fdisk. However, some of the args appear to be either different functionality or missing in the FreeBSD version. It was quite helpful to log the install process & ask questions along the way with actual output info, rather than reconstructed from memory .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.