For When You Can't Have The Real Thing
[ start | index | login ]
start > Sun > Cloning Partitions With ufsdump

Cloning Partitions With ufsdump

Created by dave. Last edited by dave, 14 years and 10 days ago. Viewed 3,684 times. #2
[diff] [history] [edit] [rdf]

Cloning Partitions with ufsdump

Best done in single-user mode (ie boot -s)

Example of root:

  • create your new root filesystem with newfs
  • mount the new root filesystem somewhere like /mnt/root and then
    #  ufsdump 0f - / | ( cd /mnt/root ; ufsrestore xf - )
(>>Source and more detail)
no comments | post comment
This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful: | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt