I am trying to migrate my old disk to a new one without re-installing everything (read re-downloading the entire Internet / copying stuff as much as possible from the old one). Considering that the old disk
contains my boot partition, home partition, swap device and the nix store,
is formatted in ext4 (and the new one is in btrfs),
is of different capacity from the new one.
What would be the most efficient / successful procedure to transfer all of the above partitions to the new drive using my current configuration ?
I tried copying my boot partition, home partition and created a new swap partition on the new drive. Changed my hardware configuration to match the new changes but to no avail : I am getting an error regarding udev in stage 1 preventing me from reaching stage 2.
That’s the problem, the console reads : An error occured at stage 1 of the boot process, which must mount the root filesystem on /mnt-root and then start stage 2
It probably reads more than that before that message though. You’ve just posted the generic error message; something more specific probably happened first.
But of course it does not build, so I am just waiting before transferring to the new disk (to be able to tell which part of the process is breaking what). I will come back to the transfer issue (soon I hope) and post my findings (problems ?) here.