Linux - DistributionsThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
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?
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).
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.
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).
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.
"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".
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
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.
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.
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.