Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can I install gentoo without network?[SOLVED]
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
knighterrant
n00b
n00b


Joined: 23 Mar 2004
Posts: 49
Location: Changsha City, China

PostPosted: Mon Jul 18, 2005 9:50 am    Post subject: Can I install gentoo without network?[SOLVED] Reply with quote

My machine can not access internet, can I install gentoo without network?

I have downloaded install-universal livecd ISO image, I use this CD to boot gentoo, and copy stage3, portage, and distfiles onto my harddisk. But when I step into "make kernel", the kernel source must be downloaded from network!
Code:
# emerge gentoo-source


Could I download kernel sources(or other application sources) at first, and copy them onto my harddisk to install?
How can I do?


Last edited by knighterrant on Wed Jul 20, 2005 5:04 am; edited 1 time in total
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Mon Jul 18, 2005 10:04 am    Post subject: Reply with quote

gentoo-sources are on the second CD (package cd) in All/ directory. You can install them with:
Code:
emerge -K gentoo-sources
Back to top
View user's profile Send private message
knighterrant
n00b
n00b


Joined: 23 Mar 2004
Posts: 49
Location: Changsha City, China

PostPosted: Tue Jul 19, 2005 8:15 am    Post subject: Reply with quote

zieloo wrote:
gentoo-sources are on the second CD (package cd) in All/ directory. You can install them with:
Code:
emerge -K gentoo-sources


I have copied packages from the second CD to my distfiles directory:
Code:
# cp -p /mnt/cdrom/All/* /usr/portage/distfiles/
# ls /usr/portage/distfiles/gentoo-sources*
/usr/portage/distfiles/gentoo-sources-2.6.11-r3.tbz2


But when I tried to install kernel, I got error message like this:
Code:
# emerge -K gentoo-sources
Calculating dependencies
!!! There are no packages available to satisfy "gentoo-sources"
!!! Either add a suitable binary package or compile form an ebuild.


How to make emerge find packages' location?
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Tue Jul 19, 2005 8:23 am    Post subject: Reply with quote

knighterrant wrote:
zieloo wrote:
gentoo-sources are on the second CD (package cd) in All/ directory. You can install them with:
Code:
emerge -K gentoo-sources


I have copied packages from the second CD to my distfiles directory:
Code:
# cp -p /mnt/cdrom/All/* /usr/portage/distfiles/
# ls /usr/portage/distfiles/gentoo-sources*
/usr/portage/distfiles/gentoo-sources-2.6.11-r3.tbz2


But when I tried to install kernel, I got error message like this:
Code:
# emerge -K gentoo-sources
Calculating dependencies
!!! There are no packages available to satisfy "gentoo-sources"
!!! Either add a suitable binary package or compile form an ebuild.


How to make emerge find packages' location?


I'm sorry, but I gave you wrong instructions. There're no prebuilt version of kernel sources! What you need to do is just to copy sources over (cp -p /mnt/cdrom/All/* /usr/portage/distfiles/) and install them with:
Code:
emerge gentoo-sources

since the -K switch forces to use binaries.
Back to top
View user's profile Send private message
knighterrant
n00b
n00b


Joined: 23 Mar 2004
Posts: 49
Location: Changsha City, China

PostPosted: Wed Jul 20, 2005 5:01 am    Post subject: Reply with quote

Yes! It works!
Thank you very much! ^_^
Back to top
View user's profile Send private message
Wanderjahr
n00b
n00b


Joined: 21 Jul 2005
Posts: 5

PostPosted: Fri Jul 22, 2005 4:32 am    Post subject: Reply with quote

It doesn't work for me... gives me a list of failed downloads...then fails. How do I alter the path?
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