Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge Command not found.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Draperies
n00b
n00b


Joined: 12 Jun 2002
Posts: 7

PostPosted: Tue Jan 07, 2003 11:27 pm    Post subject: Emerge Command not found. Reply with quote

After installing Gentoo I rebooted to actually start using Gentoo. However after rebooting I couldn't get Gentoo to work (I had forgotten to move bzImage into the boot directory). I loaded off the CD again and tried to move bzImage, however it wasn't there. Then I tried to emerge the kernel again and start over again. But when I try to emerge any thing I get the error:

Bash: Emerge: Command not found.

I followed the instructions in another thread whcih said to do go and follow the instructions here: https://forums.gentoo.org/faq.php#6 . However the /usr/portage/sys-apps/portage/files/ directory is not there. In fact it only goes as far as /usr/portage/ . If anyone could tell me how to get portage working again it'd be great. I'm not exactly sure what I did to screw everything up, as I am very new to Gentoo and Linux for that matter.
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Wed Jan 08, 2003 7:44 pm    Post subject: Reply with quote

Assuming you didn't format your partitions again the following procedure should work. When you boot off of the Live CD you should be able to create the /mnt/gentoo directory just as you did during the install.
Code:
mkdir /mnt/gentoo
You then
Code:
mount /dev/hda3 /mnt/gentoo
or what ever you set up as your / partition. From there
Code:
mount /dev/hda1 /mnt/gentoo/boot
You should now be able to say
Code:
cp /mnt/gentoo/usr/src/linux/arch/i386/boot/bzImage /mnt/gentoo/boot/bzImage


If you setup grub and fstab and other things during the install then unmount both partitions and then reboot.

Chris
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Wed Jan 08, 2003 8:01 pm    Post subject: Re: Emerge Command not found. Reply with quote

Draperies wrote:

Bash: Emerge: Command not found.


Emerge ? is this just a typo?
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
itsr0y
Tux's lil' helper
Tux's lil' helper


Joined: 22 Dec 2002
Posts: 81

PostPosted: Wed Jan 08, 2003 9:46 pm    Post subject: Reply with quote

it's emerge not Emerge (case sensitive)
Back to top
View user's profile Send private message
Draperies
n00b
n00b


Joined: 12 Jun 2002
Posts: 7

PostPosted: Fri Jan 10, 2003 12:52 am    Post subject: Reply with quote

itsr0y and Bloody Bastard I did mean
Code:
bash: emerge: command not found.
It was just a typo, sorry for the confusion.

ctford0 I followed your directions and the firs three steps did work. However when I type the last step I get the following:

Code:
cp: cannot stat '/mnt/gentoo/usr/src/linux/arch/i386/boot/bzImage': No such file or directory


Thank you anyway though.
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Fri Jan 10, 2003 1:18 am    Post subject: Reply with quote

you can chroot in that partition and then compile a kernel

Code:

chroot /mnt/gentoo /bin/bash
cd /usr/src/linux
make......

_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
Draperies
n00b
n00b


Joined: 12 Jun 2002
Posts: 7

PostPosted: Fri Jan 10, 2003 1:29 am    Post subject: Reply with quote

Code:
chroot: cannot change root directory to /mnt/gentoo: No such file or directory

Is there any way I can just restart my installation from scratch?
Back to top
View user's profile Send private message
pilla
Bodhisattva
Bodhisattva


Joined: 07 Aug 2002
Posts: 7729
Location: Underworld

PostPosted: Fri Jan 10, 2003 2:38 am    Post subject: Reply with quote

Draperies wrote:
Code:
chroot: cannot change root directory to /mnt/gentoo: No such file or directory

Is there any way I can just restart my installation from scratch?


Of course you can, just boot the Gentoo CD and start from step 1. But have you made a mountpoint /mnt/gentoo and then mounted the gentoo partition on it?
_________________
"I'm just very selective about the reality I choose to accept." -- Calvin
Back to top
View user's profile Send private message
Draperies
n00b
n00b


Joined: 12 Jun 2002
Posts: 7

PostPosted: Fri Jan 10, 2003 3:06 am    Post subject: Reply with quote

I have made a mountpoint and mounted the gentoo partition on it. I will just restart my installation from scratch. Thank you for the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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