SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have another drive setup as a slave on my system and I would like to transfer the whole operatinsystem to the other disk, what would be the easiest way to accomplish this I am using slackware 10.0.
The easiest way to do this is to use either rsync or plain cp to copy the files. Just format and mount the secondary hard drive appropriately, and perform a copy. You might want to exclude /dev, /proc, and/or /sys, as needed for your system.
The dd method also works well, though it will copy "empty" space (on a 100 GB partition, if only 20 GB are used, it will copy all 100 GB). It also becomes inconvenient when the partitions are of different sizes (the filesystem will be the old size) and when the system is on multiple partitions.
Assuming you want to copy just the root partition and run Slackware from the slave drive, you could boot up a "live" distro from CD - e.g. Knoppix, mount your source partition (read-only) on /mnt/slack1, your target partition (read-write) on /mnt/slack2, and then do:
cp -a /mnt/slack1/* /mnt/slack2
After that you would want to modify /mnt/slack2/etc/fstab to reflect the new filesystem locations, add an option to boot the kernel from the slave drive to your bootloader config, and reboot.
Ok I got it working I would appreciate it if anyone can tell me if there is any way I can run programs off o this disk from console, without actually booting into it.?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.