Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing the kernal
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
Zyos
n00b
n00b


Joined: 17 Dec 2004
Posts: 65

PostPosted: Fri Dec 24, 2004 3:54 am    Post subject: Installing the kernal Reply with quote

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
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Fri Dec 24, 2004 4:13 am    Post subject: Reply with quote

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
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Fri Dec 24, 2004 8:05 am    Post subject: Reply with quote

And the spelling is KERNEL not kernal

Sorry about being picky, but I'd start screaming if I saw that mistake ever again. :-D
Back to top
View user's profile Send private message
jedsen
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 276
Location: Sacramento, California, USA

PostPosted: Fri Dec 24, 2004 11:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
molly_morrison
n00b
n00b


Joined: 24 Dec 2004
Posts: 9
Location: NJ or CA

PostPosted: Sat Dec 25, 2004 3:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Zuti
Tux's lil' helper
Tux's lil' helper


Joined: 09 Jul 2003
Posts: 123
Location: The Netherlands

PostPosted: Sat Dec 25, 2004 5:21 am    Post subject: Reply with quote

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
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