LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-24-2004, 12:15 PM   #1
CelticWhisper
LQ Newbie
 
Registered: May 2004
Distribution: Ubuntu 7.10 i386
Posts: 22

Rep: Reputation: 0
Gentoo Stage 1 install w/o 'net connection?


Okay, so I'm reading on the Gentoo howto pages about how a stage 1 install can only be performed with a live internet connection.

This is good for me, since I have DSL and most of the connection to myself.

However, in the event that I'm ever caught without internet access, I'm wondering, is it possible to do some kind of pre-emptive install, write files to CD or something, to use later on? Sort of like how you can build a custom Win2k/XP CD with included patches with the slipstreaming function? I'm thinking, install once with an internet connection, then create install CDs from the downloaded files (save them to a cache or something).

Can this be done, in case I'm doing a consulting job for someone or something like that, where I have no live internet connectivity? A Stage 3 is fine and all, but I hear tell it doesn't match the speed of a stage 1.

So...anyone have any experience with this sort of thing? Am I onto something here, or do you absolutely HAVE to have an internet connection to do a stage 1 build?

Thanks much, everyone.
 
Old 11-24-2004, 02:55 PM   #2
steve_d555
Member
 
Registered: Apr 2004
Location: Massachusetts
Distribution: Debian, Slack 10, Gentoo!
Posts: 87

Rep: Reputation: 15
I dont think you can build a custom CD, but if youve read far enough after chroot'ing you are writing onto your hard drive so, if you dont have internet then you can come back later and try to start it again. Or for emerge system you can do emerge --fetch-only system so that it download severything before starting to compile.
Maybe take you hard drive home, where there is internet, then bringing it back?

Steve
 
Old 11-25-2004, 11:47 AM   #3
CelticWhisper
LQ Newbie
 
Registered: May 2004
Distribution: Ubuntu 7.10 i386
Posts: 22

Original Poster
Rep: Reputation: 0
Okay, that's fine. And I do have Internet access readily available, it was just kind of a "what if" thing. Thought it'd be a nifty project to compile custom install CDs with all the packages and such available so I can just do a disc-swapping install.

Thanks a bunch.
 
Old 11-26-2004, 12:54 AM   #4
bornhj
Member
 
Registered: Sep 2004
Location: Canberra, Australia
Distribution: Fedora Core 3, Ubuntu Hoary, Slack 10.1
Posts: 120

Rep: Reputation: 15
I have in my hands right now a Gentoo 2004.2 DVD which enables a stage 1 fully offline install - the only stuff I had to download was about 4MB of missing for KDE. I installed it without a hitch last weekend. In fact, it's come in very handy - I just installed FC3, and it wouldn't boot, so I used the bootloader on the Gentoo partition, and now all is good!
 
Old 11-26-2004, 01:42 AM   #5
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
yes you can install without Internet, but in that case i would suggest something else, gentoo's portage system is only good if you use the Internet

ok heres what you need to do: download the packages and patch's and add them to the iso image ... you can get the software thru portage "emerge -f system" the "-f" says fetch only, then /usr/portage/distfiles will have the software there
 
Old 11-26-2004, 09:56 AM   #6
CelticWhisper
LQ Newbie
 
Registered: May 2004
Distribution: Ubuntu 7.10 i386
Posts: 22

Original Poster
Rep: Reputation: 0
Awesome. Is there any special step I have to take to add the files to the install CD, or to install from the package archive? Also, can the CDs be created properly under Windoze with something like Nero?

Thanks again for the input.

Edit: I should clarify: how exactly do the files go into the ISO image? Is there a particular directory and/or directory structure they need to be added to, or just create a directory called Portage, or...?

Pardon my extreme n00bishness, but SuSE and Red Hat are, so far, the extent of my experience, both of which have those wonderful idiot-friendly installers.

Last edited by CelticWhisper; 11-26-2004 at 09:58 AM.
 
Old 11-26-2004, 12:09 PM   #7
steve_d555
Member
 
