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.
Just upgraded my laptop with speedier hard-disk and I want to port my Slack installation over to it. The new drive has been appropriately partitioned. The old drive is now in a 2.5 inch laptop hard-disk enclosure which I can connect either by FireWire or USB 2 (the laptop has both but the USB ports are 1.1) . I have live-distro cd's (Mepis & Knoppix) from which I can boot, mount and then copy the entire file-system from the old to to the new drive.
The question is what is the easiest, best, fastest (not necessarily in that order) way to port the Slack installation over to the new drive? Will a direct copy work? or are there better tools for the job?
Just to clarify: Is your new hard drive in the external enclosure, or is it already in the laptop? I would assume that your new hard drive is already in the machine, but your post seems to indicate otherwise, which doesn't really make much sense because if it weren't already in there, you wouldn't need the live cds... "The new drive has been appropriately partitioned. It is in a 2.5 inch laptop hard-disk enclosure which I can connect either by FireWire or USB 2 "
There's a HOWTO in the zipslack documentation for this. Easy as pie!
For a single partition, just mount the new part. the make dirs there for /mnt/ and /proc.
then cd to /
cd /
then:
umask 000; cp -avx bin boot dev etc home lib root sbin tmp usr var /mnt/new
Copy all dirs you have there except mount and proc. then edit the fstab on the new drive and reboot mounting the new partition as root. Run lilo from new install and that's it.
Thanks to all of you guys for the assists. Sorry azzurro for the confusion, it was indeed a careless error on my part , thanks for pointing it out. The correction has now been made.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.