Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New install and server runs gentoo [answered]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
pdr
l33t
l33t


Joined: 20 Mar 2004
Posts: 618

PostPosted: Tue Jan 16, 2007 9:49 pm    Post subject: New install and server runs gentoo [answered] Reply with quote

My server runs gentoo (amd64), and I am going to be doing a new desktop gentoo install, but also am working on a backup "auto-install" script that basically auto-performs the steps from the Handbook, then emerges everything in order from my emerge.log (taking into account unmerges), and finally restores backed up non-package data (/home, /etc, and so on).

I already have my server set up to be the rsync server for portage syncing my desktops, but what I wonder is this:

During install, instead of getting a portage snapshot can I just do an emerge --sync? Running over my gigabit local network I would expect this to be at least as quick as downloading a snapshot over DSL and THEN syncing...

If not - are there instructions anywhere to make my own snapshot and use it? Or do I HAVE to install a snapshot first?

I assume that I don't have a choice with the stage file since the server is amd64 and the desktop is x86...


Last edited by pdr on Wed Feb 07, 2007 12:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
m_spidey
Guru
Guru


Joined: 28 Feb 2005
Posts: 312
Location: Planetexpress Ship

PostPosted: Tue Jan 16, 2007 10:54 pm    Post subject: Reply with quote

One thing you could look at maybe is nfs mount the portage tree, then they'll all share the same tree.

Maybe you could rsync across the tree...

I've never tried doing an emerge sync with no portage tree in place.

I have tried tar-balling an existing portage tree....yuk way too many files T.T

I've actually done exactly what you mentioned there but in python, I just stored a copy of the portage-snapshot and then update the portage wif a local mirror
_________________
Ronald McDonald -> The necessary Evil.
Back to top
View user's profile Send private message
pdr
l33t
l33t


Joined: 20 Mar 2004
Posts: 618

PostPosted: Wed Feb 07, 2007 12:45 pm    Post subject: Reply with quote

I tried during an install to just emerge --sync instead of putting in a snapshot first - and it does not work.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum