Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED emerge of gentoo-sources failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
wlhaught
n00b
n00b


Joined: 30 Nov 2006
Posts: 14

PostPosted: Thu Nov 30, 2006 8:51 am    Post subject: SOLVED emerge of gentoo-sources failed Reply with quote

I was trying to follow the documentation at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml. I have trouble installing the kernel. The first time I had an issue with configuration files and not really being sure of what I was doing ran etc-update (I think) which supposedly solved trivial issues. Afterwards I looked for a file such as ._cfg0000_etc-update.conf but could only find etc-update.conf. I thought maybe it compiled already but couldn't find the new kernel (or a kernel), at least on the hard drive. Nor could I run genkernel. I rebooted (got Windows XP) and then rebooted again with the CD and made sure I had mnt/gentoo and could ping www. gentoo.org. I reran USE="-doc symlink" emerge gentoo-sources and got a lot of stuff that scrolled off the screen. At the end was:

!!! ERROR: sys-kernel/gentoo-sources-2.6.18-r3 failed.
Call stack:
ebuild.sh. line 1546: Called dyn_unpack
ebuild.sh. line 709: Called die

!!! IO Failure -- Failed 'touch .unpacked' in /var/tmp/portage/gentoo-sources-2.6.18-r3
!!! If you need support, post the topmost build error, and the call stack if relevant.

Any suggestions? Even if it is a request for more info? Thanks in advance.


EDIT: Redid installation of Gentoo.


Last edited by wlhaught on Fri Dec 01, 2006 8:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
wlhaught
n00b
n00b


Joined: 30 Nov 2006
Posts: 14

PostPosted: Thu Nov 30, 2006 8:53 am    Post subject: emerge of gentoo-sources failed PS Reply with quote

PS filesystem is ReiserJS
Back to top
View user's profile Send private message
mirojira
l33t
l33t


Joined: 18 Feb 2006
Posts: 685

PostPosted: Thu Nov 30, 2006 9:19 am    Post subject: Re: emerge of gentoo-sources failed Reply with quote

wlhaught wrote:
I rebooted (got Windows XP) and then rebooted again with the CD and made sure I had mnt/gentoo and could ping www. gentoo.org. I reran USE="-doc symlink" emerge gentoo-sources and got a lot of stuff that scrolled off the screen.


Have you chrooted into the gentoo enviroment?
Back to top
View user's profile Send private message
wlhaught
n00b
n00b


Joined: 30 Nov 2006
Posts: 14

PostPosted: Thu Nov 30, 2006 2:33 pm    Post subject: Reply with quote

I seemed to have trouble finding chroot /mnt/gentoo /bin/bash, although I'm pretty sure I did it at some point, probably not since rebooting.

When I run chroot /mnt/gentoo /bin/bash

I get:

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

I wonder (if possible) I should leave stage3-i686-2006.1.tar.bz2 and portage-latest.tar.bz2 on the disk and start over?
Back to top
View user's profile Send private message
Underdone
Apprentice
Apprentice


Joined: 22 Oct 2006
Posts: 154
Location: Albuquerque, NM

PostPosted: Thu Nov 30, 2006 5:58 pm    Post subject: Reply with quote

If you reboot and then go back to the live cd you have to remount the partitions.

Code:
mount /dev/hda3 /mnt/gentoo
mount /dev/hda1 /mnt/gentoo/boot

chroot /mnt/gentoo /bin/bash
Back to top
View user's profile Send private message
wlhaught
n00b
n00b


Joined: 30 Nov 2006
Posts: 14

PostPosted: Thu Nov 30, 2006 8:03 pm    Post subject: Reply with quote

Underdone wrote:
If you reboot and then go back to the live cd you have to remount the partitions.

Code:
 mount /dev/hda1 /mnt/gentoo/boot


Think I see the problem. You see I am hoping to set up dual booting soon. I think I don't even really have boot as a directory.

When I type ls -a /boot

I get: . .. .keep boot

and for ls -a /mnt/gentoo/boot

I get: "No such file or directory"

