Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Linux and Unix
Tag Cloud
access acer asus bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory modem monitor motherboard network printer problem ram registry router security slow software sound toshiba trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
gentoo 2005.1 tar unpacking question

Reply  
Thread Tools
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
27-Sep-2005, 02:20 AM #16
Alright, I'll be around for round two.
it should be USE="flag1 flag2 etc" Note: no comma's.

Basically the main things you'll want is say mp3, dvdr cdrw (burning), X, gnome or kde depending on what you want your first wm to be. Beyond that its only if you really think you'll need it, a lot of flags get set default and you can set per package as well (we'll get into that later)

Also when you see this, let me know what the exact error you get when you do a emerge gentoo-sources.
__________________
Gentoo Developer, and 64bit os user

"In feeding Mother Nature, you are fed in return" - Tsunam (2005). Concerning water conservation, and raising water tables.
oldunion's Avatar
Member with 210 posts.
 
Join Date: Aug 2004
Location: in a windows-less room
27-Sep-2005, 03:00 PM #17
Quote:
Originally Posted by anyuser
I used a mandrake cd i had to make an ext3 partition. i assumed it was hda1, which i think it is. then i put in the gentoo 2005.1 cd i got from gentoo.org just recently. i typed at root> cd /mnt
mount /dev/hda1 gentoo <when i did this i got a suggestion to check it>
cd /mnt/cdrom/stages
ls
tar -xvjpf stage3-pentium4-2005.1.tar.bz2 -C /mnt/gentoo
cd /mnt/gentoo


ls /mnt/cdrom/snapshot
tar -xvjf /mnt/cdrom/snapshot/portage-2005.1.tar.bz2 -C /mnt/gentoo/usr
nano -w /mnt/gentoo/etc/make.conf (only thing you want to possibly change is -mcpu to -march (not sure if the 2005.1 still uses -mcpu)) since it should have pentium4 there already. Also add a line that says
MAKEOPTS="-j2"
save that file
mount -t proc none /mnt/gentoo/proc
cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf (so you still have a net connection in your chroot environment)
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
nano -w /etc/make.conf
This is everything i have done so far, not included above is the 20-30 use flags i added to the make.conf file. i go to type in emerge gentoo-sources and this is what i get:

calculating dependencies...done!
>>>emerge (1of1) sys-kernel/gentoo-sources-2.6.12-r6 to /
>>>downloading http://distfiles.gentoo.org/distfile...2.6.12.tar.bz2
--8:44:00-- http://distfiles.gentoo.org/distfile...2.6.12.tar.bz2
=> `/usr/portage/distfiles/linux-2.6.12.tar.bz2'
resolving distfiles.gentoo.org...failed:temporary failure in name resolution

7 other similar paragraphs came up all with different web addresses, all said temp failure in name resolution.

Im hooked up to dsl, but i didnt do any manual web configuration. Possibly an issue?
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
27-Sep-2005, 06:34 PM #18
possibly, in the non chroot environment can you ping anything outside your network? if not then you need to do that and then do the cp -L yada. Right now it says you don't have it working.

Do you connect via ethernet or usb to the dsl box?
oldunion's Avatar
Member with 210 posts.
 
Join Date: Aug 2004
Location: in a windows-less room
27-Sep-2005, 07:26 PM #19
ethernet into wall jack. im in an apartment so i have no access to it. also, assume i know nothing about linux or its commands besides what ive done here, which is essentially true; so im not sure how to ping anything.
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
27-Sep-2005, 08:09 PM #20
ping www.yahoo.com

do a lspci as well and look for a line that says ethernet. Lets see what your ethernet card is based on what that says as well
oldunion's Avatar
Member with 210 posts.
 
Join Date: Aug 2004
Location: in a windows-less room
27-Sep-2005, 09:03 PM #21
Quote:
Originally Posted by tsunam
ping www.yahoo.com

do a lspci as well and look for a line that says ethernet. Lets see what your ethernet card is based on what that says as well
lspci returned this:
ethernet controller: Realtek semiconductor co RTL-8139/8139C/8139C+ (rev 10)

ping http://www.yahoo.com returned "unknown host" which im sure is because thats not how you type it in. However, ping 216.109.118.78 (which is the ip of yahoo.com) returned "connect: network is unreachable."

This is the same laptop that i am on right now with windows xp pro, so the internet is working for atleast windows.
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
27-Sep-2005, 09:16 PM #22
okie a few things to try. do a lsmod and look for either 8139cp or 8139too, that should be the module for your ethernet card. if none show up do a modprobe 8139cp or 8139too, both won't hurt. ifconfig eth0 should show your card. if it doesn't get a ip address try running dhcpcd eth0. I'll be back in a little bit.
__________________
Gentoo Developer, and 64bit os user

"In feeding Mother Nature, you are fed in return" - Tsunam (2005). Concerning water conservation, and raising water tables.
oldunion's Avatar
Member with 210 posts.
 
Join Date: Aug 2004
Location: in a windows-less room
27-Sep-2005, 10:14 PM #23
lsmod showed that 8139too was present. i found something called mii that was being used by 8139too, not sure if thats significant...doing lsmod 8139too returned "usage lsmod"

modprobe 8139too does nothing
ipconfig eth0 "command not found"
dhcpcd eth0 "already running
if not then delete /var/run/dhcpcd-eth0.pid file"

did you want me to specifically type in modprove 8139cp, i may not have done this.

ping 216.109.118.78 still does not work.

Be back in about an hour. Thanks again Tsunam
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
27-Sep-2005, 10:28 PM #24
ifconfig eth0, ipconfig is the windows version.

should look something like this hopefully.

ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:11:95:7F:70:C6
inet addr:192.168.1.106 Bcast:192.168.1.255 Mask:255.255.255.0



it should show if you have a ip address...so the module for the card is loading, so something is going on. As well it seems to be trying to get a ipaddress.

do a rm /var/run/dhcpcd-eth0.pid
dhcpcd -Sd eth0
dmesg
towards the bottom you should get some info reguarding the dhcp client and what its doing. Lets see those as well if it doesn't allow you to ping outside the network.
__________________
Gentoo Developer, and 64bit os user

"In feeding Mother Nature, you are fed in return" - Tsunam (2005). Concerning water conservation, and raising water tables.
oldunion's Avatar
Member with 210 posts.
 
Join Date: Aug 2004
Location: in a windows-less room
28-Sep-2005, 01:02 AM #25
interesting things happened this time. I did what you said, and it seemed as thought something had changed. So i tried to ping the yahoo ip, and it did! Atleast it started to, then it just hung there....i got impatient and thinking it had worked, i restarted and commenced going through the entire install from zero. I tried emerge gentoo-sources when i got to that point, still no good shux. so i revisited your last directions and got this:

ipfonfig eth0: link encap:ethernet Hwaddr 00:39:cc:9d:d5
up broadcast notrailers running multicast mtu:1500 metric:1
rx packets 24421 errors:0 dropped:0 overruns:0 frame:0
tx packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
rx bytes:2289996 (2.1Mb) tx bytes:1240 (1.2Kb)
interupt:11 Base address:0x8f00

This is strange though, because i know the first time i did it some ip addresses came up.

rm /var/run/dhcpcd-eth0.pid the first time i did this i removed a file, the second time "no such directory"

dhcpcd -Sd eth0 command not found

dmesg sent back a helluva lot of stuff from what i could read about eth0 it said..."link up,10Mbps,half-duplex,1pa 0x0000

the second time i tried ping after all this, and guess what, didnt work this time.
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
28-Sep-2005, 02:45 AM #26
Sorry I fell asleep.

Okie, in the non chroot you removed the dhcpcd.pid file and then redid the dhcp lease. You were then able to ping yahoo.com? if so did you do the cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf? Once in the chroot environment you don't have access to those commands. Chroot means that you are in the system actively doing everything in that area, without access to thinks outside of it. That's why the command was not found later.If you need to do it again you can type exit and leave the chroot and then reenter as much as you need.
__________________
Gentoo Developer, and 64bit os user

"In feeding Mother Nature, you are fed in return" - Tsunam (2005). Concerning water conservation, and raising water tables.
oldunion's Avatar
Member with 210 posts.
 
Join Date: Aug 2004
Location: in a windows-less room
28-Sep-2005, 03:57 PM #27
No such luck with getting ips at all this time.

In root, this is what i did:

ifconfig eth0................got the same results as before, no ips
dhcpcd -Sd eth0........already running, if not then delete /var/run/dhcpcd-eth0.pid
dmesg this time shot out something i hadnt seen before, 8139cp at the very bottom it said 10/100 pci ethernet driver

i removed /var/run/dhcpcd-eth0.pid and played around with the commands and didnt get anywhere. i tried cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf and it said cannot create because directory doesnt exist.
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
29-Sep-2005, 01:38 AM #28
not entirely sure what to say right this second.

if you didn't mount your drive your installing linux tothen yeah you'll get the create directory because it doesn't exit...it doesn't.

It relies on the ability to get a dhcp address. I'd just recommend looking at the official guide and go through that part of the guide, until you do get the ip address.
__________________
Gentoo Developer, and 64bit os user

"In feeding Mother Nature, you are fed in return" - Tsunam (2005). Concerning water conservation, and raising water tables.
oldunion's Avatar
Member with 210 posts.
 
Join Date: Aug 2004
Location: in a windows-less room
29-Sep-2005, 05:43 AM #29
ive just read that the 2005 and 2005.1 had different network settings of some type, hardware configuration, something along those lines. It was on gentoo forums, and the guy who posted put up something very similar to what came up for me in ifconfig eth0. Anyway, whatever the issue, it is there for 2005 but not for 2004.3, so im going to hunt around for that iso. Thanks for the help thus far, ill probably be back with questions
oldunion's Avatar
Member with 210 posts.
 
Join Date: Aug 2004
Location: in a windows-less room
30-Sep-2005, 04:24 AM #30
It sure was the 2005.1 cd, 2004.3 works fine, but i think i made some errors. Here is EXACTLY what i did through the entire install. i dont know what to do from here.

I used a mandrake cd i had to make an ext3 partition. i assumed it was hda1, which i think it is. then i put in the gentoo 2004.3 cd.
cd /mnt
mount /dev/hda1 gentoo <when i did this i got a suggestion to check it>
cd /mnt/cdrom/stages
ls
tar -xvjpf stage3-pentium4-(i dont know for sure the tar file, but it extracted fine) -C /mnt/gentoo
cd /mnt/gentoo

ls /mnt/cdrom/snapshots
tar -xvjf /mnt/cdrom/snapshots/portage-(again not sure of exact file name, but it extracted fine) .tar.bz2 -C /mnt/gentoo/usr
nano -w /mnt/gentoo/etc/make.conf
MAKEOPTS="-j2"

mount -t proc none /mnt/gentoo/proc
cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf (so you still have a net connection in your chroot environment)
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
nano -w /etc/make.conf
>>then i added a fleet of flags

ln -sf /usr/share/zoneinfo/EST /etc/localtime

emerge gentoo-sources
emerge sync
>> im not sure which order i did the above two in ^

emerge nano
nano /etc/make.conf
emerge development-sources

cd /usr/src..................>>cd/usr/src/linux came back with no such directory
ls
make menuconfig

on the configuring kernel directions from the handbook on gentoo.org...i did 6,7,8,10,11,12

make && make modules_install
cd arch/i386/boot/bzImage /boot/kernel-2.6.12-gentoo-r10

cp .config /boot/config-2.6.12-gentoo-r10


i didnt do genkernel, 7d in directions

code listing 20,21,22 i have no clue about...they were skipped


nano -w /etc/fstab

in code listing 5 i changed /dev/boot to /dev/hda1, this may have been a mistake. i also changed ext2 to ext3 because im pretty sure thats what i made the partition to be, journalized ext3.

^this whole section with booting had me pretty lost in space

nano -w /etc/conf.d/hostname
HOSTNAME="tux"

nano -w /etc/conf.d/domainname
DNSDOMAIN="homenetwork"

rc-update add domainname default

i didnt mess around with the network too much, but i played with pcmcia some
USE="-X" emerge pcmcia-cs
rc-update add pcmcia default

this is what i got from the above commands: unable to find kernel sources at /usr/src/linux (same type of thing as i mentioned earlier)

passwd

emerge vixie-cron
rc-update add vixie-cron default

emerge slocate

emerge dhcpcd

emerge lilo
nano -w /etc/lilo.conf

image=/boot/kernel-2.6.12-gentoo-r10
label=gentoo
read-only
root=/dev/hda1 (they had hda3 is an example)

other=/dev/hda3 (a total guess i dont know what hd windows xp is)
label=windows

/sbin/lilo

exit
cd
umount /mnt/gentoo/boot /mnt/gentoo/proc /mnt/gentoo
^system hung here for a while and i got annoyed because the next step was to reboot, then it started spitting errors at me like "media error bad sector" and then the system did hang and i had to manually restart and here i am typing this message.



What happened during this install?

oh and another thing, throughout the installation i kept getting message in red saying files were deprecated and needed to be updated, i just assumed i would do it after install and there didnt seem to be any errors....

Thanks to anyone!
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 12:03 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.