View previous topic :: View next topic |
Author |
Message |
ilyawizard n00b
Joined: 03 Nov 2004 Posts: 53
|
Posted: Wed Nov 03, 2004 10:25 pm Post subject: emerge gentoo-dev-sources |
|
|
I have amd64 processor. And in the manual it says use emerge gentoo-dev-sources to install kernel source. I'm compleatly noobe to Gentoo and had very little expirience in Red Hat and Mandrake. When i'm trying to install kernel source the system does all the stuff and in the end is trying to download genpatches-2.6-7.43-extras.tar.bz2. My network doesn't work (cause I didn't set it before, and I don't really know how). So it says Cannot download and Aborting. That's where I stuck. I'm using universal cd with packages. Do I really need to set up the network and how? Or can I avoid it somehow and how? Thak's very much. Any help will be apreciated. |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Wed Nov 03, 2004 10:36 pm Post subject: |
|
|
Ok, after having a look through my portage tree, it seems that should be installed by gentoo-dev-sources-2.6.7-r11. Assuming your package cd is mounted to /mnt/cdrom (in the chroot), please could you post the output of ls /mnt/cdrom/sys-kernel? You may have to adjust if it's mounted somewhere else. Also, have you done something like export PKGDIR=/mnt/cdrom to tell portage where to get the files from?
(I told you I might be here as well. ) _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
ilyawizard n00b
Joined: 03 Nov 2004 Posts: 53
|
Posted: Wed Nov 03, 2004 10:41 pm Post subject: |
|
|
Ok, it's saying that no such file or directory. |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Wed Nov 03, 2004 10:42 pm Post subject: |
|
|
Right.... Step back a bit, and tell us what you've done to get to this point, in excruciating detail. We can hopefully see what's gone wrong then. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
ilyawizard n00b
Joined: 03 Nov 2004 Posts: 53
|
Posted: Wed Nov 03, 2004 10:47 pm Post subject: |
|
|
Well...I did everything that was said in the manual. Briefly that was: partitioning, making and mounting different folders, as was said in th manual. Copying and extracting stages and portage. Then, usin make.conf.All i did is put one var USE="kde dvdr". And then supposed to install kernel and nothing. |
|
Back to top |
|
|
ilyawizard n00b
Joined: 03 Nov 2004 Posts: 53
|
Posted: Wed Nov 03, 2004 10:49 pm Post subject: |
|
|
Everything up to the chapter 7 in the manual. I'm thinking that may be the best way is to set up the network and try dowload it (because that's what this command is trying to do). But here's another problem. Don't know how to set up the network. |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Wed Nov 03, 2004 10:53 pm Post subject: |
|
|
Aha! I might have it... did you do this step, from this part of the manual? The crucial part is, before you chroot:
Code: | mkdir /mnt/gentoo/usr/portage/distfiles
cp /mnt/cdrom/distfiles/* /mnt/gentoo/usr/portage/distfiles/ |
As for your network, what's your ethernet card? Unless it's unsupported by the livecd's kernel, it should be easy to set up. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
ilyawizard n00b
Joined: 03 Nov 2004 Posts: 53
|
Posted: Wed Nov 03, 2004 11:01 pm Post subject: |
|
|
Did it. As for netcard it's Linksys |
|
Back to top |
|
|
ilyawizard n00b
Joined: 03 Nov 2004 Posts: 53
|
Posted: Wed Nov 03, 2004 11:04 pm Post subject: |
|
|
I also have Netgear if it can help. |
|
Back to top |
|
|
ilyawizard n00b
Joined: 03 Nov 2004 Posts: 53
|
Posted: Wed Nov 03, 2004 11:14 pm Post subject: |
|
|
Ok...I'm an "idiot". I always have this kind of mistakes. I did it too fast and didn't even checked. When I extract portage I just saw that there is no more available space))). So I guess I messed up in partitioning. Then I have another question. How much space for each partition do i need? I used as it was said in the book (32m for boot, 512m, and the rest). |
|
Back to top |
|
|
Maedhros Bodhisattva
Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Wed Nov 03, 2004 11:18 pm Post subject: |
|
|
I'm getting up to about 4 gigs in total on /, and 32mb will be fine for /boot. /usr/portage takes up a lot of space - with quite a few saved distfiles, it takes up 1.3Gb on my machine. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
|
ilyawizard n00b
Joined: 03 Nov 2004 Posts: 53
|
Posted: Wed Nov 03, 2004 11:21 pm Post subject: |
|
|
Well, I made 32 for boot, and the rest about 50 gigs for root. And when extracted portage, there was no space. Well, I'll try again and see what I come up with. |
|
Back to top |
|
|
ilyawizard n00b
Joined: 03 Nov 2004 Posts: 53
|
Posted: Wed Nov 03, 2004 11:58 pm Post subject: |
|
|
Nope, same thing. It's trying to download. May be the path of this genpatch is different? |
|
Back to top |
|
|
hielvc Advocate
Joined: 19 Apr 2002 Posts: 2805 Location: Oceanside, Ca
|
Posted: Thu Nov 04, 2004 12:13 am Post subject: |
|
|
ilyawizard which install cd are you useing? 2004.2 doesnt have gentoo-dev-sources on it nor patch. The instructions says to use gentoo-dev-sources but the source is not on the cd nor as youve found is patch. _________________ An A-Z Index of the Linux BASH command line |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Thu Nov 04, 2004 12:53 am Post subject: |
|
|
ilyawizard wrote: | Well, I made 32 for boot, and the rest about 50 gigs for root. And when extracted portage, there was no space. Well, I'll try again and see what I come up with. |
Did you first do "cd /mnt/gentoo" before extracting portage? If not, you're trying to extract it to the livecd itself... which doesn't work at all.
I'm pretty sure this is what you're doing. |
|
Back to top |
|
|
ilyawizard n00b
Joined: 03 Nov 2004 Posts: 53
|
Posted: Thu Nov 04, 2004 4:08 am Post subject: |
|
|
Yes I did everything by the book. So if it doesn't have this patch, and I cannot connect to the network what should I do? Find another distro? |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Thu Nov 04, 2004 4:19 am Post subject: |
|
|
Here's something you could do:
1) Find out which network card you are using (not just the brand but also the model as well). Use google to find out what kernel module this card should use.
2) Boot up in the livecd
3) If it doesn't autoload that module, load it by doing
Code: |
modprobe module_name
|
4) If you're using dhcp do this
Also check output of "ifconfig" to see that this worked
If the last command didn't work OR you're using a static IP do the following
1) Find out the info for your network by running windows or whatever and write down the information you get.
You'll need the following:
* Your IP address
* Your default gateway
* Your subnet mask
* Your name servers
* Your broadcast address
You can find out what your broadcast address is by going here: http://pigtail.net/LRP/broadcast.html
2) Boot the livecd
3) modprobe modulename
4) ifconfig eth0 ${IP_ADDR} broadcast ${BROADCAST} netmask ${NETMASK} up
5) route add default gw ${GATEWAY}
6) nano -w /etc/resolv.conf
And make /etc/resolv.conf look like this
Code: |
nameserver ${NAMESERVER1}
nameserver ${NAMESERVER2}
|
Hopefully this will help
edit: And if none of this works at all you can try installing gentoo through knoppix. |
|
Back to top |
|
|
ilyawizard n00b
Joined: 03 Nov 2004 Posts: 53
|
Posted: Thu Nov 04, 2004 6:07 am Post subject: |
|
|
Ok...the 2004.2 distro definitly doesn't have those patches. I just dowload the 2004.1 distro and everything is fine. Anyway, thnx for help guys. |
|
Back to top |
|
|
|