View previous topic :: View next topic |
Author |
Message |
Zyos n00b
Joined: 17 Dec 2004 Posts: 65
|
Posted: Fri Dec 24, 2004 3:54 am Post subject: Installing the kernal |
|
|
Whenever I try to install the kernal I use this command...
Code: | emerge gentoo-dev-sources |
The handbook says that kernal is on the universal disc. But it trys to install the kernal from the internet. There is no way I can get internet on that computer. Can soemone please help me out? |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Fri Dec 24, 2004 4:13 am Post subject: |
|
|
You must copy the sources it needs from the livecd's distfiles directory into /usr/portage/distfiles
Then when you emerge everything will be fine. |
|
Back to top |
|
|
kimchi_sg Advocate
Joined: 26 Nov 2004 Posts: 2969
|
Posted: Fri Dec 24, 2004 8:05 am Post subject: |
|
|
And the spelling is KERNEL not kernal
Sorry about being picky, but I'd start screaming if I saw that mistake ever again. |
|
Back to top |
|
|
jedsen Apprentice
Joined: 15 Oct 2004 Posts: 276 Location: Sacramento, California, USA
|
Posted: Fri Dec 24, 2004 11:04 pm Post subject: |
|
|
Try copying the kernel sources off the CD:
cp /mnt/cdrom/usr/portage/distfiles/gentoo-dev-sources-* /usr/portage/distfiles/
then emerge it. |
|
Back to top |
|
|
molly_morrison n00b
Joined: 24 Dec 2004 Posts: 9 Location: NJ or CA
|
Posted: Sat Dec 25, 2004 3:21 am Post subject: |
|
|
I'm having essentially the same problem. However, it is complicated by the fact that, as far as I can tell, after I chrooted my cd-rom is no longer mounted. I tried following the instructions in the installation instructions, which were:
Quote: | Code Listing 8: Mounting the CD-ROM
# ls /mnt/cdrom/stages
ls: /mnt/cdrom/stages: No such file or directory
# mount /dev/cdroms/cdrom0 /mnt/cdrom
# ls /mnt/cdrom/stages
|
When I tried this, however, it said:
Quote: | mount: special device /dev/cdroms/cdrom0 does not exist |
How can I remount the cdrom so that I can copy the kernel sources off the CD so that I can emerge the kernel without internet?
Thanks so much for any help! |
|
Back to top |
|
|
Zuti Tux's lil' helper
Joined: 09 Jul 2003 Posts: 123 Location: The Netherlands
|
Posted: Sat Dec 25, 2004 5:21 am Post subject: |
|
|
You should copy distfiles BEFORE chrooting.
Make distfiles folder if you didnt already:
Code: |
# mkdir /mnt/gentoo/usr/portage/distfiles
|
Copy distfiles from gentoo live CD:
Code: |
# cp /mnt/cdrom/distfiles/* /mnt/gentoo/usr/portage/distfiles/
|
Then chroot
Code: |
# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile
|
Emerge kernel. 2.4 kernel == gentoo-sources ; 2.6 kernel == gentoo-dev-sources ;
Code: |
# emerge gentoo-sources
# cd /usr/src/linux
# make menuconfig
# make dep && make bzImage modules modules_install
(read the gentoo handbook for more on kernel compiling)
|
Good luck |
|
Back to top |
|
|
|