Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jul 2009 09:59:19 +0200
From:      Ruben de Groot <mail25@bzerk.org>
To:        insrc <informatique.src@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to do a live migration of a freebsd box to another box with rsync
Message-ID:  <20090706075919.GB78371@ei.bzerk.org>
In-Reply-To: <98be5f7b0907050918k3b316120t491ddd5257be24f3@mail.gmail.com>
References:  <98be5f7b0907050918k3b316120t491ddd5257be24f3@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20090706075919.GB78371>