LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 04-10-2002, 10:29 PM   #1
Darkstar
Member
 
Registered: Jan 2002
Location: Elkton, MD
Distribution: Debian 3.1, SimplyMEPIS 3.3.1, Kanotix 2005-03
Posts: 91

Rep: Reputation: 15
Question Gentoo Installation help


I need help with installing Gentoo. I downloaded the full iso (the 100 mg one). I followed the instructions exactly as they are written. Everything goes OK until I get to the chroot part. I enter:
chroot /mnt/gentoo /bin/bash
Then I get ILLEGAL INSTRUCTION. I'm not familiar with the chroot command, but I thought I understood it enough to do this. Gentoo seems to be worth trying, but this has got me stopped. Can anyone tell me what's happening here?

Thanks
 
Old 04-11-2002, 01:13 AM   #2
phliver
LQ Newbie
 
Registered: Apr 2002
Distribution: slack and gentoo
Posts: 16

Rep: Reputation: 0
Hmm..
a few things i can think of

1. make sure you have the /mnt/gentoo directory created
2. make sure you have done these steps correctly

# cd /mnt/gentoo
# tar -xvjpf /mnt/cdrom/stage?-*.tbz2
# mount -o bind /proc /mnt/gentoo/proc
# cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf

I really can't help you much. All I can say is that you should read every word in those directions, even skip ahead a few steps before you accually perform any of the instructions. They tend to tell you important things after they tell you to type commands.
 
Old 04-11-2002, 03:37 AM   #3
epic
Member
 
Registered: May 2001
Location: Shanghai,China
Distribution: Gentoo Linux 1.3b
Posts: 51

Rep: Reputation: 15
Re: Gentoo Installation help

Quote:
Originally posted by Darkstar
I need help with installing Gentoo. I downloaded the full iso (the 100 mg one). I followed the instructions exactly as they are written. Everything goes OK until I get to the chroot part. I enter:
chroot /mnt/gentoo /bin/bash
Then I get ILLEGAL INSTRUCTION. I'm not familiar with the chroot command, but I thought I understood it enough to do this. Gentoo seems to be worth trying, but this has got me stopped. Can anyone tell me what's happening here?

Thanks
I get the same error in 1.1a's installation
 
Old 04-11-2002, 02:31 PM   #4
Darkstar
Member
 
Registered: Jan 2002
Location: Elkton, MD
Distribution: Debian 3.1, SimplyMEPIS 3.3.1, Kanotix 2005-03
Posts: 91

Original Poster
Rep: Reputation: 15
Tried a few other suggestions, all with the same results. I even d/l the older version and still got to the same point before it stopped. I emailed Gentoo, so we'll see what they have to say (if anything).
 
Old 04-15-2002, 10:38 AM   #5
Darkstar
Member
 
Registered: Jan 2002
Location: Elkton, MD
Distribution: Debian 3.1, SimplyMEPIS 3.3.1, Kanotix 2005-03
Posts: 91

Original Poster
Rep: Reputation: 15
Well I heard back from Gentoo and they suggested using the small iso and downloading all the files. Well this won't work as I can only do this via a modem and I don't want to tie it up that long. Anybody have any solutions for this or should I chalk it up to a distro I can't use on my laptop.
 
Old 04-15-2002, 03:07 PM   #6
burzmali
Member
 
Registered: Jan 2002
Distribution: gentoo
Posts: 68

Rep: Reputation: 15
maybe if you try using the trailing slash?
ie- chroot /mnt/gentoo/ /bin/bash
i am installing gentoo right now to another HDD and the chroot went fine (w/ 1.1a full iso).
 
Old 04-15-2002, 04:38 PM   #7
Darkstar
Member
 
Registered: Jan 2002
Location: Elkton, MD
Distribution: Debian 3.1, SimplyMEPIS 3.3.1, Kanotix 2005-03
Posts: 91

Original Poster
Rep: Reputation: 15
Maybe I should have mentioned this in the beginning. Does it matter that I'm trying to install this on a P266? I know that they say certain distros are processor specific, but I haven't come across this before. The guy from Gentoo mentioned this also.
 
Old 04-16-2002, 10:01 AM   #8
Sylhouette
Member
 
