View previous topic :: View next topic |
Author |
Message |
peter_parker n00b
Joined: 17 Feb 2006 Posts: 2 Location: India
|
Posted: Fri Feb 17, 2006 9:29 am Post subject: genkernel all and klibc not found |
|
|
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 |
|
|
zsoltika l33t
Joined: 13 Nov 2003 Posts: 634 Location: Budapest, Hungary
|
Posted: Fri Feb 17, 2006 10:40 am Post subject: |
|
|
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 |
|
|
peter_parker n00b
Joined: 17 Feb 2006 Posts: 2 Location: India
|
Posted: Fri Feb 17, 2006 12:14 pm Post subject: |
|
|
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 |
|
|
Rooney Apprentice
Joined: 07 Aug 2003 Posts: 193 Location: Sheffield, UK
|
Posted: Tue Mar 21, 2006 10:42 am Post subject: |
|
|
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 |
|
|
|