Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
请问一下无网络stage1安装需要做哪些?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
rotchen
n00b
n00b


Joined: 17 Apr 2005
Posts: 6

PostPosted: Thu Apr 28, 2005 6:33 am    Post subject: 请问一下无网络stage1安装需要做哪些? Reply with quote

看了手册,实在看不明白……
是不是把packageCD中的全部东东CP到/mnt/gentoo/usr/portage/distfiles/里面?
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Thu Apr 28, 2005 10:01 am    Post subject: Reply with quote

:)
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
rotchen
n00b
n00b


Joined: 17 Apr 2005
Posts: 6

PostPosted: Thu Apr 28, 2005 2:36 pm    Post subject: Reply with quote

packageCD里面是很多子目录,distfiles里面全是压缩文件,是CP子目录,还是把每个子目录下的文件分别CP?
Back to top
View user's profile Send private message
EricHsu
Bodhisattva
Bodhisattva


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Fri Apr 29, 2005 1:45 am    Post subject: Reply with quote

噢, 记起来了, 没有网络, 只有 packageCD 的情况下, 只能进行 stage3 安装.
stage1 和 stage2 都是需要网络的: stage1 在系统自举 (bootstrap) 时需要下载源码包; stage2 的 emerge system 时需要下载源码包.
而 packageCD 是预编译好的二进制包, 你可以直接把 packageCD 挂载到 /usr/portage/packages 下面或是 *按原目录结构* 将 packageCD 的内容拷贝到 /usr/portage/packages 下面. 然后通过 emerge -K [软件包名] 来进行 stage3 的安装.

如果你想进行 stage1 的安装, 又没有网络, 我觉得应该先把 gentoo 镜像网站上的 distfiles 目录下 (如: ftp://linux.ntcu.net/dists/gentoo/distfiles ) 的所有源代码包 (当然, 你可以选择需要的 - 但问题是你不知道确切都需要哪些包, hh) 同步到本地的 /usr/portage/distfiles 里... 这里面的东西可就多了 - 整个 portage 里有的软件的源码包都在这下面...

所以, 有两个选择:

  1. 使用 packageCD 进行 stage3 的安装
  2. 连上网络, 进行 stage1 的安装


:)
_________________
- http://nkbit.com
- http://twitter.com/xuyihua
Back to top
View user's profile Send private message
blackwhite
Apprentice
Apprentice


Joined: 24 Jun 2004
Posts: 250

PostPosted: Fri May 06, 2005 4:10 pm    Post subject: Reply with quote

如果你想stage1安装,并且没有网络的话。这样是可以的。
下载那个universal CD。安装过程中,按照手册的做,报portage和distfiles copy到硬盘的安装目录下。如果安装过程的步骤中的emerge sync,你千万不要emerge sync。否则你会需要网络环境的。
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Mon May 09, 2005 4:04 am    Post subject: Reply with quote

搜索论坛,
stage1 on stage3 install.
现装stage3, 然后再装stage1.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) 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