Registered: Apr 2004
Location: Massachusetts
Distribution: Debian, Slack 10, Gentoo!
Posts: 87

Rep: Reputation: 15
No, I dont think there is a certain way you have to put them on the CD, but remember to put the files in /usr/portage/distfiles after you get them off the CD, or Portage will start to download. Also try emerge -pv system to see if you do need to download anything if you don't, the files will showup as 0k

--Steve
 
Old 11-26-2004, 01:24 PM   #8
CelticWhisper
LQ Newbie
 
Registered: May 2004
Distribution: Ubuntu 7.10 i386
Posts: 22

Original Poster
Rep: Reputation: 0
Excellent.

I am forever grateful, sir, thou art a gentleman and a scholar.

Now all I need is a bit of spare time to try this sucker.

Thanks a million.
 
Old 11-26-2004, 01:50 PM   #9
steve_d555
Member
 
Registered: Apr 2004
Location: Massachusetts
Distribution: Debian, Slack 10, Gentoo!
Posts: 87

Rep: Reputation: 15
LoL
/me Bows

You are very welcome.
Hope you get it working.

--Steve
 
Old 11-27-2004, 12:34 PM   #10
CelticWhisper
LQ Newbie
 
Registered: May 2004
Distribution: Ubuntu 7.10 i386
Posts: 22

Original Poster
Rep: Reputation: 0
One last question. I have on here a file (unzipped to a folder) called stage1-amd64-2004.2, containing /bin, /usr, /sbin, /opt, etc. etc. etc. folders. Looks very much like the root directory of a Linux install. I had forgotten that I'd downloaded this from the Gentoo site-is this what I'd need for an offline stage 1 install? The cached files you mentioned earlier? Or is this something else?

Thanks!
 
Old 11-27-2004, 02:05 PM   #11
steve_d555
Member
 
Registered: Apr 2004
Location: Massachusetts
Distribution: Debian, Slack 10, Gentoo!
Posts: 87

Rep: Reputation: 15
Yes, this is the very basics of the Gentoo in stallation with Portage and a couple other things. You will definetly need this. I think now there is a 2004.3 so if you would like to upgrade g owith that, and remember before doing emerge system do emerge sync as it will get the latest files.

--Steve
 
Old 11-27-2004, 11:54 PM   #12
steve_d555
Member
 
Registered: Apr 2004
Location: Massachusetts
Distribution: Debian, Slack 10, Gentoo!
Posts: 87

Rep: Reputation: 15
Also, I was browsing the Gentoo site and found out that there is now a 2004.3 DVD, so maybe you should look into that instead of trying to make your own.

--Steve
 
Old 12-07-2004, 10:51 PM   #13
CelticWhisper
LQ Newbie
 
Registered: May 2004
Distribution: Ubuntu 7.10 i386
Posts: 22

Original Poster
Rep: Reputation: 0
One more question-the system I'm using only has one CD-ROM drive. How do I get the files from the packages CD onto the hard disk if I'm booted from the install CD?
 
Old 12-08-2004, 03:11 PM   #14
steve_d555
Member
 
Registered: Apr 2004
Location: Massachusetts
Distribution: Debian, Slack 10, Gentoo!
Posts: 87

Rep: Reputation: 15
You would first have to install the whole system, than boot into it after you're done compiling everything and installed GRUB then follow the Gentoo Documentation for installing from GRP.

--Steve
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gentoo stage 1 install prob csplinter Linux - Distributions 1 07-25-2005 10:37 PM
Half of my applications are broken. I am using Gentoo stage 1 on 3 nptl (stage 1.5) dragonslay Linux - Games 3 04-01-2005 05:23 PM
Gentoo Stage 1 install No Net question ChronusDark Linux - General 7 03-06-2005 05:57 PM
Need some help, about to attempt a Stage 2 Gentoo Install Jengo Linux - Newbie 3 09-04-2004 03:34 PM
Gentoo Install...What Stage Do You Use? Crashed_Again Linux - Distributions 5 05-21-2003 10:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration