Can I install Slackware on a running system?
I have been wanting to ask this for a while..
If I have an existing system.. already running Slackware.. can I do this?
1. Assume the system is running from /dev/hda
2. Shutdown. Install a new hard drive as /dev/hdc. Reboot.
Partition new drive as needed.
3. Run "setup" specifying the target to be various partitions
on the new /dev/hdc
4. Remount root partition of the new disk and fix all references
to /dev/hdc to use /dev/hda in places like fstab, lilo.conf, etc.
5. Run Lilo to install the loader on /dev/hdc -- but with root to be
on /dev/hda
6. Shutdown and remove the new disk in /dev/hdc
7. Re-install the new disk in possibly another system.. or maybe even
the same system as /dev/hda. System will boot from the new install
on /dev/hda.
There may be a few other additional steps needed along the way. Once
the new drive was relocated /dev/hda fix lilo.confg to specify to
install boot loader on /dev/hda now. Also might need some fine tuning
to account for hardware differences if the drive is moved to a different
box with different hardware.
Seems to me that this should work.
If you could load the Slackware setup programs to the existing system
before starting, you could even start out on a system running a non-Slackware
distribution.
---
|