On Tue, Nov 25, 2003 at 11:35:43AM +1300, Tom Eastman wrote:
>
> What kind of options would I have to provide to ensure that all the
> permissions/ownerships are set correctly?
>
I've used rsync and Gentoo LiveCDs to transfer entire installs across my SUN boxes:
1: Boot LiveCD on target machine(s), bring up network, start sshd (/etc/init.d/sshd
start),
set password, fdisk HD, mount partitions to /gentoo or whatever...
2: Transfer from build box:
rsync --rsh=ssh -avSH --exclude dev/ --exclude proc/ /tmp/gentoo /gentoo
3: NOTE: If using devfs, then /dev will populate on boot
4: Once transferred, chroot into /gentoo on target and customize settings for that
machine:
mkdir /proc
mkdir /dev <--- if using devfs, this will populate on boot
/etc/hostname <--- hostname obviously
/etc/conf.d/net <--- network settings
/etc/fstab <--- based on partition tables (/gentoo on target must have
all
partitions mounted properly before transer, in my case
I use
seperate mounts on /usr, /usr/portage,
/var/tmp/portage,
and /boot
change root password
I might have forgot something, but this is the general procedure I used on my SUN
Ultra Farm.
~emtty
--
[EMAIL PROTECTED] mailing list