Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Apr 1999 10:19:25 -0600 (CST)
From:      "Paul T. Root" <proot@iaces.com>
To:        mjones@mco.net (Mark Jones)
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: backup
Message-ID:  <199904011619.KAA00829@iaces.com>
In-Reply-To: <00a301be7c57$157a7b20$96baa7d1@zigzag.london.skyscape.net> from Mark Jones at "Apr 1, 99 10:48:23 am"

next in thread | previous in thread | raw e-mail | index | archive | help
In a previous message, Mark Jones said:
> I have multiple freebsd systems here. I would like to put a new hard drive
> into the system copy all files on to the new harddrive remove it and be able
> to put it into a new system and have it boot up identical to the original
> system.  I have tried this and it has a problem on boot after the fsck when
> it trys to mount / as rw. It says that device is not as currently mounted.
> 
> What should I do to accomplish this task?

I do this all the time. Did you use dump/restore to accomplish this? Basically
the steps are:

disklabel <newdisk>
newfs <newdisk partitions>
fsck  <newdisk partitions>

mount /dev/<newdisk partition a> /mnt
cd /mnt
dump 0f / |restore -rf -
rm /mnt/restoresymtable

repeat for other partitions.
move disk to new machine, changing SCSI ID or IDE master/slave.



-- 
MicroEmacs vs GNU Emacs: M-X enter-nuclear-reactor-control-mode isn't
there, but I never used it much anyway.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199904011619.KAA00829>