1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Linux Gentoo installation Qs

Discussion in 'Software' started by geek1017, 2 Sep 2004.

  1. geek1017

    geek1017 What's a Dremel?

    Joined:
    6 Aug 2002
    Posts:
    635
    Likes Received:
    0
    Ok. I need help from some of the gurus who frequent bit.
    I have tried asking this question on the Gentoo forums but haven't gotten much of a response.
    Maybe because it has only been an hour and a half since I posted there, but I thought I might as well ask here too.

    I am following the handbook pretty much to the letter exept for changes necessary for my hardware.
    My problem comes right after unpacking the stage 1 tarball.
    I try to nano -w /mnt/gentoo/etc/make.conf
    but what am I supposed to see?
    All I get is a blank page in the text editor.
    I have tried to open and modify make.conf.example but that file does not seem to exist. Do I have a b0rked install disk or what?
    I may just reboot and start over.

    any help would be appreciated.
     
  2. globe

    globe What's a Dremel?

    Joined:
    19 Dec 2003
    Posts:
    40
    Likes Received:
    0
  3. Hamish

    Hamish What's a Dremel?

    Joined:
    25 Nov 2002
    Posts:
    3,649
    Likes Received:
    4
    you have mounted your partitions right?
    is there anything in /mnt/gentoo (do 'ls /mnt/gentoo')
     
  4. Uncle Psychosis

    Uncle Psychosis Classically Trained

    Joined:
    27 Jul 2003
    Posts:
    1,694
    Likes Received:
    9
    Have you chrooted into the system?

    What happens if you just do

    nano -w /etc/make.conf ?

    Sam
     
  5. geek1017

    geek1017 What's a Dremel?

    Joined:
    6 Aug 2002
    Posts:
    635
    Likes Received:
    0
    Thanks for the response guys.
    I figgured out that it was just me overlooking a step.
    I had forgoten to cd /mnt/gentoo before unpacking the tarball.
    I must have done something wrongTherefore none of the folders I needed existed where they should have been.
    I got past that and re-installed only to screw up again.

    This time I got as far as chrooting and trying to env-update.
    At this point I get the error:
    Invalid token (not"=") N(with a ~ above it)
    ParseError: Invalid token (not '='): /etc/make.conf Line 7

    I take it that I have something wrong with my make.conf file then.
    I need to get that far in the install again and I will post my make.conf to see if anybody knows what I did wrong.

    Thanks
     
    Last edited: 2 Sep 2004
  6. geek1017

    geek1017 What's a Dremel?

    Joined:
    6 Aug 2002
    Posts:
    635
    Likes Received:
    0
    Well, in my excitement I went ahead and edited my make.config by myself.
    it had some weird garbage in the line about GENTOO_MIRRORS so I just deleted everything up till there.
    It seemed to have worked.
    Now I am bootstrapping but it is hung up on trying to connect to a server.
    It got "host not found" or "Connection refused" on 3 different servers and now it is retrying the fourth server for the fourth time.
    Is there anything I can do but wait?
     
  7. Uncle Psychosis

    Uncle Psychosis Classically Trained

    Joined:
    27 Jul 2003
    Posts:
    1,694
    Likes Received:
    9
    Can you post your make.conf?

    Did you chroot ok?

    Sam
     
  8. geek1017

    geek1017 What's a Dremel?

    Joined:
    6 Aug 2002
    Posts:
    635
    Likes Received:
    0
    Sure thing.
    this isn't going to be exact but it should have all of the important stuff.

    CHOST="i686-pc-linux-gnu"
    CFLAGS="-march=athlon-xp -pipe -O2"
    CXXFLAGS="${CFLAGS}"
    AUTOCLEAN="yes"
    ACCEPT_KEYWORDS="x86"
    MAKEOPTS="-j2"
    USE="-gtk -gnome qt kde dvd alsa cdr"
    GENTOO_MIRRORS="a bunch of URLs"

    That should be it. I think I had more USE tags but I didnt' feel like typing them all out.
    I did successfully chroot.
    env-update had a bit of a hic-up but as I said, I edited out the garbage that was in front of GENTOO_MIRRORS.
    Right now I am bootstraping and have a screen full of lines of code it seems. So maybe all is going well.
    Thanks again for the helping hand.
     
  9. Uncle Psychosis

    Uncle Psychosis Classically Trained

    Joined:
    27 Jul 2003
    Posts:
    1,694
    Likes Received:
    9
    Garbage? Sounds a bit weird!

    I was going to suggest starting again from the beginning (after all, it wouldn't have taken you very long to get back to where you were) but if it seems to be working then good luck to you :D

    Sam
     
  10. geek1017

    geek1017 What's a Dremel?

    Joined:
    6 Aug 2002
    Posts:
    635
    Likes Received:
    0
    Grrr...all this time and now it gives me another error.

    I was running scripts/bootstrap.sh when it came to download glibc-manpages it said Error 404: Not Found
    and then dumped me back to the # prompt.

    What should I do?
    Start bootstrap.sh over again? is the glibc-manpages important enough that I should not go ahead and emerge system?
     
  11. Uncle Psychosis

    Uncle Psychosis Classically Trained

    Joined:
    27 Jul 2003
    Posts:
    1,694
    Likes Received:
    9
    well, the glibc-manpages are just the "manual" for glibc. I don't think you'll need them in order for your system to work, but it might well be that the system hasn't finished bootstrapping (presumably it halts on errors.)

    I'm afraid I have never actually done a stage 1 install so I won't be much help- the gentoo forums are probably your best bet :)

    Cheers

    Sam
     
  12. geek1017

    geek1017 What's a Dremel?

    Joined:
    6 Aug 2002
    Posts:
    635
    Likes Received:
    0
    Cheers Sam,
    I went ahead and started the emerge system.
    Hopefully it will go well.

    I can always start over again.
    Maybe do the xp stage2 this time.

    thanks for listening to me vent anyway.
     
Tags:

Share This Page