Install Slackware to another partition
Hello All,
I am after method to install Slackware on another partition. First of all, Slackware64 15.0 is already installed on one partition. Secondly, I want to install Slackware64 15.0 onto another partition on the same machine. I though about doing dd to the new partition. I don't know if there are any caveats to watch for that. I prefer to do it without booting with a boot disk or USB, hence why I didn't went doing dd and see if it works. What do you all recommend? |
Well I'd just copy:
Code:
bin etc lib lib64 sbin usr var Note 1: /etc/fstab must be changed on the clone, to point at the new partition. Note 2: refer to the clean install to find out correct permissions for these new directories. I'm sure you could use dd also, and there are multiple other cloning tools. |
Install Slackware to another partition
Copying a system while it's running is not a good idea. There are several reasons for this. IME, it works best to clone the system while it is offline.
The best way to do this is to boot from a live distro, then mount the two partitions and copy the installed Slackware to the spare partition. Any Linux live CD/DVD/USB will do, as long as it can read & write to & from the filesystems you use. |
I second coping files using live distro, edit fstab / for new partition.
The other option is to boot slackware installer bzImage and initrd.img from hard drive, instead of using a usb or boot-disk. |
So far, I formatted the parition. This time, I put LVM on it. If I did that at the first place with the current system, I did not have to do all those install on different partition and move data thing. I'll put all I did here so others may see and use it themselves:
I formatted the partion, put LVM on it, and created the file system. I installed all slackware packages like this: Code:
upgradepkg --install-new --reinstall */*.t?z |
All times are GMT -5. The time now is 02:06 AM. |