Re: Duplicate Installation of FreeBSD
On Wed, Apr 1, 2009 at 12:01 PM, k...@snaffler.net wrote: > personally id use rsync over tar, make sure you use the numeric-ids option > though How, when rsync is not available on the "new" box? Did you perhaps misunderstand the question? Guys, g4u is not an option here. It seems not to support some RAIDs (or just the hardware that I am looking at - Dell SC1435). -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "The only time a woman really succeeds in changing a man is when he is a baby." - Natalie Wood ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Duplicate Installation of FreeBSD
personally id use rsync over tar, make sure you use the numeric-ids option though Also you could probably do something like to make sure the disk labels are the same bsdlabel ad0s1 | rsh X " bsdlabel -W ad0s1 0" Wojciech Puchar wrote: Hello list, I have installed and configured a FreeBSD system based on 7.1-RELEASE (not that it matters so much) and I want a way in which I can duplicate this on several other machines. What is the easiest and the simplest way? Please consider the K.I.S.S principle. boot liveCD, allow rsh on one machine (.rhosts etc) and do on each new. 1) clean beginning of disk: dd if=/dev/zero of=/dev/ad0 bs=64k count=1 make labels as you wish bsdlabel -w ad0 bsdlabel -e ad0 (replace ad0 with something different if it is, or maybe more drives) if you use gmirror/gstripe whatever do it here. 2) bsdlabel -B ad0 (install bootrecord) perform newfs on each partition with options you like mount target root partition on /mnt, make subdirs for other partitions (if any), mount others under /mnt/subdir 3) rsh -l installedmachine "tar --one-file-system -cf - / /otherpartition /anotherpartition"|tar -C /mnt -xpvf - this will copy all files. be sure to specify all mountpoint in tar -cf - ... 4) edit all needed files like /mnt/etc/rc.conf 5) /sbin/reboot -q ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Duplicate Installation of FreeBSD
On Thu, Mar 26, 2009 at 8:41 PM, Andrew Gould wrote: > On Thu, Mar 26, 2009 at 6:24 AM, Odhiambo Washington > wrote: > >> Hello list, >> >> I have installed and configured a FreeBSD system based on 7.1-RELEASE (not >> that it matters so much) and I want a way in which I can duplicate this on >> several other machines. >> What is the easiest and the simplest way? Please consider the K.I.S.S >> principle. >> >> >> >> -- >> Best regards, >> Odhiambo WASHINGTON, >> Nairobi,KE >> +254733744121/+254722743223 >> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >> "The only time a woman really succeeds in changing a man is when he is a >> baby." >> - Natalie Wood >> > > If the hard drives are the same size, you might consider cloning the > installation using g4u (ghost for unix): > > http://www.feyrer.de/g4u/ I know about it, but I have also used WinPE (with imagex) and compared, I fell in love with the Microsloth tool - creates a smaller image and applies it much faster. Sorry guys, I just had to mention it. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "The only time a woman really succeeds in changing a man is when he is a baby." - Natalie Wood ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Duplicate Installation of FreeBSD
On Thu, Mar 26, 2009 at 6:24 AM, Odhiambo Washington wrote: > Hello list, > > I have installed and configured a FreeBSD system based on 7.1-RELEASE (not > that it matters so much) and I want a way in which I can duplicate this on > several other machines. > What is the easiest and the simplest way? Please consider the K.I.S.S > principle. > > > > -- > Best regards, > Odhiambo WASHINGTON, > Nairobi,KE > +254733744121/+254722743223 > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > "The only time a woman really succeeds in changing a man is when he is a > baby." > - Natalie Wood > If the hard drives are the same size, you might consider cloning the installation using g4u (ghost for unix): http://www.feyrer.de/g4u/ - Andrew ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Duplicate Installation of FreeBSD
principle. maybe using Clonezilla: http://clonezilla.org/ (it does not support unix is good enough to not need extra tools to do this. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Duplicate Installation of FreeBSD
Hi, On Thu, Mar 26, 2009 at 11:24 AM, Odhiambo Washington wrote: > Hello list, > > I have installed and configured a FreeBSD system based on 7.1-RELEASE (not > that it matters so much) and I want a way in which I can duplicate this on > several other machines. > What is the easiest and the simplest way? Please consider the K.I.S.S > principle. maybe using Clonezilla: http://clonezilla.org/ (it does not support UFS, but il will create a dd copy of your hdd/partition). But you have a user interface, so maybe it is easier to work with. If not, you can boot a livecd and you can use standard tools, like: dd, dump/restore, tar, .. In handbook you will find some useful start tips. Cheers, -- === Ioan Vancea http://www.vioan.ro ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Duplicate Installation of FreeBSD
Hello list, I have installed and configured a FreeBSD system based on 7.1-RELEASE (not that it matters so much) and I want a way in which I can duplicate this on several other machines. What is the easiest and the simplest way? Please consider the K.I.S.S principle. boot liveCD, allow rsh on one machine (.rhosts etc) and do on each new. 1) clean beginning of disk: dd if=/dev/zero of=/dev/ad0 bs=64k count=1 make labels as you wish bsdlabel -w ad0 bsdlabel -e ad0 (replace ad0 with something different if it is, or maybe more drives) if you use gmirror/gstripe whatever do it here. 2) bsdlabel -B ad0 (install bootrecord) perform newfs on each partition with options you like mount target root partition on /mnt, make subdirs for other partitions (if any), mount others under /mnt/subdir 3) rsh -l installedmachine "tar --one-file-system -cf - / /otherpartition /anotherpartition"|tar -C /mnt -xpvf - this will copy all files. be sure to specify all mountpoint in tar -cf - ... 4) edit all needed files like /mnt/etc/rc.conf 5) /sbin/reboot -q ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"