On Wed, 9 Nov 2011, in the Usenet newsgroup comp.os.linux.setup, in article
<j9ed13$7ke$
1...@pcls6.std.com>, Monte C. Haun jr. wrote:
>I have been thinking about Debian or Slackware, but for now the solution
>is to dust off my old 486 and dedicate that to the old Red Hat 5.2 OS.
>Nonetheless, I can't help but be curious as to what happened.
That _should_ work, but don't be offering any services to the Internet
(better still, avoid connecting to the Internet). 5.2 had at least
three remote root exploits (kick the server in the right way, and you
had root access), and two or three other exploits - I've long forgotten
the exact details. OTHER THAN THAT, 5.2 was a good distribution.
>I checked around and the p4 seems to have a similar addressing scheme
>as the p2 which accepted my RH 5.2 with out a problem.
The problem isn't that the P-IV is so different - it's how it identifies
itself when asked. It runs i386 code flawlessly, which is why the
install program was able to work.
[hubble ~]$ uname -a
Linux
hubble.phx.az.us 2.0.36 #1 Tue Oct 13 22:17:11 EDT 1998 i586 unknown
[hubble ~]$ cat /proc/cpuinfo
processor : 0
cpu : 586
model : Pentium 75+
vendor_id : GenuineIntel
stepping : 12
fdiv_bug : no
hlt_bug : no
f00f_bug : yes
fpu : yes
fpu_exception : yes
cpuid : yes
wp : yes
flags : fpu vme de pse tsc msr mce cx8
bogomips : 53.04
[hubble ~]$
hubble was a Pentium 166 - and here (actually running an 'out-of-box'
install of RH-5.2 about 10 years ago) it was identified as a i586. This
was the designation given to "Classic Pentiums" and "MMX". The later
Pentiums had extra features, and identified themselves as a i686 to
tell the software that they were capable of newer/wonderful tricks.
>More than anything else, I am wondering if the fact that the filesystem
>was created with out an error message implies that the kernel was copied
>to the disk??
You have to understand what's going on under the sheets - you started
running the install program on the CD. It was able to run, and found a
hard drive and video system it could work with. The program running
was written for an i386, and that will run on anything from a 386 on
up to the latest whizzy 64 bit Triton. OK, so it was able to set
up a filesystem. Next, we've got to install all of the packages (on
RH-5.2, that was about 300 out of the 514 supplied on the CD). To
install, we run a program that after all is said and done is running
the package manager "rpm" - but rpm has to know what processor you're
running. It asks, and is told ``I'm a i686'' which is a little problem
because it never heard of an i686 (which hadn't been released when that
version of rpm was created). Result? It says "I don't know what to
do, so I'm going to say the architecture isn't compatible and bail".
>Thus:
>
>making ext2 filesystem on /dev/hdb7
while running a 386 program
>install began:
>first dozen or so: error messages -- "rpm install of'xxxxxx' failed
>package'xxxxxx-000.00-00' is for different architecture"
Daddy, what's a i686? Nope! you need newer software for that box.
Old guy