What packages must I install rather than copy the files of?
Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
What packages must I install rather than copy the files of?
I bought new (to me) computer. I used a USB drive to partition and format, then I copied my old hard disk over. I know this doesn't work for /proc or /dev , so I installed those packages, but it halts on boot when it gives me the first boot prompt. I can boot from the drive when I boot first from USB drive. I find no errors in the logs, though I think I see one scroll by. It has an SSD (the listing said HDD; I'm not used to the quiet and speed of an SSD.) so it goes by too fast for me to see. I suspect I need to install some package that I can't just copy over the files of. The CapsLock key doesn't even toggle its LED.
I keep my personal data in my user's directory in /home, so that is really all that I ever need to back up or restore. Then I just install slackware all over, my third party packages, copy my user's directory, and create a user of the same name with adduser, which asks me if I want to use that user's directory, and I say yes.
But you could reinstall the packages in the "a" set: slackware 15 uses pam, so it won't login without that. When you are just copying your hard disk over, did you preserve the permissions and ownerships? Did you just use "cp", or did you use "dd", or "rsync"? You may want to share more info about what you did to get accurate responses.
It halts right after loading gpm, puts up a bunch of @. It detects the power switch, so it isn't completely dead. It's as though it no longer sees the keyboard, though it does beforehand. It still doesn't see the mouse, either one (I usually use a wireless but have a wired in my box of stuff.), even when I boot off the USB drive. I built a clean kernel - no dice.
I reinstalled every package - still halts. I noticed that, after pressing the power button, the display shows the shutdown process. It seems to be ignoring the keyboard only.
When you copy a Slackware installation from one drive to another, you need to verify 2 things:
That the correct root partition is listed in LILO/eLILO/GRUB config file
That the correct partition is listed as the root partition in /etc/fstab
The "correct" partition being the one you want to boot into, as seen by the kernel.
If you're doing what it sounds like, (i.e: copying a non-running installation to another drive), then you don't have to worry about /proc, /dev, /sys or /run. Just copy them as they are. The kernel will take care of them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.