I have finally rebuilt my gentoo box from scratch with all the new things - 2.6 headers, 2.6.3 kernel, nptl etc. and it seems to be rock solid (NB everything x86 except for headers which I've changed to x86 in /usr/local/portage).
The whole thing is on one partition except for boot which is on a separate partition; I have also created a functional lvm2 volume with several partitions which are all empty and mounted on /mnt/new/foo at the moment. Situation now: 100 Mb /boot partition /dev/hda5 swap /dev/hda6 600 Mb empty partition /dev/hda7 40 Gb empty LVM mounted on /mnt/new/foo 20 Gb / partition with Gentoo system /dev/hda9 So what I want to do is move the gentoo system by moving /usr /var /tmp /opt /home /usr/local to the partitions on LVM and moving all that's left on root to /dev/hda6, thus freeing /dev/hda9 for a rainy day :-) /boot wouldn't change. I can't use dd for this as I have to move directories to partitions, not copy complete partitions to partitions. However, cp -Rp does recursive copies of files and directories and preserves uid and gid. So all that is necessary is do all the cp -Rp /input-dir/* /output-dir/ commands, then go into the new root partition and update /etc/fstab and add a voice in /boot/grub/grub.conf for the photocopy system, giving me two perfectly working and identical systems; after having checked that the 'new' system works I can just delete the old one and I'm done. (I've often done this sort of thing in the past and it works). In practice the 'photocopy' system boots and works, loads the lvm2 partitions ok, init proceeds until it comes to activating the fontserver .... at this point it has to reread the font directories as if the fontserver had been newly installed (how does it know ? haven't I copied all files ??) ... and then X won't load because the fontserver can't find fixed fonts. Has anyone else run into a similar problem ? -- Michele Alzetta <[EMAIL PROTECTED]>
signature.asc
Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata
