Thierry Nuttens wrote: ...<snip/> > 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... >
FWIW, I always keep /boot as a separate partition of just a 100Mb or so. make it ext2/3 and it will almost always be readable and you don't have to play about with grub too often ;-) that's usually the way I manage to screw-up most when moving partitions!!! I found that just a simple cp -a does everything you need. -a implies R too I believe. Cheers Al -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
