Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15
Installing gentoo, and have the files on CD, but when I go to extract usuing the command given in the handbook, it starts going through each of the files but ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    4

    Installation Tar Extracting Problems


    Installing gentoo, and have the files on CD, but when I go to extract usuing the command given in the handbook, it starts going through each of the files but it also says at the end that cannot open file or directory. I went online but I am not sure which one to download. I have a penium 4 processor.

  2. #2
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Can you be more specific? Which command are you using, and which tarball are you trying to extract?

  3. #3
    Just Joined!
    Join Date
    Feb 2005
    Posts
    4
    it's a stage tarball
    the command is
    tar -xvjpt /mnt/stages/stage3-pentium4-2004.3.tar.bz2
    thank you for your time,

    when the command is run....it runs the tar command but states by every file that 'cannot open file or directory'

  4. #4
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    there's your problem:
    Code:
    tar xvfpj /mnt/cdrom/stages/stage3-pentium4-2004.3.tar.bz2
    or
    Code:
    tar -xvpjf /mnt/cdrom/stages/stage3-pentium4-2004.3.tar.bz2

  5. #5
    Just Joined!
    Join Date
    Feb 2005
    Posts
    4
    sorry, I posted the wrong command, I used xvjpf.
    I tried your method anyways, xvpjf gives me the same error, and xvfpj gives me:
    tar: pj: cannot open: no such file or directory
    tar: Error is not recoverable: exiting now

  6. #6
    Just Joined!
    Join Date
    Feb 2005
    Posts
    4
    solution please

  7. #7
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    You can't use the "-" if you are going with the "xvfpj".

  8. #8
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    did you mount the cd?
    excerpted from the gentoo handbook
    Code:
    If the system replies with an error, you may need to mount the CD-ROM first:
    
    Code Listing 9: Mounting the CD-ROM
    
    ls /mnt/cdrom/stages
    ls: /mnt/cdrom/stages: No such file or directory
    mount /dev/cdroms/cdrom0 /mnt/cdrom
    cd /mnt/gentoo
    tar -xvjpf /mnt/cdrom/stages/stage3-<subarch>-2004.3.tar.bz2
    http://www.gentoo.org/doc/en/handboo...ap=5#doc_chap3
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  9. #9
    Linux Guru lakerdonald's Avatar
    Join Date
    Jun 2004
    Location
    St. Petersburg, FL
    Posts
    5,035
    Well he was also trying to do /mnt/stages

  10. #10
    Linux Newbie zdawg's Avatar
    Join Date
    Jan 2004
    Location
    Canada
    Posts
    218
    The cd should already be mounted as you are running off it.
    Did you create /mnt/gentoo, make a filesystem on /mnt/gentoo and then mount /dev/hdax /mnt/gentoo and cd /mnt/gentoo; tar xvjpf /mnt/cdrom/stages/stage3-<subarch>-2004.3.tar.bz2 ?
    Me & Myself just ganged up on I....... Now We all have problems..and none of Us are speaking!
    bash-3.00$ uname -a
    SunOS sparky 5.11 OpenSolaris-swa sun4u sparc SUNW,Ultra-Enterprise

Page 1 of 2 1 2 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •