Patrick Bowen wrote:
List;
I have a slice on ad0s1 mounting the root FS from ad0s2a, and
vice-verse. Here's what I did.
1. Started out with a 20 Gig drive with two equal slices, ad0s1
(blank) and ad0s2 (FreeBSD).
2. Used sysinstalls fdisk and bsdlabel to create /, /var, /tmp, and
/usr partitions on ad0s1 equal in size to those on ad0s2.
3. Used the following command to copy partitions from ad0s2 to ad0s1;
dump -L -0 -f- /usr | (cd /mnt/hd/usr; restore -r -v -f-)
/usr is on ad0s2 and /mnt/hd/usr is ad0s1.
4. Changed /mnt/hd/etc on ad0s1 to mount partitions on ad0s1, rather
than ad0s2.
5. Used grub to boot either to ad0s1 or ad0s2.
When I boot the first slice (ad0s1), df(1) shows all the partitions to
be ad0s1, except root, which is ad0s2. When I boot the second slice
(ad0s2), df(1) shows all partitions to be ad0s2, except root, which is
ad0s1.
Can anyone explain this behaviour, and why it might have happened?
Thanks,
Patrick
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
I should have mentioned that I modified the dump/restore command in #3
above to reflect all the different partitions.
Patrick
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"