2008年2月7日

Swapping boot drives in FreeBSD

Had read about Swapping boot drives around long time ago, from www.freebsddiary.org, and i came out with my own version of command and posted it in that thread. Today i have to use that command so i tried to read it again, but i cannot remember the name the site!! it took me about 30 seconds to recall, so i better put it here:

(1) enter single user mode
(2) mount the boot partition of the new harddrive under /mnt
(2) /usr/local/bin/gtar cf - -C / --one-file-system --exclude /mnt/ . | /usr/local/bin/gtar xpvf - -C /mnt/

沒有留言: