On 10/04/2016 01:39 PM, Mathias Homann wrote:
for now all you can do is try to copy the content... but maybe think about a clean reinstall first, and _USE_LVM_ for your storage.
Then, next time, click this link: http://linux.eregion.de/2016/05/14/how-to-replace-your-laptops-harddisk-with...
Well having BTDT with LVM it really is simple. Install the new drive physically. Make any real partitions you need such as space for /boot and SWAP. Make the rest of the disk a LVM partition Boot using the old disk Set up LVM on the partition on the new disk. Make that partition part of the volume group you use on the old disk. Use the LVM tools to migrate all the LEs/LVs from the old disk to the new disk. While that is going on, do the mkswap on the new disk's swap partition. Copy across the stuff in /boot from the old disk if needed Run the boot loader on the new disk, directing it to the new disk LVM lets you do things like that migrate quite transparently, regardless of disk sizes. If you do this right you should be able to boot of either fisk. The boot loader from the old disk refers to the /boot on the old disk that has a grub/grub2 config that points to the swap on the old disk and ... THIS IS IMPORTANT ... to /dev/mapper/ROOT Oh, yes, you do this all with the entries in grub.cfg as devices 'by name'. There is the LVM partition on the old disk and it sees that the LEs are on the other disk. LVM can use any form of scatter-gather it likes, and if the LE's are spread over a number of fisks, that's fine. If they are all on one disl, that's fine too, if 99.99999999999999998% of them are on another disk, that's fine, so wht not make it 100%? Hmm, you could do this with SWAP being a LV too :-) I think that its possible to do this with a RootFS that includes /boot, but i'm not sure. Yes I have done this on a system with separate -- A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting frowned upon? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org