I love linux (regarding new install keeping old settings/config)

agibby5

Senior member
Jun 23, 2004
990
0
76
I recently bought a new computer and it will now serve as my working computer and my old one will become a server. I wanted to install Ubuntu 7.10 on the new one (rather than Vista that came preloaded). On my old computer, I just copied my /home directory into the new computer's /home directory, rebooted, and everything was setup exactly the same as my old computer was (minus the need to reinstall the same apps). Once I reinstalled all the apps, there was little to no configuration... it was all taken care of. What an awesome 'feature' of linux. :)
 

IamDavid

Diamond Member
Sep 13, 2000
5,888
10
81
I had no idea this worked. What all setting does it save? Firefox settings and plugins by any chance? I hate going thru reinstalling these and the back up thingy never works for me.
 

xSauronx

Lifer
Jul 14, 2000
19,582
4
81
Originally posted by: IamDavid
I had no idea this worked. What all setting does it save? Firefox settings and plugins by any chance? I hate going thru reinstalling these and the back up thingy never works for me.

not sure about firefox, im booted into windows at the moment, but backing up all the ~/.* stuff keeps configs for desktop settings and programs and such.

its also worth backing up various things in /etc if youre going to need them on another box (ssh, samba, nfs configs, hosts file, that sort of thing)
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I had no idea this worked. What all setting does it save? Firefox settings and plugins by any chance? I hate going thru reinstalling these and the back up thingy never works for me.

It should contain all of the settings for your personal account, anything you did system-wide will likely be in /etc so that'll have to be pulled over separately. Depends on how you installed the plugins, if they're just in your personal account then they should be in your home directory and should come over just fine.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Plugins will most likely not be in your home directory, however.

Depends on how you installed them, if you used packages then they won't be but you should just install the same packages on the new system anyway.
 

JD50

Lifer
Sep 4, 2005
11,888
2,788
136
You can do basically the same thing by just copying your profile in windows, but yea, Linux rocks!
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
You can do basically the same thing by just copying your profile in windows, but yea, Linux rocks!

It doesn't work nearly as well because of issues in the HKCU registry hive with permissions and such, but yes it's possible.
 

silverpig

Lifer
Jul 29, 2001
27,703
12
81
This is one of the main reasons why I have a seperate /home partition. I used to overclock like mad, used to tweak everything, used to use gentoo and play with CFLAGS etc just for fun. I b0rked more than one system. The nice thing is I'd just reinstall and all my settings would be back to normal.

Now I'm on ubuntu, don't overclock (it's funny how fast a dual 1.8 GHz opteron with 1 GB ram is when you're not gaming...), just keep everything up to date and know that it's all backed up just in case I have some massive power failure or something.
 

agibby5

Senior member
Jun 23, 2004
990
0
76
ive been thinking about making my own partition for the /home directories... and tehn creating a nightly or weekly backup of it to a secondary hard drive. that way it'd be really easy to 'roll back' changes that caused any errors/issues.... still deciding how i want to do this.
 

Fullmetal Chocobo

Moderator<br>Distributed Computing
Moderator
May 13, 2003
13,704
7
81
So I guess this would work in going from a VM to an actual machine, correct? Hmm. I've been putting off putting up another linux box until I get another machine built, but I want to do some stuff in linux. VM -> box later seems like it might work. :D