Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Mar 2006 15:13:14 -0500
From:      "Steve P." <rczero@mail.com>
To:        "Jerry McAllister" <jerrymc@clunix.cl.msu.edu>, freebsd@houston.rr.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: two slices, copy one slice to another?
Message-ID:  <20060314201314.E61ED84022@ws1-5.us4.outblaze.com>

next in thread | raw e-mail | index | archive | help


----- Original Message -----
From: "Jerry McAllister"=20
To: freebsd@houston.rr.com=20
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 sl=
ice?
>
> What I envision is two slices:
> /dev/ad0s1 - one complete install
> /dev/ad0s2 - copy of first install, via dump restore. (Is=20
> 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, s=
o 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/f=
stab.
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 respectiv=
ely.

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




////jerry

> Thanks.
> Steve.
>
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

--=20
___________________________________________________
Play 100s of games for FREE! http://games.mail.com/




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