Tijnema ! wrote: > I always used a LiveCD > just boot it up, mount both partitions and then just copy, and update > grub&fstab > > I fully prefer agreed, this method is the most safe, more over, you won't take the risk to copy all the sys , dev and proc files and subdirectory created on boot if you would do it from the host machine. I did this operation this week-end about two or three times. I used once lfs-6.2.1 and once
SysRescueCD http://www.sysresccd.org/Download I must say I'm used to SysRescueCD and It is really easy to setup it has all the mnt directory you need. Here a complete sequence example: Let's say you have as source /dev/hda1 and destination /devhdc1. Here is the sequence boot the cd: 1. fb1024 or fb1280 if your card support it 2. 43 as I'm using swiss french keyboard, but they are almost all present 3. You are allready on the liveCD 4. mount /dev/hda1 /mnt/temp1 5. mount /dev/hdc1 /mnt/temp2 6. cd /mnt/temp2 7. cp -dpRv /mnt/temp1/* . 8. Ok now all the necessary files are copied except the first 446 bytes 9. mount --bind /dev /mnt/temp2/dev THIS IS VERY IMPORTANT otherwise you will never manage to make grub working 10. chroot /mnt/temp2 /bin/bash 11. grub 12. root (hd2,0) 13. setup (hd2) 14. quit 15. Adjust /etc/fstab / /dev/hdc1 ... 16. Adjust /boot/grub/menu.lst root (hd2,0) kernel /boot/kernel-xxxx root=/dev/hdc1 Et voilĂ I don't thing I forgot something PS: Make shure hda1 and hdc1 are the same fs otherwise you could run into throuble because of missing modules... kernel -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
