From owner-freebsd-questions Sat Apr 21 14:47:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from echonyc.com (echonyc.com [198.67.15.2]) by hub.freebsd.org (Postfix) with ESMTP id A97FC37B424 for ; Sat, 21 Apr 2001 14:47:34 -0700 (PDT) (envelope-from suleyman@echonyc.com) Received: from localhost (suleyman@localhost) by echonyc.com (8.11.0/8.11.0) with ESMTP id f3LLlYt13333 for ; Sat, 21 Apr 2001 17:47:34 -0400 (EDT) Date: Sat, 21 Apr 2001 17:47:34 -0400 (EDT) From: Ken Seggerman To: freebsd-questions@FreeBSD.ORG Subject: Re: using dd to copy a DOS partition In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Somebody at an Open Source OS install fest suggested that I could copy an > entire DOS partition to a file on a remote a UNIX file system by using dd. > > dd if=/dev/ad0s1 of=/mnt/backups/windows/filename.iso > 1644993+0 records in It works! This seems to be a viable drive to drive backup method. I tried a safer version of the above experiment using a smaller logical partition on another machine, filling it with copies of real data and executables. # dd if=/dev/ads05 of=/usr/backups/nt_d.backup I then rebooted into NT, deleted the contents of the D:\ drive, rebooted into FreeBSD and did: # dd if=/usr/backups/nt_d.backup of=/dev/ads05 and rebooted into NT. My D:\ drive was there as if it had never been deleted. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message