Page 1 of 2 12 LastLast
Results 1 to 15 of 23

Thread: Creating partitions in linux..actually all my gentoo questions go here.

  1. #1
    Your very own Pikachu! Banned Peegee's Avatar
    Join Date
    Mar 2001
    Posts
    19,488
    Blog Entries
    81

    Grin Creating partitions in linux..actually all my gentoo questions go here.

    I'm installing Gentoo on my P3 (I'm using a P4 here), but I don't know how to repartition everything. I'd like to delete the entire hard drive and start anew, but there isn't any /dev/hda (or any directories for that matter) around. What do I do?

    (According the instructions in gentoo.org I'm booting using liveCD and I have a connection to the internet)

  2. #2
    ORANGE Dr Unne's Avatar
    Join Date
    Dec 1999
    Posts
    7,394
    Articles
    1
    Contributions
    • Former Administrator
    • Former Developer
    • Former Tech Admin

    Default

    Did you read the install directions? http://www.gentoo.org/doc/en/handboo...ap=4#doc_chap3 Once you boot off the LiveCD, there has to be a /dev/hda, assuming your hard drive is plugged in and working. Do ls /dev | grep hd if you don't think there is one.

  3. #3
    Your very own Pikachu! Banned Peegee's Avatar
    Join Date
    Mar 2001
    Posts
    19,488
    Blog Entries
    81

    Unhappy

    Okay my stupidity knows no limits -- I was in some directory outside of root.

    -_- *feels so stupid*

    edit: okay I'm here now: http://www.gentoo.org/doc/en/handboo...?part=1&chap=7

    When I type "emerge --usepkg vanilla-sources" I get an illegal instruction error. I've tried using gentoo-sources and just emerge itself. *sigh*
    Last edited by Peegee; 02-25-2004 at 09:36 PM.

  4. #4
    ORANGE Dr Unne's Avatar
    Join Date
    Dec 1999
    Posts
    7,394
    Articles
    1
    Contributions
    • Former Administrator
    • Former Developer
    • Former Tech Admin

    Default

    <i>Okay my stupidity knows no limits -- I was in some directory outside of root.</i>

    You mean you were logged in as a user other than root?

    <i>When I type "emerge --usepkg vanilla-sources" I get an illegal instruction error. I've tried using gentoo-sources and just emerge itself. *sigh*</i>

    What is "illegal instruction error"?

    Did you read this?

    <i>Choose your kernel source and install it using emerge. From now onwards we will use emerge --usepkg which will install a prebuilt package if available (for GRP users) and download it otherwise. In other words, if you are not using prebuilt packages, you can omit the --usepkg option, but you don't have to. Furthermore, you can abbreviate the --usepkg option by using -k.</i>

    Are you using GRP? If not, you don't want the --usepkg option. Just <b>emerge whatever-sources</b>. You already did <b>emerge sync</b> and <b>emerge system</b> and whatnot, right? If those worked, there's no reason <b>emerge whatever-sources</b> shouldn't work too. Substituting something for "whatever" of course. (Get gentoo-sources, they're nice. They have patches to increase performance for desktop users. )

    At least you're almost done with the install. If you can survive compiling the kernel, you'll be set.

  5. #5
    Your very own Pikachu! Banned Peegee's Avatar
    Join Date
    Mar 2001
    Posts
    19,488
    Blog Entries
    81

    Grin

    I wasn't logged in as a user. I was just in another 'directory', like for example /bin/dev (not that directory but some other one).

    I don't know what illegal instruction means, but what you told me didn't work ;_; Typing 'emerge' by itself gives me the illegal instruction error as well. I'm supposed to be in root directory when I do this right?

    Is it possible to download the kernel and then install? How do I go about doing that if so?

  6. #6
    Recognized Member Nait's Avatar
    Join Date
    Jun 2000
    Location
    Not the Abyss
    Posts
    1,377
    Contributions
    • Hosted EoFF Elections event
    • Contributions to Eizon project

    Default

    Originally posted by Moo Moo the Ner Cow
    Yes I'm almost done. My brain hurts and I'm starting to hate linux

    Welcome to the club. Btw, old Linux-partitions make for a great anime-storage if nothing else.

  7. #7
    ORANGE Dr Unne's Avatar
    Join Date
    Dec 1999
    Posts
    7,394
    Articles
    1
    Contributions
    • Former Administrator
    • Former Developer
    • Former Tech Admin

    Default

    Did you forget the / on the front of /dev/hda then, maybe? If you're in any directory and you say "fdisk /dev/hda", it should work. It doesn't matter what directory you're in. On the other hand if you say "fdisk dev/hda", then it looks for CURRENT_DIRECTORY/dev/hda, which probably doesn't exist. That's the difference between "absolute" and "relative" filenames. If you type the fully-qualified pathname starting from /, then you can reference any file from anywhere.

    If you hate Linux, don't use it. It's not for everyone. Pick one: an OS which does everything by itself, but does the wrong thing half the time and leaves you no chance to fix the problems, or an OS which mostly forces you to do everything yourself, but which consistently does what you tell it to do and nothing more (and nothing less), and which as a result gives you the chance to do the right thing 100% of the time. You can have user-friendly, or you can have something that works, but not both, for the most part. It's up to you if you'd rather have something friendly that sucks rather than something unfriendly that works.

  8. #8
    Your very own Pikachu! Banned Peegee's Avatar
    Join Date
    Mar 2001
    Posts
    19,488
    Blog Entries
    81

    Grin

    I can use linux if it's installed.

    I think I know what the problem is...by stating another. Way back when they told me to type env-update it gave me that illegal instruction error. *confused*

  9. #9
    ORANGE Dr Unne's Avatar
    Join Date
    Dec 1999
    Posts
    7,394
    Articles
    1
    Contributions
    • Former Administrator
    • Former Developer
    • Former Tech Admin

    Default

    What illegal instruction error? What does it say? If you post the exact error someone (i.e., me) can tell you what's wrong.

  10. #10
    Your very own Pikachu! Banned Peegee's Avatar
    Join Date
    Mar 2001
    Posts
    19,488
    Blog Entries
    81

    Grin

    The exact error is illegal instruction

    ie:

    cdimage / # env-update [ enter ]
    Illegal instruction
    cdimage / #

    ie:

    cdimage / #emerge gentoo-sources
    Illegal instruction
    cdimage / #

    ie:

    cdimage / #emerge
    IIlegal instruction
    cdimage / #

    you get the idea. ;_;

  11. #11
    ORANGE Dr Unne's Avatar
    Join Date
    Dec 1999
    Posts
    7,394
    Articles
    1
    Contributions
    • Former Administrator
    • Former Developer
    • Former Tech Admin

    Default

    So far as I know, "Illegal instruction" means that you're trying to run an executable that was compiled for an architecture different from what your processor actually supports. For example something compiled for AMD64 when you actually have a Pentium 4 or something. What kind of processor do you have and which CD did you download? There's a part of the install where you have to set CHOST, CFLAGS and CXXFLAGS in /etc/make.conf. What did you set them as?

  12. #12
    Prinny God Recognized Member Endless's Avatar
    Join Date
    Aug 2000
    Location
    Prinny Moon
    Posts
    2,641
    Contributions
    • Former Cid's Knight

    Default

    Last night you were getting the stage3 install archive for a <b>PIV</b>, and you're installing it on a <b>PIII</b>. Are you using the PIII install, or the PIV? If you're installing it on the PIII, as you said in your first post, then get the PIII install.

    And then there is Death

  13. #13
    Your very own Pikachu! Banned Peegee's Avatar
    Join Date
    Mar 2001
    Posts
    19,488
    Blog Entries
    81

    Grin

    Using the liveCD to boot, I downloaded the pentium4 stage3 tar file from here.

    CHOST=i686-pc-linux-gnu //should this be i586?
    CFLAGS="-march=athlon-xp -pipe -O2" // I have a pentium 4, so I don't know what to put here
    CXXFLAGS="${CFLAGS}"

    edit: >_< @ endless *starts over*

  14. #14
    ORANGE Dr Unne's Avatar
    Join Date
    Dec 1999
    Posts
    7,394
    Articles
    1
    Contributions
    • Former Administrator
    • Former Developer
    • Former Tech Admin

    Default

    So far as I know, i586 is just an old pentium1. i686 is fine for you.

    If you have a P4, you want CFLAGS="-march=pentium4 -pipe -Os" The -O flag you use is up to you, but I use -Os.

  15. #15
    Your very own Pikachu! Banned Peegee's Avatar
    Join Date
    Mar 2001
    Posts
    19,488
    Blog Entries
    81

    Grin

    Thanks. And P3 is just CFLAGS="-march=pentium3 -pipe -Os" ?

    *does so anyway* xD

Posting Permissions

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