Registered: Oct 2001
Location: Beverwijk (Holland
Distribution: Red Hat 7.1
Posts: 132

Rep: Reputation: 15
When using a p266 you will need to tar the /mnt/cdrom/stage1..... file.

You will need to bootstrap your system.

IIt takes some time.
 
Old 04-16-2002, 10:09 AM   #9
Darkstar
Member
 
Registered: Jan 2002
Location: Elkton, MD
Distribution: Debian 3.1, SimplyMEPIS 3.3.1, Kanotix 2005-03
Posts: 91

Original Poster
Rep: Reputation: 15
So if I use the stage1 file, do I need to download the packages I need or will it take them off the CD?
 
Old 04-16-2002, 11:26 PM   #10
no1zhome
Member
 
Registered: Apr 2002
Location: ON, Canada
Distribution: Debian, Gentoo
Posts: 48

Rep: Reputation: 15
From the Gentoo FAQ on their website:

"I have only slow modem connection at home. Can I download sources somewhere else and add them to my system?

Definitely. You can run emerge --pretend package to see what programs are going to be installed. Download sources and bring them on any media home. Put the sources into /usr/portage/distfiles and run emerge package to see it picking up the sources you just brought in!"

You can build your system from a mounted cd. See the portage manual on their website: http://www.gentoo.org/doc/portage-manual.html#doc_chap1
=>Under the "Directory Locations" there's "DISTDIR - Local cache of downloaded archives".

Last edited by no1zhome; 04-17-2002 at 12:09 AM.
 
Old 04-17-2002, 02:15 AM   #11
rommel
LQ Newbie
 
Registered: Dec 2001
Location: a cornfield in SD
Posts: 15

Rep: Reputation: 0
that 100meg iso is for i686 machines....isnt that what the website said...you need to download the 16mb iso and download and and compile or 'emerge' everything i think
 
Old 04-17-2002, 09:55 AM   #12
AutoBot
Member
 
Registered: Mar 2002
Location: I can see you from here.
Distribution: Gentoo 1.3b
Posts: 184

Rep: Reputation: 34
That is correct, the kernel is not compatible with your processor as it has been compiled with March=i686 optimization and isn't compatible with your 386 processor.
 
Old 04-17-2002, 12:52 PM   #13
PostDeals
Member
 
Registered: Mar 2002
Location: New Jersey, USA
Distribution: Suse 8.0
Posts: 39

Rep: Reputation: 15
see if this help.

check this link out it has gentoo user / install guide
 
Old 04-19-2002, 12:05 PM   #14
burzmali
Member
 
Registered: Jan 2002
Distribution: gentoo
Posts: 68

Rep: Reputation: 15
pardon my ignorance, but i don't believe his pentium 266 is a 386 chip. i believe it is pentium classic, right? it has mmx right? i believe anything labeled 586 should work. unfortunatally, as has already been pointed out, the 1.x gentoo binaries are all 686. so... you are gonna have to build from source, dude.

some comments:
if you already have linux on your laptop, you can boot up like normal, and then install gentoo in a chroot environment. the advantage to this is that your laptop remains useful to you even as you install, and if you don't want to finish all the steps in one go you don't have too. that is how i installed gentoo most recently; as chroot from my already working gentoo install. just skip the grub step until after your new gentoo is fully configured. you can do the full installation this way, including X and kde.
do you have any access at all to high-speed internet? from a friend or at work or school? if so, after you boot strap your gentoo, go there and do an emerge --fetchonly system, emerge --fetchonly kde, etc. then go home and do emerge again without the fetchonly.

have fun! good luck!
 
Old 10-03-2004, 05:41 AM   #15
noesis
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
Stage

i had the same problem in a similar machine as you (pentium mmx 233).
then... i used stage3 X86 instead of i686 and i also changed the make.conf CFLAGS to march=pentium-mmx and the CHOST to i586 (instead of i686)

now its woking!
good luck
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
gentoo installation Alexander.s Linux - Software 2 06-04-2005 04:48 PM
Gentoo installation help me! Alexander.s Linux - General 12 04-15-2005 04:39 PM
GENTOO 1.4; Stage1 Installation: Installation freezes arthur1968 Linux - Hardware 1 08-28-2003 11:08 AM
Gentoo Installation boonders Linux - Distributions 2 04-18-2003 01:20 PM
gentoo installation steelrose Linux - Distributions 2 05-07-2002 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 10:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration