Kickstarts and build stuff for experimental Rocky on i686.
Go to file
Skip Grube 66197bde60 Initial commit
kickstart, launcher script, and readme
2024-10-15 15:38:29 -04:00
readme.txt Initial commit 2024-10-15 15:38:29 -04:00
rocky9_i686_build.sh Initial commit 2024-10-15 15:38:29 -04:00
rocky9_i686.ks Initial commit 2024-10-15 15:38:29 -04:00

Skip's Rocky 9 i686 experiment
###############################

Background
###########
Simple project, simple goal:  Get Rocky 9 latest booting and working on i686 (32 bit) hardware.  Why?  Because we can.  And it's fun!

Almost everything we need is already present in the distro.  The Rocky project needs to build the vast majority of itself as i686 anyway, to satisfy multilib requirements.
Fortunately thanks to excellent publication and repo management, an almost-complete i686 distro is ready-published in the "devel" repository:  https://dl.rockylinux.org/pub/rocky/9/devel/i686/ 
It won't have everything (Lots of GUI programs like Firefox are missing), but certainly enough to make a functional system


Only one (big) piece is missing: the kernel.  The RHEL/Rocky kernel build is unsuitable for this, having patches on top of patches with a tricky build process.
Fortunately, there is a much cleaner kernel RPM courtesy of ELRepo (elrepo.org).  A set of i686 kernel RPMS was built from the kernel-lt 6.1.x base in short order, and they seem to work!
Combining these i686 kernel RPMs with the Rocky 9 devel/ i686 repository gives everything you need for a bootable system.  Kickstart and livemedia-creator means a rudimentary image is currently prototyped and available.



Where to Download
##############

QCow2 image:  https://skiprocky.linuxdn.org/Rocky9_i686/

DNF i686 kernel repo:                     https://skiprocky.linuxdn.org/Rocky9_i686/kernel_repo/
Kickstart + scripts for image create:     https://git.resf.org/skip/rocky-i686
kernel sources (elrepo fork):             https://git.resf.org/skip/kernel-lt
Rocky 9 i686 devel (userspace packages):  https://dl.rockylinux.org/pub/rocky/9/devel/i686/



Image Info
###########

Login:
  root : Rockyi686Test  
  Recommend you change it.


Cloud-init:
  Is available and setup by default.  If you have means of triggering it, additional users/auth methods could be set up upon boot


Write disk to physical drive or USB:
  qemu-img convert -f qcow2 -O raw rocky9_i686.qcow2  /dev/sdb
  (IMPORTANT:  make sure "/dev/sdb" is your target device!  Don't overwrite your main system's drive!)
  

Expand disk to fill hard drive:
  growpart /dev/sda 2
  resize2fs /dev/sda2
  
  (This assumes "/dev/sda" is the drive in the installed system.  It could be different - check with blkid)


Building the image:
  Run ./rocky9_i686_build.sh with administrator privileges.  You will need to update the script - point to a valid Rocky 9 boot iso (stock iso is fine).
  You also need qemu-kvm and livemedia-creator (lorax) installed