Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Building Gentoo Using a USB Hard Drive Repo
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
SoonerMagicEE
n00b
n00b


Joined: 21 May 2014
Posts: 1
Location: United States

PostPosted: Thu May 22, 2014 12:01 am    Post subject: Building Gentoo Using a USB Hard Drive Repo Reply with quote

Forgive me if this is easily found on the internet. I'm usually pretty good with searches and I've come up empty on this.

Here's what we're doing: building Hardened Gentoo using the Gentoo Minimal live DVD and a repo mirror stored on a USB hard drive connected to a Debian server on a local network. This works fine. I've probably built the same custom "build" well over 100 times using this setup now.

Here's what we want to do: get rid of the local network and the Debian machine and build directly from the USB hard drive. I'm having trouble getting emerge --sync to work....seems it demands a networked mirror.

I know many will say "just use the networked mirror". I understand that's normally the way to go. We have reasons for needing to remove the local network from the equation. Also, internet is out of the question entirely. Any ideas?

Thanks in advance for any help!
Back to top
View user's profile Send private message
eccerr0r
Advocate
Advocate


Joined: 01 Jul 2004
Posts: 3825
Location: USA

PostPosted: Thu May 22, 2014 12:47 am    Post subject: Reply with quote

Don't bother with emerge --sync, you could just manually copy (or rsync) the whole thing to /usr/portage or set PORTDIR=/wherever/your/portage/tree/is in your make.conf.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed to be advocating?
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1677

PostPosted: Thu May 22, 2014 3:13 pm    Post subject: Reply with quote

Generally in such circumstances I just edit the FETCHCOMMAND in /etc/portage/make.conf to do straight
(local) copy rather than wget: is that what you need to do?

Will
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 31720
Location: 56N 3W

PostPosted: Thu May 22, 2014 5:49 pm    Post subject: Reply with quote

SoonerMagicEE,

Depending on what is on the USB drive and its filesystem, you may be able to mount it at /usr/portage.
Thats /mnt/gentoo/usr/portage if you need it inside the chroot
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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