LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Emerge (https://www.linuxquestions.org/questions/linux-newbie-8/emerge-155058/)

Unbleest 03-08-2004 01:26 PM

Emerge
 
Hi
Trying to install the gentoo foillowing the document:
gentoo org handbook

now im stuck by emerging the kernel cause the command emerge cant be found .....
but under whereis emerge it tells me: /usr/bin/emerge
how can i bind the emerge function so i dont need to type always /usr/bin/emerge
[edit]ok even with /usr/bin/emerge i cant install kernel

Thx 4 support

tcaptain 03-08-2004 02:28 PM

did you chroot properly?

It would help if you tell us what error message you get?
"I can't install kernel" doesn't give much detail.

Post the errors and hopefully we can get you back on track :D

Crashed_Again 03-08-2004 03:20 PM

Well emerge ing the kernel should come after you emerge sync. Were you able to do that? I suspect that tcaptain is right in saying that you probably didn't chroot correctly.

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

then try:

emerge sync

Unbleest 03-08-2004 04:08 PM

hmm ok thx for help ill try the whole install again

seems as i have forgotten to chroot must have jumped one step in installation :(


seems as im to stupid for linux use .....
but exact error: bash: emerge: command not found
is explained in the post ....

tcaptain 03-08-2004 07:53 PM

There you go...

If you forget the chroot, that means that root is still the actual livecd...so even if you manage to run emerge, it won't work because it'll try to write to /usr/ on the CD rather than on your hard drive.

Good luck. I have just installed Gentoo myself this weekend and I am finding it awesome!

Unbleest 03-10-2004 04:32 PM

Hmm ...
 
im still stuck but now im stuck when i try to chroot
when i try
chroot -t proc proc /mnt/gentoo/proc
it tells me : Chroot: cannot change root directory to -t : No such file or directory
i tried in cdimage gentoo an cdimage root

-T doesnt work (Capital)
and without the t it alos doesnt work

cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
this did then again work seemed so ...

and the
chroot /mnt/gentoo /bin/bash
it tells me : Illegal Instuction

Here is now all i have done until now:
Configuration Network -> Ping works so i gues it works!
Fdisk with the boot swap and root hda
Applying a Filesystem to a Partition
I activated Swap
Creating the /mnt/gentoo/proc mountpoint

Mounting proc
mount -t proc none /mnt/gentoo/proc

Mounting the CD-ROM
cd /mnt/gentoo
tar -xvjpf /mnt/cdrom/stages/stage3 .........tar.bz2

tar -xvjf /mnt/cdrom/snapshots/portage.........tar.bz2 -C /mnt/gentoo/usr

mkdir /mnt/gentoo/usr/portage/distfiles
cp /mnt/cdrom/distfiles/* /mnt/gentoo/usr/portage/distfiles/

nano -w /mnt/gentoo/etc/make.conf :petium 4 and the rest i didnt optimise
and then im stuck again

is it so difficult or dont i see a small piece that i have forgotten??

or has it somethings to do with the root im in? cdimage gentoo an cdimage root ???

Unbleest 03-11-2004 01:48 PM

ok fouind the problem my self so for the guys after me ... :)
my problem was is had a
stage1....tar.bz2
stage2....tar.bz2
stage3....tar.bz2
stage 1 was an i686
stage2 and 3 an athlon-xp
i thought i would have to install stage 3 cause im installing from live cd ....
but it was stage 1 cause im havin a pentium :) ...


All times are GMT -5. The time now is 04:39 AM.