View previous topic :: View next topic |
Author |
Message |
hadzo n00b
Joined: 10 Jun 2013 Posts: 4
|
Posted: Mon Jun 10, 2013 1:37 pm Post subject: automatic download of stage3 |
|
|
Hi,
Is there a script or a way to do an automatic download of stage3 file? I am new to gentoo and could not find anything on google. |
|
Back to top |
|
|
gerard27 Advocate
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Mon Jun 10, 2013 2:02 pm Post subject: |
|
|
I get the impression you didn't read the Handbook.
http://www.gentoo.org/doc/en/handbook/
Gentoo installation is quite different from binary Linux distro's or Windows.
Gerard. _________________ To install Gentoo I use sysrescuecd.Based on Gentoo,has firefox to browse Gentoo docs and mc to browse (and edit) files.
The same disk can be used for 32 and 64 bit installs.
You can follow the Handbook verbatim.
http://www.sysresccd.org/Download |
|
Back to top |
|
|
hadzo n00b
Joined: 10 Jun 2013 Posts: 4
|
Posted: Mon Jun 10, 2013 3:37 pm Post subject: |
|
|
gerard82 wrote: | I get the impression you didn't read the Handbook.
http://www.gentoo.org/doc/en/handbook/
Gentoo installation is quite different from binary Linux distro's or Windows.
Gerard. |
I did and I installed it. I have no problem with that. I just need a script that will download stage and portage files. I asked for a way to automate those two steps only. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Mon Jun 10, 2013 3:51 pm Post subject: |
|
|
What's so difficult about this that it needs scripting? Frankly, it almost seems like asking for a script to list the contents of the current directory.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
hadzo n00b
Joined: 10 Jun 2013 Posts: 4
|
Posted: Mon Jun 10, 2013 3:52 pm Post subject: |
|
|
John R. Graham wrote: | What's so difficult about this that it needs scripting? Frankly, it almost seems like asking for a script to list the contents of the current directory.
- John |
I so regret asking this question. |
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10589 Location: Somewhere over Atlanta, Georgia
|
Posted: Mon Jun 10, 2013 4:12 pm Post subject: |
|
|
I apologize; I didn't mean to be rude. If you can convince me you need this, I'll write it for you.
- John _________________ I can confirm that I have received between 0 and 499 National Security Letters. |
|
Back to top |
|
|
hadzo n00b
Joined: 10 Jun 2013 Posts: 4
|
Posted: Mon Jun 10, 2013 4:25 pm Post subject: |
|
|
John R. Graham wrote: | I apologize; I didn't mean to be rude. If you can convince me you need this, I'll write it for you.
- John |
Thanks, no need for the hassle, was wondering if there such approach to installation, something already on the livecd. I am quite new to Gentoo and I am still thinking the Debian way.....habits die hard. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Tue Jun 11, 2013 4:25 am Post subject: |
|
|
there are a few problems with this.... 1st mirrors, you need to select a local mirror, and not punish 1 remote mirror in china for everyone else using your world wide script. 2nd it depends on the arch your installing on, x86 is not amd64 is not arm, that is to say not 1 size fits all. even if you did get this, you still have to unwrap and compile your own kernel. |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
Posted: Tue Jun 11, 2013 5:01 am Post subject: |
|
|
rudiments: _________________ Defund the FCC. |
|
Back to top |
|
|
cwr Veteran
Joined: 17 Dec 2005 Posts: 1969
|
Posted: Tue Jun 11, 2013 8:57 am Post subject: |
|
|
Hmmm, you know the default mirrors are in /etc/portage/make.conf?
(Local mirrors are in /etc/portage/mirrors)
Will |
|
Back to top |
|
|
nonnogs n00b
Joined: 16 May 2011 Posts: 16 Location: FERRARA
|
Posted: Sun Mar 30, 2014 8:09 pm Post subject: wget ftp://distfiles.gentoo.org/releases/amd64/autobuilds/cu |
|
|
Non riesco ad installare lo stage3.Trascrivo di seguito ciò che si legge su terminale e la mia domanda è la seguente : dove sbaglio?
Gentoo-20121221 gentoo # wget ftp://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3/stage3-amd64-*.tar.bz2
--2014-03-30 19:52:10-- ftp://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3/stage3-amd64-*.tar.bz2
=> ‘.listing’
Resolving distfiles.gentoo.org... 140.211.166.134, 64.50.233.100, 216.165.129.135, ...
Connecting to distfiles.gentoo.org|140.211.166.134|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD (1) /releases/amd64/autobuilds/current-stage3 ...
No such directory ‘releases/amd64/autobuilds/current-stage3’.
Grazie. _________________ mi piace gentoo e sabayon |
|
Back to top |
|
|
DONAHUE Watchman
Joined: 09 Dec 2006 Posts: 7651 Location: Goose Creek SC
|
|
Back to top |
|
|
nonnogs n00b
Joined: 16 May 2011 Posts: 16 Location: FERRARA
|
|
Back to top |
|
|
hellspawnV01 n00b
Joined: 06 Apr 2014 Posts: 9
|
Posted: Sun Apr 06, 2014 11:51 am Post subject: |
|
|
Not to be rude... If it can be typed it can be scripted.
nano (or favorite text editor) blahblah
// do stuff;
// do more stuff;
~#: sh blahblah
This is the case for all forms of linux that I know of. At least those running bash.
I agree with John here... Not to mention as the other users state, variation happens too much for a simple script by any means. Servers go up down and all around.
The only way I would use a script in this case is if I had dozens of machines with the same hardware and I needed to set them all up as quickly as possible (disk cloning works better. but I'll humor this).
(!!! PSEUDO-CODE !!!)
wget "source-stuff-location-and-destination"; // Download files, place into selected destination
sleep; // give time for download to complete!
tar xjf source.tar.bz2; // decompress |
|
Back to top |
|
|
|