*BSD News Article 64405


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!garnet.bmr.gov.au!como.dpie.gov.au!news.gan.net.au!act.news.telstra.net!psgrain!news.uoregon.edu!hunter.premier.net!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!zib-berlin.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Cloning A FreeBSD System Disk
Date: 26 Mar 1996 19:22:34 GMT
Organization: Private BSD site, Dresden
Lines: 29
Message-ID: <4j9g5q$e3j@uriah.heep.sax.de>
References: <4j22q7$rqn@mippet.ci.com.au>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

Phill Glasson <pglasson@albury.net.au> writes:

> I have a 2.0.5 installation on a 991Mb Maxtor.  I want to clone my 
> machine onto a 2.1Gb Conner pft2105s.  I have been looking through the 
> man page for disklabel and have not been able to succesfully lable the 
> disk.
> 
> The Conner scsi drive has a variable number of sectors per track (67-139) 
> which seems to be causing all kinds of wierd problems.

It does not :) -- almost all newer disks do have a variable number
of sectors per track, but nobody cares.

If you're looking for a BSD only disk (``dangerously dedicated''), it
might be the easiest way for you to do the following:

 get the sources for /usr/src/sbin/disklabel from FreeBSD-current,
 run ``disklabel -Brw sd1 auto'' (expect one warning about an
  ``Invalid partition table, no magic.''),
 run ``disklabel -e sd1'' to setup your partitions,
 newfs all file systems,
 copy their contents with dump|restore, tar|tar, or cpio -p.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)