two slices, copy one slice to another?

Steve P. rczero at
Tue Mar 14 21:59:51 UTC 2006

----- Original Message -----
From: "Jerry McAllister" 
To: freebsd at 
Subject: Re: two slices, copy one slice to another?
Date: Tue, 14 Mar 2006 09:34:38 -0500 (EST)

> Is there a trick to copying one working system from a slice to another slice?
> What I envision is two slices:
> /dev/ad0s1 - one complete install
> /dev/ad0s2 - copy of first install, via dump restore. (Is 
> this where I screwed up?)

Jerry--No, dump/restore is the thing to use.
Jerry--Was the second slice /dev/ad0s2 made bootable - when you laid down
Jerry--the partitions?

I used sysinstall to lay down the partitions, then did a minimal install, so it was bootable I would assume.

> I tried this, but upon reboot, I could see both installs. I was given a
> choice of the two, but F2 only booted the first install.
> What is the trick?

Jerry--The problem is probably that you copied it directly including /etc/fstab.
Jerry--So, /etc/fstab still points to /dev/ad0s1a at the root (/) partition
Jerry--and /dev/ad0s1b as swap, etc, etc Those need to be manually edited
Jerry--after the dump/restore to be /dev/ad0s2a, /dev/ad0s2b, etc respectively.

Now that I think about it, yeah. fstab still points to the former slice. Funny how the obvious eludes you ad 2am. 
I will try that, and Thanks Very Much.


> Thanks.
> Steve.
freebsd-questions at mailing list
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

Play 100s of games for FREE!

More information about the freebsd-questions mailing list