Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Wow, this depends on a lot of details... what do you have available?
1.Are both machines on a LAN? If so look into the tar command; just make one big tarball of everything you need and scp or ftp it over.
2.If a LAN isn't an option, there is always: Install operating system on Machine A, yank harddrive of Machine B and slap it in A, copy what you want from HD, move drive back.
Check out Mondo at http://www.microwerks.net/~hugo/. You should be able to clone your setup with it, or just transfer the data you need. I just downloaded it the other day and haven't had time to play with it, but it looks like it should do what you want.
I have a network set up, and I tried copying my entire /home directory to the new computer, but that only broke things. Both computers have Mandrake 8.2, with identical user accounts and root passwards, but their hardware is completely different.
I looked at Mondo, but my machines have different hardware, so I don't think a clone of my system will work on the second box.
Maybe there isn't an easy way to do what I want? I know there wasn't in windows.
So you don't mean just d/l music and things of that sort. You mean actually installed progs and user settings? While having diff hardware most likely won't work with the installed progs, I believe there is probably a way to keep user settings. If you did a:
cp /dev/hda/home /dev/hdb/home...
Instead try just cp'ing user by user. I think .profile and .bashrc are going to alot of the things you'll want to save. Of course it's late here so I might be totally wrong, but good luck.
What do you mean by 'data' I guess would be the next question?
If you just want to take over the contents of one directory, just tarball the stuff, its easy. For instance, on Mandy crate #1 (insert your username where bob is)
cd /home/bob
tar czvf wholelottastuff.tar.gz *
This will take everything in the directory /home/bob (hence the *), and stuff it all into a single file (tar and the f option for file and c for compress), it'll print everything to the screen while it squishes it (hence the v for verbose), and zip it so it takes less space (der, the z, and also the .gz extension). Copy that to /home/bob on the other machine and extract it with:
tar xvzf wholelottastuff.tar.gz
(the x is for extract, you get the idea on the rest).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.