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.
Hi, i have a full system archive(slack 10.2) which i have made with this command:
# tar cvpzf /arj/system.tar.gz --directory / --exclude=proc --exclude=arj --exclude=tmp
My question is how to restore whole system in empty hdd(hdd have two partitions: ext3 and swap), the file system.tar.gz is written in CD?
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
Boot from CD, mount your hdd, cd to it and issue tar xzpf /system.tar.gz (or where it resides). You still will have to chroot to your hdd afterwise and reinstall bootloader (don't know what Slack uses now).
Slackware still uses lilo, so you'd have to chroot and re-run lilo. If you've substituted grub, you'll have to do a similar thing for that. Be careful, if you are moving the drives around in a computer, your lilo/grub entries may change (hda1->hdb1 etc.)
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
Chroot is giving you a shell for which named directory is /. So all paths to configuration and libraries, usually hardcoded as absolute paths in programs, change to paths relative to given dir. For example, lilo will go to /boot for kernel - and it will be on hdd, not rescue cd.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.