dd question

William A. Mahaffey III wam at hiwaay.net
Sun Sep 27 14:17:21 UTC 2015

On 09/27/15 09:12, Polytropon wrote:
> On Sun, 27 Sep 2015 09:05:52 -0453.75, William A. Mahaffey III wrote:
>> On 09/27/15 09:00, Polytropon wrote:
>>> Maybe the installation media, even though on writable media, is
>>> mounted ro? The easiest thing to capture logs is to perform the
>>> installation from a "fully writable" live file system, or simply
>>> mount a network resource r/w.
>> How can I figure that out (mounted ro) ? I have ISO's & img's available
>> on my LAN, can I install from them directly ? If so, how :-) (URL's
>> welcome) ?
> Depends on how the boot process is being performed. A look
> in /etc/fstab or maybe (customized?) rc.diskless could tell
> you more. Basically, it's simple to boot the media, get to
> a command line, and look at the "mount -v" output.
> Another option woule be to use disklabel and and add a new
> partition, for example letter 'd', which ends at the end
> of the media (where 'c' usually ends). Note that no partition
> can be bigger than 'c' ("the whole thing").

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 <dev>' & 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 :-) ....


	William A. Mahaffey III


	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.

More information about the freebsd-questions mailing list