LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2004, 01:26 PM   #1
Unbleest
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Rep: Reputation: 0
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

Last edited by Unbleest; 03-08-2004 at 01:35 PM.
 
Old 03-08-2004, 02:28 PM   #2
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
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
 
Old 03-08-2004, 03:20 PM   #3
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
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
 
Old 03-08-2004, 04:08 PM   #4
Unbleest
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Original Poster
Rep: Reputation: 0
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 ....
 
Old 03-08-2004, 07:53 PM   #5
tcaptain
LQ Addict
 
Registered: Jul 2002
Location: Montreal
Distribution: Gentoo 2004 from stage 1 baby!
Posts: 1,403

Rep: Reputation: 45
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!
 
Old 03-10-2004, 04:32 PM   #6
Unbleest
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Original Poster
Rep: Reputation: 0
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 etium 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 ???

Last edited by Unbleest; 03-10-2004 at 04:33 PM.
 
Old 03-11-2004, 01:48 PM   #7
Unbleest
LQ Newbie
 
Registered: Mar 2004
Posts: 4

Original Poster
Rep: Reputation: 0
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 ...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where can I get emerge Starch Slackware 8 07-07-2005 10:50 PM
HELP !! Can't emerge gnome !! enigmaweb Linux - Software 0 02-03-2005 12:16 AM
emerge help mdpniesta Linux - Software 0 01-25-2005 01:50 AM
emerge The_eXXe General 7 09-09-2004 11:45 PM
emerge errors during emerge -u world busbarn Linux - Distributions 6 04-23-2003 09:37 AM


All times are GMT -5. The time now is 02:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration