Find the answer to your Linux question:
Results 1 to 9 of 9
I am attempting to extract a portage snapshot from the 2005.0 cd. I am using this command tar -xvjf /mnt/cdrom/snapshots/portage-20050303.tar.bz2 -C /mnt/gentoo/usr. But, I keep getting the error no such ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242

    extracting portage snapshot


    I am attempting to extract a portage snapshot from the 2005.0 cd. I am using this command tar -xvjf /mnt/cdrom/snapshots/portage-20050303.tar.bz2 -C /mnt/gentoo/usr. But, I keep getting the error no such file or directory. Your help is appreciated.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  2. #2
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    what is it saying doesn't exist? The snapshot or the /mnt/gentoo/usr? If it's the latter, have you mounted the usr partition? Prolly is in / partition
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  3. #3
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    It says it right after that long name, right before /mnt/gentoo/usr
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    The /mnt/gentoo/usr is not mentioned in the error. I took the comand right from the Gentoo handbook for x86 for 2005.0 Code listing 13: Extracting a portage snapshot.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  6. #5
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    I tried mounting /mnt/gento/usr on /dev/hda9, that is where my / partition is. I was told that /mnt/gentoo/usr was not a block device.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  7. #6
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    Twentieth time was the charm. I don't know why it worked this time, just glad it did.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

  8. #7
    Linux Guru sdousley's Avatar
    Join Date
    Feb 2004
    Posts
    1,790
    hehe glad it's workin..... did you maybe get the wrong filename? I always use tab-completion to make sure that i get the right name
    "I am not an alcoholic, alcoholics go to meetings"
    Registered Linux user = #372327

  9. #8
    Linux Engineer
    Join Date
    Mar 2005
    Posts
    1,431
    Quote Originally Posted by budman7
    I tried mounting /mnt/gento/usr on /dev/hda9, that is where my / partition is. I was told that /mnt/gentoo/usr was not a block device.
    Its the other way... /dev/hda9 is the valid block-device, so it would be more like this:
    Code:
    mount /dev/hda9 /mnt/gentoo/usr/

  10. #9
    Linux Guru budman7's Avatar
    Join Date
    Oct 2004
    Location
    Knee deep in Grand Rapids, Michigan
    Posts
    3,242
    jaboua, that is what I did wrong when trying to mount /usr. I did

    mount /mnt/gentoo/usr /mnt/dev/hda9

    I knew better too.

    sdousley, I don't know how, but I must have had a mistake somewhere in the line.
    How to know if you are a geek.
    when you respond to "get a life!" with "what's the URL?"
    - Birger

    New users read The FAQ

Posting Permissions

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