Ok, I thought I'd share this with everyone, since it made things much faster for me.
First, note that many modern Linux distributions do not build or bundle the efs filesystem anymore. I am running CentOS 7 on my main box, and followed the instructions at https://wiki.centos.org/HowTos/I_need_the_Kernel_Source and then https://wiki.centos.org/HowTos/BuildingKernelModules to get a working efs.ko, which I put into place the normal way. Setting EXTRAVERSIONS in the kernel Makefile was required for my build; YMMV. I am an old hack at building RPM's, but I haven't built a kmod-efs as yet.
Ok, so once a properly versioned efs.ko was in the correct place for the installed kernel to find it, the following commands, as root, will load it:
Now, I had previously imaged my IRIX distribution disks, and had all of them in one directory, named with a '.image' extension. I then created a mount point, mnt:
Here's the one-liner that, in a little over two minutes, exploded all the files out of the 22 disk images I have:
(yeah, I know --progress is just eye candy..... but this is an IRIX forum, no? ) and here's the resulting directories with their sizes:
I hope that helps someone.
Now, to set up a DINA VM on my CentOS 7 box using KVM......
First, note that many modern Linux distributions do not build or bundle the efs filesystem anymore. I am running CentOS 7 on my main box, and followed the instructions at https://wiki.centos.org/HowTos/I_need_the_Kernel_Source and then https://wiki.centos.org/HowTos/BuildingKernelModules to get a working efs.ko, which I put into place the normal way. Setting EXTRAVERSIONS in the kernel Makefile was required for my build; YMMV. I am an old hack at building RPM's, but I haven't built a kmod-efs as yet.
Ok, so once a properly versioned efs.ko was in the correct place for the installed kernel to find it, the following commands, as root, will load it:
Code: Select all
depmod -a
modprobe -a efs
Now, I had previously imaged my IRIX distribution disks, and had all of them in one directory, named with a '.image' extension. I then created a mount point, mnt:
Code: Select all
# mkdir mnt
Here's the one-liner that, in a little over two minutes, exploded all the files out of the 22 disk images I have:
Code: Select all
# for disc in *.image; do mount -o ro,loop -t efs $disc mnt; mkdir ${disc}-contents; rsync -avH --progress mnt/ ${disc}-contents; umount mnt; done
(yeah, I know --progress is just eye candy..... but this is an IRIX forum, no? ) and here's the resulting directories with their sizes:
Code: Select all
[root@dhcp-pool151 IRIX]# du -sh *.image-contents
333M irix-6512-general-demos-1of2.image-contents
568M irix-6512-general-demos-2of2.image-contents
547M irix-6519-1.image-contents
559M irix-6519-2.image-contents
378M irix-6519-3.image-contents
291M irix-6519-4.image-contents
621M irix-65-applications.image-contents
285M irix-65-dev-foundation.image-contents
254M irix-65-dev-libraries.image-contents
101M irix-65-devtools-maint-rel-7213m.image-contents
1.5M irix-65-display-ps-dev-opt.image-contents
528M irix-65-foundation-1.image-contents
237M irix-65-foundation-2.image-contents
622M irix-65-freeware-1of4.image-contents
621M irix-65-freeware-2of4.image-contents
595M irix-65-freeware-3of4.image-contents
381M irix-65-freeware-4of4.image-contents
175M irix-65-softwindows95-50.image-contents
17M irix-6-mipspro-c-721.image-contents
14M irix-6-mipspro-f77-721.image-contents
58M irix-6-onc3-nfs.image-contents
328K irix-6-snmp-access-to-hp-mib.image-contents
[root@dhcp-pool151 IRIX]#
I hope that helps someone.
Now, to set up a DINA VM on my CentOS 7 box using KVM......