View previous topic :: View next topic |
Author |
Message |
thecooptoo Veteran
Joined: 27 Apr 2003 Posts: 1353 Location: UK
|
Posted: Sun Oct 08, 2006 4:44 pm Post subject: chroot and illegal instruction |
|
|
Code: | livecd gentoo # uname -a
Linux livecd 2.6.12-gentoo-r10 #1 SMP Fri Nov 4 19:25:01 UTC 2005 i686 VIA Samuel 2 CentaurHauls GNU/Linux
livecd gentoo # ls -la |grep stage
-rw-r--r-- 1 root root 112603344 Aug 25 12:18 stage3-i686-2006.1.tar.bz2
livecd gentoo # chroot /mnt/gentoo /bin/bash
Illegal instruction
livecd gentoo # |
I think ive downloaded the correct stage
Have I ?
Ive followed the instructions (twice!)
so what have i done wrong ? _________________ join the optout - http://nhsconfidentiality.org |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Sun Oct 08, 2006 5:02 pm Post subject: |
|
|
For gcc Via Samuel 2 is i586. LiveCD won't work, nor i686 stage tarball. |
|
Back to top |
|
|
thecooptoo Veteran
Joined: 27 Apr 2003 Posts: 1353 Location: UK
|
|
Back to top |
|
|
bitdecay n00b
Joined: 02 Oct 2004 Posts: 10
|
Posted: Wed Oct 11, 2006 3:16 pm Post subject: |
|
|
Same problem here (Same CPU)... A bit of a miss making the x86 stages i686 instead of x86
I understand stage 1 is nolonger supported. But does stage1 still work? If so, what is it compiled for? |
|
Back to top |
|
|
chrbecke Guru
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Wed Oct 11, 2006 3:32 pm Post subject: |
|
|
Just take any live cd that runs on your architecture (e.g. a 2006.0 installcd, knoppix, ...) and a 2006.0 stage3-i586. When you reach the step "Choosing the Right Profile" (Gentoo Handbook), choose a 2006.1 profile. |
|
Back to top |
|
|
bitdecay n00b
Joined: 02 Oct 2004 Posts: 10
|
Posted: Wed Oct 11, 2006 3:56 pm Post subject: |
|
|
chrbecke wrote: | Just take any live cd that runs on your architecture (e.g. a 2006.0 installcd, knoppix, ...) and a 2006.0 stage3-i586. When you reach the step "Choosing the Right Profile" (Gentoo Handbook), choose a 2006.1 profile. |
OK, I will try that too. Im trying this right now. (Wrote the instructions first, now waiting for bootstrap to complete)
Here is how I hope to get Gentoo running on my VIA machine. (Still compiling)
Follow the original instrustions untill you are told to get a stage3 tarball, get stage1 instead. After this you should follow the instructions again (Adjusting the commands to fit the stage1 files name of cause)
When you reach the end of "5.e. Configuring the Compile Options" you need to do things differently.
Now its time to chroot.
Code: |
# cp -L /etc/resolv.conf /mnt/gentoo/etc/resolv.conf
# mount -t proc none /mnt/gentoo/proc
# mount -o bind /dev /mnt/gentoo/dev
# chroot /mnt/gentoo /bin/bash
# env-update
# source /etc/profile
|
Time to bootstrap the system.
Code: |
# cd /usr/portage/scripts
# ./bootstrap.sh
|
After the bootstrapping is done (Some time later...) you should be able to rebuild the system.
You should now be able to jump back in the original instructions at "6.b. Configuring Portage"
Good luck!
BTW. This is how my make.conf looked before I picked a mirror with mirror select.
--- make.conf ---
Code: |
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=c3 -m3dnow -Os -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
ALSA_CARDS="via82xx"
VIDEO_CARDS="cle266"
|
--- End --- |
|
Back to top |
|
|
chrbecke Guru
Joined: 12 Jul 2004 Posts: 598 Location: Berlin - Germany
|
Posted: Wed Oct 11, 2006 4:10 pm Post subject: |
|
|
bitdecay wrote: | OK, I will try that too. Im trying this right now. (Wrote the instructions first, now waiting for bootstrap to complete) |
No need to try it if your method succeeds. It would just have spared you the bootstrapping (i.e. some compile time). |
|
Back to top |
|
|
bitdecay n00b
Joined: 02 Oct 2004 Posts: 10
|
Posted: Wed Oct 11, 2006 4:42 pm Post subject: |
|
|
chrbecke wrote: | bitdecay wrote: | OK, I will try that too. Im trying this right now. (Wrote the instructions first, now waiting for bootstrap to complete) |
No need to try it if your method succeeds. It would just have spared you the bootstrapping (i.e. some compile time). |
Hmmm..... It seems I had forgotten how much time it took to bootstrap one of these steam powered computers. I would suggest that anyone else who try this get an old live cd and try that aproch instead. |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sun Nov 05, 2006 11:31 am Post subject: |
|
|
Moved from Installing Gentoo to Duplicate Threads.
See https://forums.gentoo.org/viewtopic-p-12448.html#12448 _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
|