*BSD News Article 75404


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!spool.mu.edu!newshub.tc.umn.edu!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: moving to a new disk
Date: 3 Aug 1996 19:40:37 GMT
Organization: Private BSD site, Dresden
Lines: 25
Message-ID: <4u09vl$qnk@uriah.heep.sax.de>
References: <4ths1o$6af@olorin.nask.pl>
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.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

pi@mantis.brp.waw.pl (Piotr Szafarczyk) wrote:

> i need to move my system to a new hard disk. what should i reinstall, copy, 
> change?

Copy it logically.  I.e., hook the new disk as the second disk into
the existing system.  Label it (not forgetting the bootstrap -- the -B
option in disklabel(8)), create the filesystems, and mount them
somewhere under /mnt.

Then, for each file system do something like this:

	cd /mnt
	dump 0f - /dev/rwd0a | restore rvf -
	cd /mnt/usr
	dump 0f - /dev/rwd0e | restore rvf -

etc.

-- 
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. ;-)