User Tools

Site Tools


retrocomp:install-rocky-linux-9-on-scsi-disk

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
retrocomp:install-rocky-linux-9-on-scsi-disk [2026/07/01 16:04] – created prppedroretrocomp:install-rocky-linux-9-on-scsi-disk [2026/07/01 16:18] (current) prppedro
Line 34: Line 34:
 mount -o bind /proc /mnt/proc mount -o bind /proc /mnt/proc
 chroot /mnt chroot /mnt
-``` +```
  
 That will take you into a shell inside your fresh installation. Use you preferential editor (`vi` or `nano`, perhaps) to create the following files:  That will take you into a shell inside your fresh installation. Use you preferential editor (`vi` or `nano`, perhaps) to create the following files: 
  
-`/etc/modules-load.d/mptspi.conf`: +`/etc/modules-load.d/mptspi.conf`:  
 ``` ```
 mptspi mptspi
 ``` ```
  
-`/etc/modprobe.d/mptspi_load.conf`: +`/etc/modprobe.d/mptspi_load.conf`:  
 ``` ```
 install mptspi /sbin/modprobe --ignore-install mptspi; echo "1000 0030" > /sys/bus/pci/drivers/mptspi/new_id install mptspi /sbin/modprobe --ignore-install mptspi; echo "1000 0030" > /sys/bus/pci/drivers/mptspi/new_id
Line 52: Line 54:
 Now, we need to regenerate `initrd`. On Rocky Linux, we do it via `dracut` CLI utility:  Now, we need to regenerate `initrd`. On Rocky Linux, we do it via `dracut` CLI utility: 
  
-```+```bash
 dracut -f -v dracut -f -v
 ``` ```
Line 61: Line 63:
  
 Now, Rocky Linux should boot as expected.  Now, Rocky Linux should boot as expected. 
 +
 +## Epilogue
 +
 +This is not something widely supported. Rocky's upstream RHEL 9 will be supported on mainstream until 2032 and on extended support up until 2034. Rocky Linux 10 downright refused to boot on this machine. Thus it stands to reason that this kind of configuration using such a legacy PCI device hung up by a PCIe-to-PCI bridge will likely be less and less supported. TBH, it is quite a miracle it is still supported. 
 +
 +But, for now, if you want use old drives you have lying around or just, like me, create a cursed thing, Rocky allows you to do so on a relatively modern environment. In theory, Debian should also be able to do it, but you'll probably need to turn off some IOMMU-related stuff, since those legacy PCI devices and typical PCI bridges can't really deal cleanly with DMAR. 
 +
 +In my case, this cursed setup will probably be used as sort of a imaging station, to access and image my SCSI drives used on my other retro-rigs. But if it was the sole intention, I'd probably put the `rootfs` on a SSD. 
  
retrocomp/install-rocky-linux-9-on-scsi-disk.1782932661.txt.gz · Last modified: by prppedro