View previous topic :: View next topic |
Author |
Message |
Draperies n00b
Joined: 12 Jun 2002 Posts: 7
|
Posted: Tue Jan 07, 2003 11:27 pm Post subject: Emerge Command not found. |
|
|
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 |
|
|
ctford0 l33t
Joined: 25 Oct 2002 Posts: 774 Location: Lexington, KY,USA
|
Posted: Wed Jan 08, 2003 7:44 pm Post subject: |
|
|
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. 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 |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Wed Jan 08, 2003 8:01 pm Post subject: Re: Emerge Command not found. |
|
|
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 |
|
|
itsr0y Tux's lil' helper
Joined: 22 Dec 2002 Posts: 81
|
Posted: Wed Jan 08, 2003 9:46 pm Post subject: |
|
|
it's emerge not Emerge (case sensitive) |
|
Back to top |
|
|
Draperies n00b
Joined: 12 Jun 2002 Posts: 7
|
Posted: Fri Jan 10, 2003 12:52 am Post subject: |
|
|
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 |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Fri Jan 10, 2003 1:18 am Post subject: |
|
|
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 |
|
|
Draperies n00b
Joined: 12 Jun 2002 Posts: 7
|
Posted: Fri Jan 10, 2003 1:29 am Post subject: |
|
|
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 |
|
|
pilla Bodhisattva
Joined: 07 Aug 2002 Posts: 7729 Location: Underworld
|
Posted: Fri Jan 10, 2003 2:38 am Post subject: |
|
|
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 |
|
|
Draperies n00b
Joined: 12 Jun 2002 Posts: 7
|
Posted: Fri Jan 10, 2003 3:06 am Post subject: |
|
|
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 |
|
|
|