Re: Drive Image / Cloning
"Mike" <[EMAIL PROTECTED]> writes: > This will copy all files and make it bootable? Sorry but the search on > dd have no shown what I need. I've used (and tested) something like this "dd if=/dev/ad0s1 of=/dev/ad0s2 bs=" to transfer an OS, but I recently tried it to a second disk and couldn't get the new partitions to mount. Don't know the reason. The two slices seemed to be identical down to CHS numbers (but they were on different portions of differently-sized disks). When you "newfs", consider whether you want to add "-U". I use "-a" on my dump, but I supect it's unneeded with "-f-". To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Drive Image / Cloning
> What's a good way to clone / Image to another HD? I have 3 boxes that > are the same and I have one that is done and ready and want to copy > that install to the others. g4u: http://www.feyrer.de/g4u/ g4u ("ghost for unix") is a NetBSD-based bootfloppy/CD-ROM that allows easy cloning of PC harddisks to deploy a common setup on a number of PCs using FTP. -volker To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
RE: Drive Image / Cloning
This will copy all files and make it bootable? Sorry but the search on dd have no shown what I need. I need to copy my good drive with everything to a new drive so I can put it in a new box and boot. Any other pages on dd? Google brought back a few that I am digging through now. What about this. Another nice BSD'er sent it to me. 1.Create slice on second's disks 2. Create partition and run newfs, when /dev/da0 - original disk and /dev/da1 - other disk (for backup) 3. Mount set echo on /sbin/mount /dev/da1s1a /mnt/root /sbin/mount /dev/da1s1e /mnt/var /sbin/mount /dev/da1s1f /mnt/usr 4. Copy cd /mnt/root /sbin/dump -f- /|restore -rf- cd /mnt/var /sbin/dump -f- /var|restore -rf- cd /usr /sbin/dump -f- /usr|restore -rf- Cheers M;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Kirk Strauser Sent: Thursday, January 09, 2003 9:37 AM To: [EMAIL PROTECTED] Subject: Re: Drive Image / Cloning At 2003-01-09T15:48:22Z, Paul Everlund <[EMAIL PROTECTED]> writes: > # /bin/dd if=/dev/ad4 of=/dev/ad6 bs=16384 Not that the source drive *must* be mounted read-only (or the system running in single-user mode) for the results not to be massively corrupted. -- Kirk Strauser In Googlis non est, ergo non est. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Drive Image / Cloning
At 2003-01-09T15:48:22Z, Paul Everlund <[EMAIL PROTECTED]> writes: > # /bin/dd if=/dev/ad4 of=/dev/ad6 bs=16384 Not that the source drive *must* be mounted read-only (or the system running in single-user mode) for the results not to be massively corrupted. -- Kirk Strauser In Googlis non est, ergo non est. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: Drive Image / Cloning
On Thu, 9 Jan 2003, Mike wrote: > Hi All > > What's a good way to clone / Image to another HD? I have 3 boxes that > are the same and I have one that is done and ready and want to copy that > install to the others. > > Cheers > > M;) # /bin/dd if=/dev/ad4 of=/dev/ad6 bs=16384 This I use in a cron-job to make an exact copy of my drive every month. You might have to change the ad4 and ad6. You should probably read 'man dd' before using it. Best regards, Paul To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Drive Image / Cloning
Hi All What's a good way to clone / Image to another HD? I have 3 boxes that are the same and I have one that is done and ready and want to copy that install to the others. Cheers M;) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message