Re: Transferring system to a new hard drive

2004-11-05 Thread Giorgos Keramidas
On 2004-11-05 09:13, CHris Rich <[EMAIL PROTECTED]> wrote:
> My original install of FreeBSD is on a 30 gig hard drive, I want to
> move it to an 80 gig I now have, but i don't want to have to reinstall
> everything since I've spent hours waiting for some ports to install.
>
> So after googling and searching I found a few ideas of how to migrate
> to a new hard drive but none which I really trust, (ghosting,
> acronis(sp?))

You can do it using standard tools, provided with the base system.

I recently moved all my data to a new 200 GB IDE disk, and kept a set of
step-by-step notes while doing this.  They are available online at my
weblog, if that's any help while you plan your own migration to a larger
hard disk:

http://keramida.serverhive.com/weblog/archives/daemonizing-a-new-disk

> If I do move it over will I have ot make new slices to take advantage
> of the bigger hard drive? If this is the case will I lose what data is
> already in the slice or can it adjust without any hitches or loss of
> data?

I made new slices to the larger disk, installed a clean copy of FreeBSD
using 'make installworld' and then moved all my user data to the new
/home partition.

You don't *have* to move everything.  But it's a nice chance to clean up
things if you have been upgrading from the sources during the past X
years, like I had been doing.

- Giorgos

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Transferring system to a new hard drive

2004-11-05 Thread Dennis Koegel
On Fri, Nov 05, 2004 at 09:13:25AM -0600, CHris Rich wrote:
> My original install of FreeBSD is on a 30 gig hard drive, I want to
> move it to an 80 gig I now have, but i don't want to have to reinstall
> everything since I've spent hours waiting for some ports to install.
> [...]
> If I do move it over will I have ot make new slices to take advantage
> of the bigger hard drive?

What I usually do is:
- install the new hd as second drive in the running system
- partition/slice it as you like
- newfs the new partitions
- mount the whole structure somewhere, like
  * mount /dev/ad1s1a /mnt
  * mount /dev/ad1s1e /mnt/usr
  * mount /dev/ad1s1f /mnt/var
  etc.
- go single user
- cd / && find  | cpio -padmuv /mnt
- check /mnt/etc/fstab
- write boot sector to ad1
- shutdown, replace old drive with new drive
- done

The find|cpio combination will copy your entire system 1:1 to the
new hard disk and it's slice structure below /mnt.

HTH,
- D.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Transferring system to a new hard drive

2004-11-05 Thread Matthias F. Brandstetter
-- quoting CHris Rich --
> My original install of FreeBSD is on a 30 gig hard drive, I want to
> move it to an 80 gig I now have, but i don't want to have to reinstall
> everything since I've spent hours waiting for some ports to install.
>
> So after googling and searching I found a few ideas of how to migrate
> to a new hard drive but none which I really trust, (ghosting,
> acronis(sp?))
>
> If I do move it over will I have ot make new slices to take advantage
> of the bigger hard drive? If this is the case will I lose what data is
> already in the slice or can it adjust without any hitches or loss of
> data?
>
> Any suggestions will be greatly appreciated

I had exactly the same issue this week, until I found this link:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK

HTH! Greetings, Matthias

-- 
The weak and nerdy are admired for their computer-programming abilities.

  -- Homer Simpson
 Bart vs. Australia
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Transferring system to a new hard drive

2004-11-05 Thread CHris Rich
My original install of FreeBSD is on a 30 gig hard drive, I want to
move it to an 80 gig I now have, but i don't want to have to reinstall
everything since I've spent hours waiting for some ports to install.

So after googling and searching I found a few ideas of how to migrate
to a new hard drive but none which I really trust, (ghosting,
acronis(sp?))

If I do move it over will I have ot make new slices to take advantage
of the bigger hard drive? If this is the case will I lose what data is
already in the slice or can it adjust without any hitches or loss of
data?

Any suggestions will be greatly appreciated
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"