View previous topic :: View next topic |
Author |
Message |
chrisduck Apprentice
Joined: 30 Jun 2004 Posts: 283 Location: California
|
Posted: Sat Aug 07, 2004 8:57 pm Post subject: can't unpack stage3 tarball |
|
|
Hey, I'm very new to gentoo and linux
Because of problems that I have had with the cd's, I'm trying to install gentoo through knoppix.
I ran lynx and downloaded the stage3 tarball.
Here is my problem.
To begin, I don't know where the tarball was downloaded to...(when it finished downloading, it did list a directory, which I made note of. THe download is not in that directory)
from /mnt/gentoo I type
tar -xvjpf stage3-x86-2004.2.tar.bz2 as the manual advises
the command line responds...
tar: stage3-x86-2004.2.tar.bz2 Cannot open: no such file or directory
followed by some error messages
Thanks for any advice |
|
Back to top |
|
|
ghostn9e Tux's lil' helper
Joined: 09 Apr 2004 Posts: 109 Location: El Pueblo de Nuestra Señora la Reina de los Ángeles de la Porciúncula
|
Posted: Sat Aug 07, 2004 9:11 pm Post subject: |
|
|
well, what directory did you run the lynx command (did you cd to /mnt/gentoo after of before you ran links)? |
|
Back to top |
|
|
chrisduck Apprentice
Joined: 30 Jun 2004 Posts: 283 Location: California
|
Posted: Sat Aug 07, 2004 9:14 pm Post subject: |
|
|
I was inside /mnt/gentoo when I ran lynx
when I type "ls" from inside /mnt/gentoo, it only shows "boot" and "lost+found". It doesn't show the tar file. |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Sat Aug 07, 2004 9:16 pm Post subject: Re: can't unpack stage3 tarball |
|
|
First question: did you exactly follow all steps in the alternative installation guide, as repeated below?3. Knoppix Installation
Booting from the Knoppix LiveCD is a way to have a fully functional linux system while you're compiling Gentoo. Tux Racer will help you pass the time while you wait for bootstrap.
Boot from the Knoppix CD. It generally does a really good job of hardware detection. Although, you may have to add some boot options.
By default Knoppix boots into a KDE 3.0 desktop. The first thing I did was open a konsole and typed sudo passwd root. This lets you set the root password for Knoppix.
Next, I su to root and typed usermod -d /root -m root. This sets user roots home directory to /root (the Gentoo way) from /home/root (the Knoppix way). If you do not do this, then you will receive errors when emerging about "/home/root: not found" or something to that effect.
I then typed exit and then su back into root. This loads the change that was made with the usermod command. Now create the /mnt/gentoo mountpoint using mkdir:
Code Listing 3.1: Creating the /mnt/gentoo mountpoint
# mkdir /mnt/gentoo
At this point, you can pick up with the standard install documentation at part 4. However, when you're asked to mount the proc system, issue the following command instead:
Code Listing 3.2: Bind-mounting the proc pseudo filesystem
# mount -o bind /proc /mnt/gentoo/proc
Secondly by default lynx downloads into the current directory. If it was /mnt/gentoo then look there. |
|
Back to top |
|
|
chrisduck Apprentice
Joined: 30 Jun 2004 Posts: 283 Location: California
|
Posted: Sat Aug 07, 2004 9:18 pm Post subject: |
|
|
yes, I was careful to follow those directions. |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Sat Aug 07, 2004 9:24 pm Post subject: |
|
|
Files sometimes disappear because of not mounting the filesystem (correctly). Q: did you use the same mount commands now and before downloading? |
|
Back to top |
|
|
chrisduck Apprentice
Joined: 30 Jun 2004 Posts: 283 Location: California
|
Posted: Sat Aug 07, 2004 9:30 pm Post subject: |
|
|
Helena wrote: | Files sometimes disappear because of not mounting the filesystem (correctly). Q: did you use the same mount commands now and before downloading? |
I only used the mount command twice. Th one time that I used it to mount /mnt/gentoo with the hda, was before downloading.
Last edited by chrisduck on Sat Aug 07, 2004 9:34 pm; edited 1 time in total |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Sat Aug 07, 2004 9:33 pm Post subject: |
|
|
chrisduck wrote: | Helena wrote: | Files sometimes disappear because of not mounting the filesystem (correctly). Q: did you use the same mount commands now and before downloading? |
I only used the mount command once. Th one time that I used it, was before downloading. | So as a matter of fact you just stopped immediately after downloading and did not reboot in between or type any other commands? |
|
Back to top |
|
|
chrisduck Apprentice
Joined: 30 Jun 2004 Posts: 283 Location: California
|
Posted: Sat Aug 07, 2004 9:36 pm Post subject: |
|
|
that's right.
I typed in commands searching for the file, such as 'locate' and 'find' and 'ls' to search for it.
I also tried using the tar command, though I couldn't see the file.
That's all that I have done. |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Sat Aug 07, 2004 9:40 pm Post subject: |
|
|
OK try this. Recall the lynx command by repeatedly pressing the UP arrow until you find it. Press enter to execute the command again. Navigate to the stage 3 tarball just as you did before and press the same buttons (e.g. "D" to download). At some point it will ask you to confirm a filename, if I remember well. Here you should experiment a little to recover the directory name.
HTH. |
|
Back to top |
|
|
chrisduck Apprentice
Joined: 30 Jun 2004 Posts: 283 Location: California
|
Posted: Sat Aug 07, 2004 9:43 pm Post subject: |
|
|
Ok,...in short, download the file again. |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Sat Aug 07, 2004 10:02 pm Post subject: |
|
|
chrisduck wrote: | Ok,...in short, download the file again. | No I'm just trying to help you find out which directory it was. Without having lynx at hand I don't know the exact commands right now. |
|
Back to top |
|
|
chrisduck Apprentice
Joined: 30 Jun 2004 Posts: 283 Location: California
|
Posted: Sat Aug 07, 2004 10:06 pm Post subject: |
|
|
it downloaded and I can see it now |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Sat Aug 07, 2004 10:07 pm Post subject: |
|
|
chrisduck wrote: | it downloaded and I can see it now | great what happened |
|
Back to top |
|
|
chrisduck Apprentice
Joined: 30 Jun 2004 Posts: 283 Location: California
|
Posted: Sat Aug 07, 2004 11:15 pm Post subject: |
|
|
after I downloaded it the first time, I didn't save the download. I exited only.
The second time I downloaded it, I saved the download. |
|
Back to top |
|
|
Helena Veteran
Joined: 02 Apr 2003 Posts: 1114 Location: Den Dolder, The Netherlands
|
Posted: Sun Aug 08, 2004 7:58 am Post subject: |
|
|
OK.
You might add (solved) to this topic's title now... |
|
Back to top |
|
|
|