1 |
On Fri, Nov 18, 2016 at 9:30 AM, Raffaele BELARDI <raffaele.belardi@××.com> |
2 |
wrote: |
3 |
> |
4 |
> I want to move the main disk contents (hda, PATA) to another, larger |
5 |
> disk (sda, SATA). |
6 |
> |
7 |
> hda contains 4 ext3 partitions (root, home, data, swap). |
8 |
> I created 4 ext3 partitions on sda and copied the data over from the |
9 |
> corresponding hda partitions using 'cp -ax'. |
10 |
> Then I chroot into sda1, 'grub-install /dev/sda', grub-mkconfig and edit |
11 |
> fstab to use sda instead of hda. |
12 |
> Reboot, from the non-UEFI bios change the disk boot order and try to |
13 |
> boot from sda. |
14 |
> grub from the sda starts, loads the kernel from sda1, the kernel finds |
15 |
> the root file system and mounts it RO but then the process stops at the |
16 |
> end of the kernel boot. No kernel panic, just hangs there with the last |
17 |
> kernel message before openrc. Openrc is not started. |
18 |
> |
19 |
> What might I be missing? |
20 |
|
21 |
Perhaps some permissions and special files. I would use rsync for such a |
22 |
task: |
23 |
|
24 |
rsync -Pvas /source/directory/ /target/directory/ |
25 |
|
26 |
I've used that commend in the past for exactly the same motives as you. It |
27 |
works; also, it's faster I think. |
28 |
|
29 |
Regards. |
30 |
-- |
31 |
Dr. Canek Peláez Valdés |
32 |
Profesor de Carrera Asociado C |
33 |
Departamento de Matemáticas |
34 |
Facultad de Ciencias |
35 |
Universidad Nacional Autónoma de México |