Linux - Newbie This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-05-2013, 06:26 PM
|
#1
|
|
LQ Newbie
Registered: Dec 2012
Posts: 15
Rep: 
|
I want this ubuntu set up on my pc!
I've trialed Ubuntu 12.04 on my laptop now for a week, and I love it. I love it so much, I want it on my main computer. However, I don't want to start ALL OVER AGAIN with installation, settings and preferences inc files. Is there any way I can image the whole OS and ensure it's efficiency for running on my PC successfully?
|
|
|
|
01-05-2013, 07:29 PM
|
#2
|
|
Member
Registered: Dec 2012
Posts: 52
Rep:
|
You need something like clonezilla
http://www.clonezilla.org/
Youtube has tutorials on using clonezilla
Last edited by codergeek; 01-05-2013 at 07:30 PM.
|
|
|
|
01-05-2013, 08:46 PM
|
#3
|
|
Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian
Posts: 5,354
|
Another method is this:
Install Ubuntu to your desktop, then copy your home directory from your laptop, including the hidden configuration files (they are ones whose names start with a period, such as .opera) over to your home directory on your desktop. They will bring your individualized settings along with them. (Actually, you really only need the hidden files which you have not left at default, but it would likely be easier to grab all of them.)
If they include settings for software you have not installed to the desktop, the settings will be there waiting from when you do install that software. For example, I recently installed claws-mail to one of my laptops after about six months of using something else. It found the old ~/.claws-mail directory and mail store and was ready to go with all settings in tact.
If you have configured something in your /etc directory, such as your /etc/samba/smb.conf file or an rc.firewall script, you can grab them individually.
|
|
|
1 members found this post helpful.
|
01-06-2013, 02:36 PM
|
#4
|
|
LQ Newbie
Registered: Dec 2012
Posts: 15
Original Poster
Rep: 
|
So if I ran..
Code:
cp /home/* /media/<disk drive>
That will include all the hidden directories and files in the clipboard too? Or is there an option I have to include to copy hidden files & directories?
|
|
|
|
01-06-2013, 07:18 PM
|
#5
|
|
Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian
Posts: 5,354
|
See this thread for a nice discussion of this question: http://www.linuxquestions.org/questi...nother-387107/
If I recall correctly, cp * will not capture hidden files.
I would suggest this:
Code:
cp -r ~/home/[username]/.* [path-to-target] <----------note the . before the *
cp -r ~/home/[username]/* [path-to-target]
The "r" argument means "recursive" and will copy directories and their contents.
Or you could use your file manager and drag-and-drop.
|
|
|
|
01-07-2013, 06:44 AM
|
#6
|
|
Member
Registered: Dec 2009
Location: New Jersey, USA
Distribution: Debian Lenny (5.0), Squeeze (6.0), Wheezy (7.0), Sid (unstable)
Posts: 271
Rep:
|
Another suggestion without having to resort to multiple copy commands would be using tar (the below commands suing sudo).
Code:
cd /home
tar cf [path-to-target/]username.tar [username]
Do not include the trailing slash or hidden (dot) files will be ignored.
Then you can extract your home directory on the other pc using
Code:
cd /home
tar xf [path/]username.tar
Last edited by goumba; 01-07-2013 at 06:50 AM.
Reason: fixed spelling
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:31 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|