Re: Copy a FreeBSD 8* install to larger HD

2010-06-23 Thread Manolis Kiagias
On 23/06/2010 5:52 π.μ., Al Plant wrote:
 Aloha,

 I am looking for the easiest way to copy a fresh working FreeBSD 8* HD
 install (Manolis version) to a bigger HD that I found.

 I plan to have the new HD in the same box for doing this copy.

 Can I use sysinstall to make the new default slices on the big HD and
 then move the OS and directories/files to them?

 What command (utility) do I use? dd or cp or some other to copy the
 files.

 Thanks



Hey Al!

Back to your FreeBSD adventures, heh ;)

You can certainly use sysinstall to create the slice.
I suggest you use the command line bsdlabel to create the partitions.
On your current system, use dump/restore to dump /, /var and /usr to the
new disk directly (or you can save the dumps to some external disk and
use it via fixit if you don't wish to mount both drives on the same
machine). It would be best to run dump/restore in single user mode,
without mounting /usr and /var, or at least with the minimum number of
processes running. If you do run on a live filesystem, use the -L flag
in dump (I've had some problems with this on large filesystems).
Email me if you need more detailed instructions, I am currently
investigating this method as a quick installation system for my custom
FreeBSD systems.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Copy a FreeBSD 8* install to larger HD

2010-06-22 Thread Al Plant

Aloha,

I am looking for the easiest way to copy a fresh working FreeBSD 8* HD 
install (Manolis version) to a bigger HD that I found.


I plan to have the new  HD in the same box for doing this copy.

Can I use sysinstall to make the new default slices on the big HD and 
then move the OS and directories/files to them?


What command (utility) do I use? dd or cp or some other to copy the files.

Thanks

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD  7.2 - 8.0 - 9* +
   email: n...@hdk5.net 
All that's really worth doing is what we do for others.- Lewis Carrol

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Copy a FreeBSD 8* install to larger HD

2010-06-22 Thread Warren Block

On Tue, 22 Jun 2010, Al Plant wrote:

I am looking for the easiest way to copy a fresh working FreeBSD 8* HD 
install (Manolis version) to a bigger HD that I found.


I plan to have the new  HD in the same box for doing this copy.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Copy a FreeBSD 8* install to larger HD

2010-06-22 Thread Kevin Kinsey

Al Plant wrote:

Aloha,

I am looking for the easiest way to copy a fresh working FreeBSD 8* HD 
install (Manolis version) to a bigger HD that I found.


I plan to have the new  HD in the same box for doing this copy.

Can I use sysinstall to make the new default slices on the big HD and 
then move the OS and directories/files to them?


Last time I did this, it worked fine ... just make sure the slices (right 
term?)
correspond with your /etc/fstab, or you'll end up in single user or even
stuck at a boot prompt with the new drive the first time out.


What command (utility) do I use? dd or cp or some other to copy the files.


I'd recommend dump and restore ... possibly piping dump *to* restore,
something like:

dump -0 -a -L -u -f - /usr | ( cd /newusr ; restore -ruf - )

HTH.


Thanks



You're welcome :-)

Kevin Kinsey
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Copy a FreeBSD 8* install to larger HD

2010-06-22 Thread Antonio Olivares
Al and others,

One solution or way to do it would be to get Clonezilla Live CD

http://clonezilla.org/clonezilla-live/

Connect both hard drives check carefully which one is the smaller one
and select it as the source, and copy it exactly as it is.  Let
clonezilla do its thing. When finished, shutdown the machine and
unplug the old/smaller hard drive and leave the other one plugged in
and start the machine.  Everything should work normally.

HTH,

Antonio

On 6/22/10, Kevin Kinsey k...@daleco.biz wrote:
 Al Plant wrote:
 Aloha,

 I am looking for the easiest way to copy a fresh working FreeBSD 8* HD
 install (Manolis version) to a bigger HD that I found.

 I plan to have the new  HD in the same box for doing this copy.

 Can I use sysinstall to make the new default slices on the big HD and
 then move the OS and directories/files to them?

 Last time I did this, it worked fine ... just make sure the slices (right
 term?)
 correspond with your /etc/fstab, or you'll end up in single user or even
 stuck at a boot prompt with the new drive the first time out.

 What command (utility) do I use? dd or cp or some other to copy the files.

 I'd recommend dump and restore ... possibly piping dump *to* restore,
 something like:

 dump -0 -a -L -u -f - /usr | ( cd /newusr ; restore -ruf - )

 HTH.

 Thanks


 You're welcome :-)

 Kevin Kinsey
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org