On Fri, Nov 18, 2016 at 04:30:28PM +0100, Raffaele BELARDI wrote: > I want to move the main disk contents (hda, PATA) to another, larger > disk (sda, SATA). > > hda contains 4 ext3 partitions (root, home, data, swap). > I created 4 ext3 partitions on sda and copied the data over from the > corresponding hda partitions using 'cp -ax'.
Didn't you do this from working system on hda? In this case there really could be troubles with special files etc. Imho live-cd better for this purpose. At any case imho it's better to split this task 0. Boot from live-cd. 1. Copy partitions from hda to sda (cp or rsync) 2. Edit fstab on sda. 3. Configure grub on HDA to see hda and sda systems, 4. Try to boot sda. 5. If all is good, configure grub on sda, and change BIOS boot order. As Canek wrote rsync is great for this task, but beware - last '/' in '/source/directory/' means! #kstn