Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
installing stage1 / stage3 from hdd (no internet)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
11010010110
n00b
n00b


Joined: 27 Sep 2005
Posts: 43

PostPosted: Sun Dec 04, 2005 11:19 am    Post subject: installing stage1 / stage3 from hdd (no internet) Reply with quote

I want to install gentoo without internet connection during the installation, in a way that normally requires internet connection (stage1 or stage3 from the internet). So I want to download everything to a hard drive before I install.

1. Where do I find a list of what I need to download (where does portage/whatever store the info what files to download, mirrors etc)?
2. How do I set portage/whatever to look in my hdd instead of internet (config files or something)?
Back to top
View user's profile Send private message
loki99
Advocate
Advocate


Joined: 10 Oct 2003
Posts: 2056
Location: Vienna, €urope

PostPosted: Sun Dec 04, 2005 11:22 am    Post subject: Reply with quote

Use this install doc for networkless installs. :wink:
Back to top
View user's profile Send private message
morodoch
Guru
Guru


Joined: 22 Sep 2005
Posts: 523
Location: England

PostPosted: Sun Dec 04, 2005 11:23 am    Post subject: *I guess I wandered a bit OT here* Reply with quote

I'm not sure about 1, but for point 2:

Quote:
2. How do I set portage/whatever to look in my hdd instead of internet (config files or something)?


If you have all of portage locally, including distfiles with any source packages you may want to install, I don't think you need internet access, or to do anything - emerge will just use what it's got.

FWIW, If you're building a clean install from another linux install, you don't need to boot to stage1 or stage3, you can extract them into a clean partition, chroot into it and emerge away. I've done this many times rather than boot from CD and worry about net config and such - it works well.

In fact, here's what I did to do an i586 build on my amd64 box (/dev/ndata is my LVM2 volume group) - assuming that the filesystem already exists on /dev/ndata/i586:

Code:
mount /dev/ndata/i586 /mnt/i586
cd /mnt/i586
<extract tarball>
mount --bind /dev /mnt/i586/dev
mount --bind /proc /mnt/i586/proc
mkdir usr/portage
mount --bind /usr/portage /mnt/i586/usr/portage
mount --bind /tmp /mnt/i586/tmp

linux32 chroot /mnt/i586 /bin/bash -l


You can then follow the install guide - if you're familiar with the installation procedure already, I recommend the quick install guide:

http://www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml

Then following from about step "Installing the Gentoo Base System"
_________________
Well, the Sister was right. You boys could use a little churching up. Slide on down to the Triple Rock, and catch Rev. Cleophus. You boys listen to what he's got to say.

-- Curtis
Back to top
View user's profile Send private message
11010010110
n00b
n00b


Joined: 27 Sep 2005
Posts: 43

PostPosted: Sun Dec 04, 2005 8:31 pm    Post subject: Reply with quote

I have no other distro (OK except knoppix that does not let me write to the hard disk)
Now I have only windows 98 on the computer, I physically change HDDs each time I try to install/study gentoo.

I can only boot from the installation CD.

and about the 2nd question: what I do to make portage look in my package HDD instead of www, i.e. what config files should I change and where I find them?
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Dec 04, 2005 8:49 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads.
https://forums.gentoo.org/viewtopic-p-1037478.html#1037478

No network -> stage 3 install, optionally using the package cd too.
How to use the package cd is described in the 2005.1 handbook too.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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