Mourning the loss of our friend, WhitPhil.
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 audio black screen blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor recovery registry cleaner router safe mode slow sound spyware tdlwsp.dll trojan vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
gentoo 2005.1 tar unpacking question

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
oldunion's Avatar
Senior Member with 209 posts.
 
Join Date: Aug 2004
Location: in a windows-less room
26-Sep-2005, 12:34 AM #1
gentoo 2005.1 tar unpacking question
Im following a set of "quick instructions" for gentoo linux 2005.1, the instructins i just noticed are from a year ago and may be contributing to the problem i am having. I typed "cd /mnt/cdrom/stages" then "ls" and a list of 5 tar files came up. I typed in "tar -xvjpf stage3-pentium4-2005.1.tar.bz2 /mnt/gentoo" Im not certain if thats exactly it as far as the pentium4 stage 3 part goes, but on the command line of my linux machine it was exact text, without errors in the command. However, an error message comes up saying that there is no such directory called /mnt/gentoo. I had already mounted it onto my hda1 partition, journalized ext3. Im confused here...
mixx941's Avatar
Senior Member with 744 posts.
 
Join Date: Dec 2001
Location: Springfield, Missouri
26-Sep-2005, 01:40 AM #2
Hmm. Can you `cd` to /mnt/gentoo ? Does it show up in `df`?

You may want to try the current documentation here. I followed it a couple weeks ago and got it working very easily.

-Mark
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
26-Sep-2005, 02:15 AM #3
tar -xvjpf stage3-pentium4-2005.1.tar.bz2 -C /mnt/gentoo

without the C, it looks for /mnt/gentoo in the tar file.

If you have any other problems or concerns feel free to pm me. I'll respond, or can give you my im info for live help
oldunion's Avatar
Senior Member with 209 posts.
 
Join Date: Aug 2004
Location: in a windows-less room
26-Sep-2005, 06:33 PM #4
thanks tsunam, that did the trick. But ive hit another snag, and now i really dont have a clue. So ill start from point zero and explain exactly what i did, and btw, the gentoo.org instructions arent the easiest to follow.

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
chroot /mnt/gentoo /bin/bash
env-update

Up to here i am golden, no issues

emerge sync When i type this in i get hell about not having arch, it says i dont have a portage, and some other things. but what i typed above is literally a step by step play to what i did, from zero until now. It seems like im almost there, but im going to keep my patience
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
26-Sep-2005, 07:33 PM #5
so far up to that point you are fairly correct, you are rushing to the chroot a bit soon though. You also need to tar -xvjpf a portage snapshot -C /mnt/gentoo/usr. There is one on the cd, as well you can download it from the source. If you'd not mind. Can you give a link to the quick instructions you are trying to use to install gentoo?
__________________
Gentoo Developer, and 64bit os user

"In feeding Mother Nature, you are fed in return" - Tsunam (2005). Concerning water conservation, and raising water tables.
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
26-Sep-2005, 07:41 PM #6
for a more detailed of what you need to do before the chroot:

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
go modify your use flags at this point. http://www.gentoo.org/dyn/use-index.xml <-for info about them
from this point on following the install guide on gentoo.org should be fairly easy.
http://www.gentoo.org/doc/en/handboo...?part=1&chap=7 just look at the purple area's and some of the info above it.
now you should be able to emerge sync and continue on with installing X, gnome/kde, vixie-cron, syslog-ng.
__________________
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
Senior Member with 209 posts.
 
Join Date: Aug 2004
Location: in a windows-less room
26-Sep-2005, 08:04 PM #7
http://www.osnews.com/story.php?news_id=6589

Thanks so much for the info, im going to print this out and see where i get.
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
26-Sep-2005, 08:21 PM #8
sounds good, I'll be around if you run into more trouble. Good luck
oldunion's Avatar
Senior Member with 209 posts.
 
Join Date: Aug 2004
Location: in a windows-less room
26-Sep-2005, 09:19 PM #9
ok i got to the make.conf editing part. There was about 2 or 3 lines of text at the upper left hand side of the screen, and it said march already. I entered in MAKEOPTS="-j2"

