Stonecold1995
June 8th, 2012, 02:54 AM
I bought a new laptop and I'm planning to install Kubuntu 12.04 on it. I have Kubuntu 12.04 on my old computer and I have to move the whole install to the new one (I can't start with a new install for various reasons, and simply moving /home won't transfer all my programs, configs, etc).
I'm trying to transfer all my data from one computer to another (not just /home, but other directories like /usr). However, I set the NEW computer up with LUKS pre-boot encryption. Because I can't change the /usr directory while the partition is in use, I have to change it from a live CD. But I haven't been able to find one that can mount then encrypted partition. I even tried using a live Kubuntu CD, but when I tried mounting it and I gave it the password it denied access, saying the partition was in use. How can it be in use if it's not even mounted?!
My plan is to move /usr (and some of the other directories) from / in my old computer to / in my new computer, and they'll be named /*-new (e.g. /usr-new). Then I'll do "mv /usr /usr-old; mv /usr-new /usr", etc. to replace the new ones with the ones from my old computer. I can't do that while the partition is in use because in the transition state as soon as the first command is done and there is no /usr present (only /usr-old and /usr-new) the computer is unable to continue working ("mv: command not found", etc). So I have to do it with a live CD.
Can anyone help? I've tried following instructions from different websites but none worked for me. The live CDs I've tried so far were Kubuntu 12.04, BackTrack 5, Tails 0.11, and PartedMagic (didn't even boot. Apparently PartedMagic doesn't work on my computer).
I'm trying to transfer all my data from one computer to another (not just /home, but other directories like /usr). However, I set the NEW computer up with LUKS pre-boot encryption. Because I can't change the /usr directory while the partition is in use, I have to change it from a live CD. But I haven't been able to find one that can mount then encrypted partition. I even tried using a live Kubuntu CD, but when I tried mounting it and I gave it the password it denied access, saying the partition was in use. How can it be in use if it's not even mounted?!
My plan is to move /usr (and some of the other directories) from / in my old computer to / in my new computer, and they'll be named /*-new (e.g. /usr-new). Then I'll do "mv /usr /usr-old; mv /usr-new /usr", etc. to replace the new ones with the ones from my old computer. I can't do that while the partition is in use because in the transition state as soon as the first command is done and there is no /usr present (only /usr-old and /usr-new) the computer is unable to continue working ("mv: command not found", etc). So I have to do it with a live CD.
Can anyone help? I've tried following instructions from different websites but none worked for me. The live CDs I've tried so far were Kubuntu 12.04, BackTrack 5, Tails 0.11, and PartedMagic (didn't even boot. Apparently PartedMagic doesn't work on my computer).