Red Hat Bugzilla – Bug 189733
Cannot chroot from FC5 installer (linux rescue) on i586
Last modified: 2007-11-30 17:11:31 EST
Description of problem:
Complete FC5 system has been installed on an i686 computer, and the hard-drive
has been moved to a VIA C3 800A system (known issue - system does not boot due
to i686 kernel/glibc). Booted off the FC5 install DVD, selected "linux rescue",
and attempted to chroot to /mnt/sysimage to fix the problem. System responded
with an "illegal instruction" error. Is something in that chroot binary (or
glibc?) using i686-only instructions?
Version-Release number of selected component (if applicable):
FC5 install DVD, as released.
Steps to Reproduce:
1. Install FC5 on i686 machine - may not be related
2. Move disk to i586 machine (VIA C3 800A) - may not be related
3. Boot from FC5 install DVD, select "linux rescue"
4. Enter "chroot /mnt/sysimage/".
System responds with "illegal instruction"
Chroot to installed filesystem root.
The C3 is *almost* i686, it's just missing an instruction or two, AFAIK. There
was a related issue around FC2-3, requiring use of c3boot.iso etc.
Not in the chroot binary, but if you have glibc*.i686.rpm installed, then
obviously the installed C library has many i686+ instructions.
You need to reinstall *.i386.rpm glibc (and other packages you have installed
in *.i686.rpm versions, I think e.g. openssl is) first, on your i686 box, then
you should be able to chroot just fine. But that's not a bug in the packages,
just user error.