You are not logged in.

#1 2011-08-08 00:46:40

festizio
Member
From: Dayton, OH
Registered: 2010-03-05
Posts: 11

Fresh Arch for my new laptop (It's giving me brain pain)

Well its time to setup Arch on my new laptop... The Toshiba I currently use has served me quite well for about 3 years. During its lifetime Arch was only installed once and with the rolling rls model I have never had a problem. With that being said I do have to admit that I have become quite comfortable with the way everything is setup. As most of you know it can be a bit of a pain to try and remember all the tiny mods/hacks/changes one may have made during a 3 year period.

So I ask you, what does one do to migrate most of that to a fresh install? Should I just backup my home & etc dir's and try to put it all back together a bit at a time? For the most part I would like to have all the pkg's re installed as well as my themes, icons, menu's, etc, etc... Is there a better way than bit by bit, or should I just accept the fact that I need to start from scratch? At this point nothing has been done to the new system, I wanted to hear any alternatives you guys might have to offer.


EvE -|- Twitter -|- Last.Fm -|- Reference

“Chaos often breeds life, when order breeds habit”
                                                    - Henry Brooks Adams

Offline

#2 2011-08-08 02:03:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,801

Re: Fresh Arch for my new laptop (It's giving me brain pain)

Well, you can do a pacman -Q > SomeFile on your old system, then, on your new system,
do a sudo pacman -S $(cat SomeFile)

That will get you all of the official packages you have now


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2011-08-08 02:06:33

frabjous
Member
Registered: 2010-07-13
Posts: 367

Re: Fresh Arch for my new laptop (It's giving me brain pain)

ewaller wrote:

Well, you can do a pacman -Q > SomeFile on your old system, then, on your new system,
do a sudo pacman -S $(cat SomeFile)

That will get you all of the official packages you have now

Better make that pacman -Qq unless you want the version numbers screwing up the next step. Personally, though I'd do pacman -Qqt to get only those that are not dependencies or else you'll end up re-installing the same package multiple times if it had already been installed as a adependency. Consder even pacman -Qqet for only explicitly installed ones.

But also consider that a new install is high time to consider getting rid of some packages you don't use, and only install on a "when they're missed" basis. Reduces clutter.

Offline

#4 2011-08-08 04:06:29

mindhack
Member
Registered: 2010-03-05
Posts: 14

Re: Fresh Arch for my new laptop (It's giving me brain pain)

I always follow this simple guide to clone my arch setup:
http://yuanjie-huang.blogspot.com/2009/ … puter.html

Once I got the system set up, I use an ethernet wire to transfer the /home stuff.

Good luck

Offline

#5 2011-08-08 04:59:28

lolilolicon
Member
Registered: 2009-03-05
Posts: 1,722

Re: Fresh Arch for my new laptop (It's giving me brain pain)

If you don't really need a fresh install, just dd the system over (from a live CD) and do some adjustments later. mindhack's link is also OK I guess.

If, however, you do want a fresh install... (which feels really fresh and healthy, you know wink)
Most of your configs should be in $HOME and /etc, but I'm not sure if copying the entire /etc will break anything. You need some ajustments, at least.
For installed packages, follow ewaller and frabjous' suggestions.
As to themes, icons and the like,  I always package them and install using pacman. I also do the same for custom font packages. I usually have all these custom packages archived, so I can simply install them using pacman if need be later. And even if I don't have the package, I can use bacman (from pacman-contrib) to re-package the installed packages, or simply rebuild them since I also have the build scripts / source archived.

Last edited by lolilolicon (2011-08-08 04:59:54)


This silver ladybug at line 28...

Offline

#6 2011-08-10 17:33:40

zendeavor
Member
Registered: 2011-06-21
Posts: 11

Re: Fresh Arch for my new laptop (It's giving me brain pain)

use rsync

Offline

Board footer

Powered by FluxBB