Re: cloning a FreeBSD HDD



On Fri, Mar 24, 2006 at 06:19:13PM +0100, Dirk GOUDERS wrote:
Hi,

This is my first day on the list so please pardon me if I am on the wrong
list and any mistakes I make.

I would like to create a bootable clone of a HDD running BSD version 4.8. I
have experience of cloning linux machines successfully but understand that
freebsd is a little different.

please, try to clone your disk as described in the FAQ
"9.2. How do I move my system over to my huge new disk?":

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK

Without reading it, I would first try this, it's quite straightforward

* boot into single user mode (enter "boot -s" at loader prompt)
* make sure filesystems are mounted readonly (mount)
dd if=/dev/ad0 of=/dev/ad1 bs=1m
(where ad0 is your disk with data and ad1 is your new disk, make sure
you do not swap them :)

--
Vasil Dimov
gro.DSBeerF@dv

Testing can show the presence of bugs, but not their absence.
-- Edsger W. Dijkstra
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: cloning a FreeBSD HDD
    ... I would like to create a bootable clone of a HDD running BSD version 4.8. ... have experience of cloning linux machines successfully but understand that ... Following that advice results in a bootable clone of your disk. ...
    (freebsd-hackers)
  • Re: best disk-cloning software?
    ... a bootable clone of the disk. ... I can live with that since psync does a good job otherwise. ... Te tettetett tettek tettese, te! ...
    (comp.sys.mac.system)
  • best disk-cloning software?
    ... I've been using psync for several years to clone disks ... a bootable clone of the disk. ...
    (comp.sys.mac.system)
  • Re: HELP ! 2003 server "UNMOUNTABLE_BOOT_VOLUME " on boot
    ... Get yourself an 80 GByte disk ... > to create a bootable clone: ... Install it as a slave disk on some Win2000/XP/2003 machine. ... Connect it as a slave disk to the Vista machine. ...
    (microsoft.public.windows.server.general)
  • Re: HELP ! 2003 server "UNMOUNTABLE_BOOT_VOLUME " on boot
    ... If you can read the disk under Vista then it's a simple matter ... to create a bootable clone: ... Install it as a slave disk on some Win2000/XP/2003 machine. ... Connect it as a slave disk to the Vista machine. ...
    (microsoft.public.windows.server.general)