On Fri, Nov 18, 2016 at 9:30 AM, Raffaele BELARDI <raffaele.bela...@st.com>
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'.
> Then I chroot into sda1, 'grub-install /dev/sda', grub-mkconfig and edit
> fstab to use sda instead of hda.
> Reboot, from the non-UEFI bios change the disk boot order and try to
> boot from sda.
> grub from the sda starts, loads the kernel from sda1, the kernel finds
> the root file system and mounts it RO but then the process stops at the
> end of the kernel boot. No kernel panic, just hangs there with the last
> kernel message before openrc. Openrc is not started.
>
> What might I be missing?

Perhaps some permissions and special files. I would use rsync for such a
task:

rsync -Pvas /source/directory/ /target/directory/

I've used that commend in the past for exactly the same motives as you. It
works; also, it's faster I think.

Regards.
--
Dr. Canek Peláez Valdés
Profesor de Carrera Asociado C
Departamento de Matemáticas
Facultad de Ciencias
Universidad Nacional Autónoma de México

Reply via email to