GNU/Linux® Reference OS | 32bit
I'm using a fairly new processor for most of the OS; however, I did bootstrap and cross-compile for i686. It seems to me that the correct line to draw is to require SSE2, a processor feature. Regardless, I needed something that would run on a particular system that I'm fond of, an old Core2duo. While it is 64 bit, it didn't have the features of the Ryzen 5 that I'm working on for L1G3R 64 bit, so I had to pick a point to re-bootstrap and cross-compile, so it was there. The image is the nonic image up on l1g3r sf. NoNIC has the bootstrapping steps if you wish to customize it for another processor. YMMV, but I found that using QEMU with my chosen processor to boot Knoppix 8.6.1 as a live boot disk and install to a different image mounted within Knoppix worked well. This is the command I used to build the image:
qemu -enable-kvm -smp 6 -cpu qemu32 -cdrom /dev/sr0 -boot d -net nic -net user,hostfwd=tcp::5252-:22 -hda l1g3r-os-orig202003.img -hdb l1g3r-os-orig202003.img.i686build -m 20G
Here are the CPU flags I built the image for:
fpu de pse tsc msr pae mce cx8 apic sep pge cmov pat mmx fxsr sse sse2 cpuid tsc_known_freq pni x2apic hypervisor vmmcall
The image includes an older version of Virtuoso that serves up this web site:
To get to the Virtuoso web server from the host, use this command with QEMU:
qemu -enable-kvm -smp 6 -cpu qemu32 -boot d -net nic -net user,hostfwd=tcp::5252-:22,hostfwd=tcp::5280-:80,hostfwd=tcp::5201-:4001 -hda nonic-os-orig202010.img -m 20G
As an added bonus, you can browse the website without an internet connection and use gpm to copy and paste configurations.
Virtuoso 7 requires 64 bit CPUs, so I went back to 6 for the nonic image. I had to temporarily downgrade OpenSSL, create a static build, and then re-install the newer version. The idea is that this is for a system without a NIC, or, at least running in a VM, so this is reasonable. Again, I'm trying to capture a particular slice of knowledge, some place to start without needing to deal with constant flux with the help of a thousand people. Building knowledge doesn't need constant flux of a platform.
After you are done, re-install the newer version of OpenSSH and OpenSSL. I decided to leave the old libraries. The way I built the image was to run through the whole build sequence up through Virtuoso, so everything should work fine on that version.
Mostly, I will be moving on to knowledge efforts, using the tools in this OS as a reference without relying on the whims of the distributions. As I write this Ubuntu, is still having some trouble with all of the features of Graphviz, for instance. This is a base camp, and now most anybody can use the tools.32bit
Articles tagged with 32bit on L1G3R Information Systems: