Find the answer to your Linux question:
Results 1 to 3 of 3
trying to cp /mnt/cdrom/distfiles/* /mnt/gentoo/usr/portage/distfiles/ but i get this (-/bin/bash: /bin/cp: argument too long). this my first time trying to install linux ever. i'm trying to leave windows for good ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Dec 2004
    Posts
    1

    installation problem


    trying to cp /mnt/cdrom/distfiles/* /mnt/gentoo/usr/portage/distfiles/ but i get this (-/bin/bash: /bin/cp: argument too long). this my first time trying to install linux ever. i'm trying to leave windows for good it crashes too much. need help

  2. #2
    Just Joined!
    Join Date
    Nov 2004
    Location
    middle Asia
    Posts
    81
    try this
    Code:
    cp -R /mnt/cdrom/distfiles /mnt/gentoo/usr/portage/distfiles
    http://www.gentoo.org/doc/en/handbook/index.xml
    http://www.gentoo.org/doc/en/gentoo-...ickinstall.xml

  3. #3
    Just Joined! bigjohn's Avatar
    Join Date
    Nov 2004
    Location
    504944N, 01912W
    Posts
    66
    Code Listing 15: Extracting the Portage snapshot

    # tar -xvjf /mnt/gentoo/portage-20041202.tar.bz2 -C /mnt/gentoo/usr

    Networkless Installation or Not?

    If you are performing a networkless installation, you also need to copy over all source code from the Universal LiveCD. If not, you should skip this step and continue with Configuring the Compile Options.

    Code Listing 16: Copy over source code

    # mkdir /mnt/gentoo/usr/portage/distfiles
    # cp /mnt/cdrom/distfiles/* /mnt/gentoo/usr/portage/distfiles/
    Erm, I used to get some bloody stupid stuff at that point, because I thought I was reading the docs correctly, but I wasn't.

    I kept leaving out the -C /mnt/gentoo/usr after I'd typed in the tar -xvjf /mnt/gentoo/portage-20041202.tar.bz2

    When I'd got it right, the bit at "Code Listing 16: ...etc" went very smoothly.

    dunno if that'll help any?

    regards

    John

  4. $spacer_open
    $spacer_close

Posting Permissions

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