Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing gentoo without network .
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
Gentobobbyuk
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2020
Posts: 142

PostPosted: Sat Jun 13, 2020 11:53 am    Post subject: Installing gentoo without network . Reply with quote

HI guys and gals ,

Cant belive how much fun im having moving all my servers back over to gentoo.

Im currently in the office and we have no net connection where its being replaced .

I have 3 more servers to build and i think im done .

Trying to setup Gentoo on the last 3 machines well i have some spare time.

I have portage and the stage 3 on my usb drive which i am able to to extract.

Is there away to grab the kernel sources et2fsprogs dosftstools mlocate sysklogd cronie dhcpcd gentoolkit pcitutils xfsprogs grub2 and a couple off others .
Does the live cd contain all of theese before i head home to burn an iso.

Are u able to networkless install this way at all .

And for future purposes instead of me having tio update each machine to grab packages am i able to have say an in house server so all my machines grab packages from my update server ? instead constantly using gentoo bandwith ?

Thanks for all the suppourt and help this comunity has given me.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Jun 13, 2020 12:03 pm    Post subject: Reply with quote

Gentobobbyuk,

Its quite possible to maintain an air gapped Gentoo install using sneakernet.
The method there is correct but the detail is not. Gentoo has changed over the last 14 years,.

It would be a useful addition to the wiki, if you have the time :)

You can have your own RSYNC server, so one machine updates the ::gentoo repo for the entire LAN.
Its possible to cache distfiles, so that the first system that requests the sources loads it into your cache. The second and subsequent requests are served from the cache.

The ::gentoo repo and distfiles can also be shared over a trusted LAN using NFS.

Lastly you can have a BINHOST, so that you build packages once and install the binaries on other systems.

They are all separate topics. Deal with one at a time.
_________________
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
Gentobobbyuk
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2020
Posts: 142

PostPosted: Sat Jun 13, 2020 1:35 pm    Post subject: Reply with quote

Oh needy haha that seems complicated.

I am happy to add anything to the wiki once i have figured it all out .

Im making lots of video and documentations .

So i have everything stored and understood.

SO im guessing my own rysync will actuall host the packages ?

maybe i should start with this ?

Im unsure with some of the words you have used but let me do some research.

and il come back to u im guessing il point my portage syncs from clients to this server machine instead of UK mirror or such

How does it work actually containing all the files like gentoo-sources and such this is where im confused .

HOw to do i actually get all the files on my server for this to happen or am i missing something
Back to top
View user's profile Send private message
Gentobobbyuk
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2020
Posts: 142

PostPosted: Sat Jun 13, 2020 1:45 pm    Post subject: Reply with quote

Or are you trying to tell me that one live machine pulls the packages in then redistributors them to the network.

Thast very helpful but im just looking for networkless build .

so i gues i need to try this sneakernet .

So can i emerge a package without installing it and move it to my usb and place in the right folder and re emerge .
Back to top
View user's profile Send private message
Gentobobbyuk
Tux's lil' helper
Tux's lil' helper


Joined: 23 May 2020
Posts: 142

PostPosted: Sat Jun 13, 2020 1:55 pm    Post subject: Reply with quote

Gentobobbyuk wrote:
Or are you trying to tell me that one live machine pulls the packages in then redistributors them to the network.

Thast very helpful but im just looking for networkless build .

so i gues i need to try this sneakernet .

So can i emerge a package without installing it and move it to my usb and place in the right folder and re emerge .


edit im quite impressed following ur guide i had already chroot and downloaded and portage snapshot previously extracted to /usr last night but then hit the wall

the part im confused with is how i now get the actuall files i need to build the kernel e2tfsprogs grub so on .


ive tried to look online to get snapshots or ebuilds but i cant find them and really i still want to compile from source not an pre built/

Also inside the snapshot folders there is stage 3 portage and gentoo what is the gentoo snapshots on all the servers not quite sure what that snapshot is for .

Im sorry im such a pain i just want things to be easier and once i understand i can document in laymans terms for people like myself.

I appreciate ur documentation but it doesnt explain to me so much.
sometimes i need things explaining in a easier way
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sat Jun 13, 2020 4:06 pm    Post subject: Reply with quote

Gentobobbyuk,

Getting the files is a three step process.
Get a list of files, get the files onto some portable media, move the files using sneakernet.

1, Find out which files you need.
Code:
emerge -pf <list of packages>
will tell you that.
It will give the full URL to each file on every mirror you have listed in GENTOO_MIRRORS=
You need every file (not every URL) exactly once.

2. Now you have your list of files, fetch them to a USB stick, or some other portable media.
If you have other Gentoo installs, you may already have then it DISTFILES.

3. Now the sneakernet part.
Move the files you put onto the portable media to the DISTFILES on the host that needs them.
Be sure that portage has read access.

With the distfiles in place and accessible to portage, the packages can be emerged in the normal way.
_________________
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 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