PurpleJillybeansMy major project over the last few days has been building <a href="https://blog.n8fq.org/social?t=linuxfromscratch" class="mention hashtag" rel="nofollow noopener" target="_blank">#LinuxFromScratch</a> on what is normally my WinXP desktop machine. I've posted about it a little on my Mastodon, but here's a more detailed after-action summary:<br><br>Since I wanted to target an OS from around the hardware's era (late 2003, with a mid-2004 GPU) I originally tried (B)LFS 6.0, but I ran into some problems with it. Decided to start over with LFS 6.1.1 and BLFS 6.1. In the latter's case, I was helped by the fact that LFS's mirror servers have all of the source packages archived so I didn't have to go scrounging through the dusty forgotten corners of the 'net to find them like I did with 6.0. For the build host I went with Debian Sarge. Initially I tried doing it with Debian Woody but I wasn't able to get glibc to build, since the kernel was too old.<br><br>The hardware I'm using has a quirk that I turned into a tool: WinXP is installed on a modern SATA SSD connected to the motherboard's integrated SI3112 SATA controller. Although Linux supports it, device detection fails. Maybe the drive is too big? 🤷♀️ Anyway, I put a 16GB CF card in an IDE-CF adapter and plugged that into the primary IDE port. I set the BIOS to disable the SATA chip; when I want to boot WinXP I just disable the primary IDE channel and re-enable the SATA chip and off it goes.<br><br>I set up the CF card with four partitions: boot, LFS, Debian, and swap. The machine has 3 gigs of RAM (the maximum supported on x86-32 without a PAE mobo) so the swap space never gets touched in practice, but it still seems like a good idea to have it. Once I had a suitable host set up the base LFS portion of the build was easy. BLFS has required a few minor tweaks and workarounds but, after loads and loads of compiling, I now have a working system with X, Nvidia drivers, XFCE 4.2, Mozilla 1.7.13, and OpenOffice 1.1.4. It even prints to my (modern) CUPS server!<br><br>Eventually I want to use this setup to try out some of Loki's game ports from the early 00s. I've gotten some of them working under Slackware 7.1 on what's usually my Win98 rig, but this will be for later games that need more power. I'm hoping to try Rune, SimCity 3000, and Descent 3 on it. Might get UT2004 going too.<br><br><a href="https://blog.n8fq.org/social?t=retrocomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#RetroComputing</a><br>