Date: Tue, 22 Jun 2010 22:17:34 -0500 From: Kevin Kinsey <kdk@daleco.biz> To: Al Plant <noc@hdk5.net> Cc: "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org> Subject: Re: Copy a FreeBSD 8* install to larger HD Message-ID: <4C217CCE.7030605@daleco.biz> In-Reply-To: <4C217702.8080705@hdk5.net> References: <4C217702.8080705@hdk5.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C217CCE.7030605>