Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
genkernel all and klibc not found
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
peter_parker
n00b
n00b


Joined: 17 Feb 2006
Posts: 2
Location: India

PostPosted: Fri Feb 17, 2006 9:29 am    Post subject: genkernel all and klibc not found Reply with quote

hi ,
I have been installing gentoo linux with kernel 2.6.15,
All the partition has been done as per need @ sata hard disk are used , but the first one is currently used for installation
The second is not even formatted or partitioned .

I have followed following steps
1. boot from the Gentoo CD

2. press enter --> 'livecd root #'

3. #loadkeys be-latin1 (Belgian Keyboard Layout)

4. #passwd

5. Check networkconnection :
#/sbin/ifconfig
Check DNS Server from your internetprovider
ping -c 3 www.google.be
(#nano -w /etc/resolv.conf)
when not configured automatical : net-setup eth0
manual dhcp-configuration : dhcpcd eth0

6. Set Date/time :
#date

7. Filesystem - Partitioning
# fdisk /dev/hda
When partitionlayout is made, make te filesystem :
#mke2fs -j /dev/hda1 (ext3)
#mkswap /dev/hda2 (swap)
#mke2fs -j /dev/hda3 (ext3)
#mke2fs -j /dev/hda4 (ext3)

8. Mount Partitions :
# swapon /dev/hda2
# mount /dev/hda3 /mnt/gentoo
# mkdir /mnt/gentoo/boot
# mount /dev/hda1 /mnt/gentoo/boot

9. tarballs and chroot
# ls /mnt/cdrom/stages
# cd /mnt/gentoo
# tar -xvjpf /mnt/cdrom/stages/stage3-....tar.bz2
GRP/Snapshots
# tar -xvjpf /mnt/cdrom/snapshots/portage-yyyymmdd.tar.bz2 -C /mnt/gentoo/usr
Mirror Select
# mirrorselect -a -s4 -o >> /mnt/gentoo/etc/make.conf

Configuring the Compile Options

To optimize Gentoo, you can set a couple of variables which impact Portage behaviour. All those variables can be set as environment variables (using export) but that isn't permanent. To keep your settings, Portage provides you with /etc/make.conf, a configuration file for Portage. It is this file we will edit now.

#nano -w /mnt/gentoo/etc/make.conf
2
USE="apache2 berkdb -canna -cdr -cjk -bonobo -dvd -dvdr readline imap
java qt kde ldap maildir ssl mbox mysql pam perl sasl zlib
X -arts -nas -esd -arts -gtk -gnome -alsa"

CHOST="i686-pc-linux-gnu"


10. Chroot
# mount -t proc /proc /mnt/gentoo/proc
# cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
# chroot /mnt/gentoo /bin/bash
# env -update
# source /etc/profile

11. Gentoo optimalisation
# nano -w /etc/make.conf (when problems with make.conf : cp /etc/make.conf.example /etc/make.conf)
# fill in 'cflags="..."

# locate -u

12. Timezone
# ln -sf /usr/share/zoneinfo/Europe/Brussels /etc/localtime

13./etc/fstab
# nano -w /etc/fstab

14. Install Kernel en Syslogger
# emerge -s sources | more
# emerge gentoo-dev-sources
# emerge -k genkernel
# genkernel all


==============
following are the problems faced by me

1) CANNOT emerge gentoo-dev-sources
2) # genkernel all Gives me error of "klibc tar not found ".


Please help me out , and provide me a fool proof method to install GENTOO .

with regards,
Vinit sharma
_________________
The power to achieve comes from what you dream.
Back to top
View user's profile Send private message
zsoltika
l33t
l33t


Joined: 13 Nov 2003
Posts: 634
Location: Budapest, Hungary

PostPosted: Fri Feb 17, 2006 10:40 am    Post subject: Reply with quote

There are no 'gentoo-dev-sources' package anymore - AFAIK. BTW you should have add more details of what went wrong, because it's hard to help on "CANNOT emerge somethin' if there are no details.
So try
Code:
USE="-doc symlink" emerge gentoo-sources && genkernel all

HTH
_________________
Do not believe that Guru thing under my nickname.
Back to top
View user's profile Send private message
peter_parker
n00b
n00b


Joined: 17 Feb 2006
Posts: 2
Location: India

PostPosted: Fri Feb 17, 2006 12:14 pm    Post subject: Reply with quote

i have not given any use parameters , I have also completed the kernel compilation and grub .I could see pysically and read the /boot/grub/grub.conf ,
but on reboot [After removing the live CD] the machine says " no boot device , please insert the boot disk "

I again booted with liveCD and did the mount and opened the grub.conf it looks like below [i have a sata harddisl]

emerge grub


default 0
timeout 0
title=Gentoo Linux
root (hd0,0)
kernel /kernel-genkernel-2.6.15-gentoo-r1 root=/dev/sda3


cp /proc/mounts /etc/mtab
grub-install /dev/sda


==============:( Please guide me for a better gentoo install method on sda ,
_________________
The power to achieve comes from what you dream.
Back to top
View user's profile Send private message
Rooney
Apprentice
Apprentice


Joined: 07 Aug 2003
Posts: 193
Location: Sheffield, UK

PostPosted: Tue Mar 21, 2006 10:42 am    Post subject: Reply with quote

Code:
2) # genkernel all Gives me error of "klibc tar not found ".


hi there did you managed to solve the above as i am getting the same problem
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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