View previous topic :: View next topic |
Author |
Message |
knighterrant n00b
Joined: 23 Mar 2004 Posts: 49 Location: Changsha City, China
|
Posted: Mon Jul 18, 2005 9:50 am Post subject: Can I install gentoo without network?[SOLVED] |
|
|
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 |
|
|
zieloo Veteran
Joined: 28 Mar 2004 Posts: 1337
|
Posted: Mon Jul 18, 2005 10:04 am Post subject: |
|
|
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 |
|
|
knighterrant n00b
Joined: 23 Mar 2004 Posts: 49 Location: Changsha City, China
|
Posted: Tue Jul 19, 2005 8:15 am Post subject: |
|
|
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 |
|
|
zieloo Veteran
Joined: 28 Mar 2004 Posts: 1337
|
Posted: Tue Jul 19, 2005 8:23 am Post subject: |
|
|
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 |
|
|
knighterrant n00b
Joined: 23 Mar 2004 Posts: 49 Location: Changsha City, China
|
Posted: Wed Jul 20, 2005 5:01 am Post subject: |
|
|
Yes! It works!
Thank you very much! ^_^ |
|
Back to top |
|
|
Wanderjahr n00b
Joined: 21 Jul 2005 Posts: 5
|
Posted: Fri Jul 22, 2005 4:32 am Post subject: |
|
|
It doesn't work for me... gives me a list of failed downloads...then fails. How do I alter the path? |
|
Back to top |
|
|
|