moving 15.0 install to a different partition/fs-type (?)
Hello,
I am interested in moving a bootable slackware64 15.0 install to a different partition on the same harddrive. With the old partition being type Ext4 and the new partition being type Xfs. Is there any way I can do this without doing a whole new install process to the new partition? Like maybe formatting the new partition with Xfs, then copying all the files from the old partition? Or something like that? The old partition boots with lilo from the mbr. |
With no one replying, I tried a solution recommended for a different distro:
format the new partition use "cp -a" to copy all the contents from the old partition to the new edit the fstab for the new partition edit the bootloader conf (in my case, lilo.conf) It worked to copy files. But I did not end up with a working install on the new system. It booted, but by the time it got to the login prompt, it could not find any devices at all |
Did you chroot to the new fs, build a new initrd with the xfs module included, and run lilo?
|
Quote:
But that did not help. So then I erased the copy partition and started over again. Before, I had booted from the source partition I had copied from. This time I booted from the slackware dvd, mounted both partitions, then copied. + then edited fstab for the new partition location and fs-type + then chroot'd and ran lilo from the new destination partition + then edited lilo.conf , and tried to lilo + lilo gave me an error about not finding "proc/partitions" in the destination partition, so I manually added that. + and ran lilo again And it worked. |
Good that you got it working.
Quote:
Code:
#!/bin/bash |
All times are GMT -5. The time now is 10:16 AM. |