I guess I'll have to make hda3 bootable and later either use regular GRUB (or whatever Gentoo uses by default) and handle the issues later, assuming having a separate boot partition isn't really necessary (or for some reason a practical necessity).

Thanks everyone for the help so far.

Maybe it is easier to install Gentoo first? Windows XP Home itself is barely reinstalled.

Also, I was using cfdisk to repartition. It isn't clear to me how logical drives in extended partions are handled. The Dell Diagnostics is on a primary partition and I believe Windows NTFS needs to be on one. There is two out of four already. I hope the rest (other than possibly boot or gentoo (if boot can be in gentoo instead)) can be logical partitions (a VFAT32 partition and a swap file at least). I have Gentoo on a primary partition.
Back to top
View user's profile Send private message
madisonicus
Veteran
Veteran


Joined: 20 Sep 2006
Posts: 1130

PostPosted: Thu Nov 30, 2006 9:35 pm    Post subject: Reply with quote

1.
wlhaught wrote:
Maybe it is easier to install Gentoo first? Windows XP Home itself is barely reinstalled.
No. Windows doesn't play well with others. It's possible but much, much, much, much easier and safer to install Linux/BSD/whatever after Windows. For a guide to setting up a dual boot, check the gentoo-wiki: http://gentoo-wiki.com/HOWTO_Dual_boot

2.
wlhaught wrote:
I think I don't even really have boot as a directory.

...

and for ls -a /mnt/gentoo/boot

I get: "No such file or directory"

I guess I'll have to make hda3 bootable and later either use regular GRUB (or whatever Gentoo uses by default) and handle the issues later, assuming having a separate boot partition isn't really necessary (or for some reason a practical necessity).

You'll need to have a boot directory for Linux. Windows doesn't have to know about it. It's just part of the file structure for Linux.

A boot partition, however, is different from a boot directory. A boot directory can be on the same partition as the rest of your Linux installation or on a different one. It just needs to be somewhere. The installation finds it through the /etc/fstab file. The guide goes through setting up a properly formatted fstab.

3. The chroot step must be redone every time you reboot until you've finished the installation, otherwise you'll be trying to reinstall gentoo on the cdrom which (being read only) wont work out so well. As long as you're booting from the livecd you will have to do all the mounting steps prior to chrooting and then make sure to complete the env-update and source steps so that you've reoriented your environment to the new chroot. (C.f., http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part1_chap6)

Code:
# cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev
# chroot /mnt/gentoo /bin/bash
# env-update
>> Regenerating /etc/ld.so.cache...
# source /etc/profile


HTH,
m
_________________
Please add [SOLVED] to your message title if you feel that your question has been answered.
------
Intel Q9300 Core2 Quad * Gigabyte GA-EP35C-DS3R
Samsung x360
AMD64 x2 4200+ * TF7050-M2 * HTPC
ZOTAC ION A-U Mini-ITX * HTPC
Back to top
View user's profile Send private message
wlhaught
n00b
n00b


Joined: 30 Nov 2006
Posts: 14

PostPosted: Thu Nov 30, 2006 11:57 pm    Post subject: Reply with quote

madisonicus wrote:
1.
wlhaught wrote:
Maybe it is easier to install Gentoo first? Windows XP Home itself is barely reinstalled.
No. Windows doesn't play well with others. It's possible but much, much, much, much easier and safer to install Linux/BSD/whatever after Windows. For a guide to setting up a dual boot, check the gentoo-wiki: http://gentoo-wiki.com/HOWTO_Dual_boot 2.

HTH,
m



With Xp too, interesting. The rest of the above helps clarify things greatly. I forgot about fstab (tried installing Debian and Fedora once). I got desktop eye candy and lots of error messages with Fedora on a computer with only had 128 Mb of memory. I'm installing on one with 512 Mb now.

I have a Primary Dell Diagnostics partition though that I'd rather leave alone though. http://gentoo-wiki.com/HOWTO_Dual_boot calls for four primary partitions. I'm surprised swap is a Primary partition.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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