Re: how to do a live migration of a freebsd box to another box with rsync

2009-07-06 Thread Ruben de Groot
On Sun, Jul 05, 2009 at 06:18:03PM +0200, insrc typed:
 Hi,
 I'm used to migrate GNU/Linux system from one box to another by booting the
 second box with a liveCD (like systemrescueCD for example) and by copying
 the / filesystem (using the ssh transport)  with rsync.
 I would like to do the same for BSD system but i have two issues:
 - as the UFS write support is still experimental in the Linux kernel, it
 seems that i've to use a BSD liveCD but i can't find one :-/ I heard about
 frenzy ( http://frenzy.org.ua/en/ ) but the homepage says that the project
 is no longer maintained !
 - i'm wondering how to restore the bootloader after copying the files on the
 second box. On linux, i can use the grub-install script to do the job but
 i'm a bit lost on FreeBSD :-)

Assuming you install on the first slice of the first disk (ad0s1), to install
the bootloader and bootstrap code:

fdisk -B ad0
bsdlabel -B ad0s1

Ruben

___
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: how to do a live migration of a freebsd box to another box with rsync

2009-07-06 Thread Jeff Laine
 Hi,
 I'm used to migrate GNU/Linux system from one box to another by booting the
 second box with a liveCD (like systemrescueCD for example) and by copying
 the / filesystem (using the ssh transport)  with rsync.
 I would like to do the same for BSD system but i have two issues:
 - as the UFS write support is still experimental in the Linux kernel, it
 seems that i've to use a BSD liveCD but i can't find one :-/ I heard about
 frenzy ( http://frenzy.org.ua/en/ ) but the homepage says that the project
 is no longer maintained !
 - i'm wondering how to restore the bootloader after copying the files on the
 second box. On linux, i can use the grub-install script to do the job but
 i'm a bit lost on FreeBSD :-)

Hello. The Frenzy distro is still quite usable albeit it was abandoned. ;) 
Also you can find official FreeBSD liveCD iso here: 
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i.386/ISO-IMAGES/7.2/7.2-RELEASE-i386-livefs.iso
(change arch type according to you platform).



-- 
Best regards,
Jeff

| Nobody wants to say how this works.  |
|  Maybe nobody knows ...  |
|   Xorg.conf(5)|
___
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: how to do a live migration of a freebsd box to another box with rsync

2009-07-06 Thread insrc
Hi,
Thanks guys, everything worked perfectly !
- For the liveCD, i booted the second box with FreeNAS (
http://www.freenas.org/index.php?lang=fr ) , which include rsync and ssh :-)

- Created the partition layout following the official doc
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-adding.html.
@Ruben: Thanks for your help btw for restoring the bootloader :-)
- Then just rsynced the / filesystem excluding the /dev  directory.
- Ajusted /etc/fstab
- VoilĂ  !

Seems easier than a migration of GNU/Linux after all :)

Thanks again for your help !
Cheers,
___
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: how to do a live migration of a freebsd box to another box with rsync

2009-07-05 Thread perryh
insrc informatique@gmail.com wrote:

 it seems that i've to use a BSD liveCD but i can't find one :-/

www.freesbie.org

The site is not responding for me ATM, but the text is cached here:
http://74.125.155.132/search?q=cache:WjK0Anp5tb4J:www.freesbie.org/+freesbie+freebsdhl=engl=usstrip=1
___
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: how to do a live migration of a freebsd box to another box with rsync

2009-07-05 Thread Bertram Scharpf
Hi,

Am Sonntag, 05. Jul 2009, 18:18:03 +0200 schrieb insrc:
 - as the UFS write support is still experimental in the Linux kernel, it
 seems that i've to use a BSD liveCD but i can't find one :-/ I heard about
 frenzy ( http://frenzy.org.ua/en/ ) but the homepage says that the project
 is no longer maintained !

There is a livefs with the original ISO images:

  ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.2/

I further found DesktopBSD but I didn't try that.

I strongly recommend that you build yourself an USB stick.
Here's what you need to do:

  
http://typo.submonkey.net/articles/2006/4/13/installing-freebsd-on-usb-stick-episode-2

I went forth, chrooted into the stick and installed Vim, some
diagnose/repair tools and an XFCE. I even managed to install Grub
and let the user switch the boot process back to the hard disk.
Further, I made a second partition named transfer formatted with
FAT so that I can write some data from a Windows to it.

I look enviously at the Grml project and I find it a great pity
that there is no BSD equivalent.

Bertram


-- 
Bertram Scharpf
Stuttgart, Deutschland/Germany
http://www.bertram-scharpf.de
___
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