I do not know how to save this file or how to get back to the normal command line. I see it says ^X to exit, but i dont know what that means. Clicking on it doesnt work, and typing it in and pressing enter does nothing either. Im going to go print off the rest of the directions and look into this config file some more.

BTW, is it not a good idea to keep rebooting right in the middle of this?
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
26-Sep-2005, 09:39 PM #10
its perfectly okie to keep rebooting .

when you see the ^ that means ctrl...so to exit you hit ctrl-x. It should prompt you to save. The MAKEOPTS="-j2" is on a seperate line as well?

aol im is tsunamfv, in case you want it
oldunion's Avatar
Senior Member with 209 posts.
 
Join Date: Aug 2004
Location: in a windows-less room
26-Sep-2005, 09:42 PM #11
I would chat on aim, that would be easy. But i set aside 1gig for windows and after an install i got left with 80megs, plus i keep rebooting.

MAKEOPS i put on the 4th line i think it was. Is there a way to save without waiting for the prompt?
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
26-Sep-2005, 10:01 PM #12
should be, at the bottom of the window you'll see a whole lot of options. I'm fairly certain one of the defalt is save, which is probably ctrl s but not entirely sure. I don't have nano installed.

as for windows yeah..least ammount I'd recommend for it is 3-5 gig.
__________________
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
Senior Member with 209 posts.
 
Join Date: Aug 2004
Location: in a windows-less room
26-Sep-2005, 10:41 PM #13
not a single hitch so far, but in your directions you said to "nano -w /etc/make.conf" to modify the "use flags"

Do i just enter in the flags one after the other...like 5th, 6th, 7th, Nth line? I printed out a bagillion of them, for instance acpi, X, afs, aim, avi, arts, bluetooth.

I tried punching some in on the command line, and i dont think thats it. I noticed the first line on the make.conf was called CFLAGS, is there a way to open this file and enter them?

Thanks again for your help Tsunam.
tsunam's Avatar
Senior Member with 1,246 posts.
 
Join Date: Sep 2003
Experience: Linux~su
26-Sep-2005, 11:09 PM #14
okie for the use flags, you'll do something like

USE="oggvorbis browserplugin truetype avi bmp cjk dbus directfb dvdr dvd -eds -esd ipv6 -kde -qt -gnome -mad -xmms"

where - means you don't want it, and the name by itself means you do. Basically go through and check out what the flags mean, and if its something you want..then add it, if not and have no use for it, say like pda then do -pda. You by no means have to go through and put + - by every flag. Just the ones you want or don't want.
__________________
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
Senior Member with 209 posts.
 
Join Date: Aug 2004
Location: in a windows-less room
27-Sep-2005, 12:40 AM #15
Quote:
Originally Posted by tsunam
okie for the use flags, you'll do something like

USE="oggvorbis browserplugin truetype avi bmp cjk dbus directfb dvdr dvd -eds -esd ipv6 -kde -qt -gnome -mad -xmms"

where - means you don't want it, and the name by itself means you do. Basically go through and check out what the flags mean, and if its something you want..then add it, if not and have no use for it, say like pda then do -pda. You by no means have to go through and put + - by every flag. Just the ones you want or don't want.
i went into make.conf and did "USE="flag1, flag2, etc"

but that doesnt seem practical. Do i have to go through and type every single flag i want? It just took me like 15 minutes and then i had to reboot, ugh.

Anyway, i did everything you said and all of it worked. but then i moved onto the gentoo kernel directions and i died, none of the commands worked. i successfully changed the timezone in part 7a, but this is where the success stopped.

i typed in "emerge gentoo-sources" i believe it said no such directory. i tried the next step which is "ls -l /usr/src/linux" no good either. cd /usr/src/linux....no such directory.

i see the "#" on the directions from gentoo.org, on my computer to the left of that at this point in the process is "live-cd #" . Again i am looking at part 7b and 7c of the gentoo instructions. none of those commands seem to be working, am i in the wrong directory or did i miss soemthing?

Thanks for the help today Tsunam, i think i learned a bunch. Im beat as hell though and im about to pass out-mental overload. round two tomorrow

Last edited by oldunion : 27-Sep-2005 12:56 AM.
Closed Thread Bookmark and Share

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.

Smart Search

Find your solution!



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


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 11:50 AM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.