Difference between revisions of "Using DINA for network installation of IRIX"

From Nekochan
Jump to: navigation, search
(Created a stand-alone page on mounting IRIX CDs on non-IRIX systems, so I linked it in here along with some others.)
m (Added example using manual mount under Fedora 14)
Line 56: Line 56:
 
<pre># <file system> <mount point>  <type>          <options>            <dump>  <proc>
 
<pre># <file system> <mount point>  <type>          <options>            <dump>  <proc>
 
/dev/hdc        /media/cdrom0  efs,udf,iso9660  user,noauto,loop      0      0</pre>
 
/dev/hdc        /media/cdrom0  efs,udf,iso9660  user,noauto,loop      0      0</pre>
 +
 +
When forum member [[User:smj]] checked his new Fedora 14 system there was no entry for the optical drive in /etc/fstab, since it uses autofs, or hald, or some other daemon to automatically mount and unmount removable media. However the following worked when mounting the [[IRIX]] Core Foundation 1 CD:
 +
 +
<pre>]fedora14# mount -o ro,loop -t efs /dev/cdrom /mnt
 +
fedora14# df -h /mnt
 +
Filesystem            Size  Used Avail Use% Mounted on
 +
/dev/sr0              545M  527M  18M  97% /mnt
 +
fedora14# ls /mnt
 +
dist  RELEASE.info
 +
fedora14#</pre>
  
 
You may also want to review [[Mounting_IRIX_CDs_on_Non-IRIX_Systems| this page]].
 
You may also want to review [[Mounting_IRIX_CDs_on_Non-IRIX_Systems| this page]].

Revision as of 03:48, 26 December 2010

What is DINA?

DINA = deBug's IRIX Netboot Appliance

DINA is a virtual machine image built to support SGI systems being booted and doing software installation over the network. DINA is a combination of the NetBSD operating system, specialized configuration files and custom scripts to accomodate the peculiarities of the SGI's PROM netboot process.


Where to get DINA

deBug's distribution point, Sweden:

smj's mirror, California:

A copy of the DINA 1.0 ZIP archive is also available from download site FileFactory:

And if you want to get a copy of VMware Player, here's a link for that too:


Setting Up DINA

smj's notes coming soon


Installing IRIX With DINA

smj's notes coming soon


Frequently Asked Questions About DINA

Q: Can I run DINA using something other than VMware?
A: Maybe. deBug developed DINA with VMware Workstation and VMware Player. Forum members have used it with the following systems:

  • VMware ESXi 4.0
  • VMware Player
  • VMware Workstation

Those who tried to use VMware ESXi 3.5 and other platforms like Virtual Box were unable to get DINA 1.0 to work.


Q: Does DINA include IRIX?
A: No, aside from a patch or two the DINA image does not include any IRIX software. You must supply that yourself.


Q: I don't have a system running IRIX, or I wouldn't need DINA. And I don't have an optical drive on my SGI system. How am I supposed to read these IRIX CDs?
A: Linux has included read-only support for the EFS filesystem for some time, the format used for IRIX distribution CDs. A command like "mount -r -t efs /dev/cdrom /mnt/irix" should do the trick provided you have all the necessary packages for your distribution installed.

Forum member jan-jaap has reported success by adding the "efs" and "loop" keywords to the fstab(5) entry for his DVD-ROM drive. Here's the example he provided:

# <file system> <mount point>   <type>           <options>             <dump>  <proc>
/dev/hdc        /media/cdrom0   efs,udf,iso9660  user,noauto,loop      0       0

When forum member User:smj checked his new Fedora 14 system there was no entry for the optical drive in /etc/fstab, since it uses autofs, or hald, or some other daemon to automatically mount and unmount removable media. However the following worked when mounting the IRIX Core Foundation 1 CD:

]fedora14# mount -o ro,loop -t efs /dev/cdrom /mnt
fedora14# df -h /mnt
Filesystem            Size  Used Avail Use% Mounted on
/dev/sr0              545M  527M   18M  97% /mnt
fedora14# ls /mnt
dist  RELEASE.info
fedora14#

You may also want to review this page.


Q: Linux is supposed to support EFS, but I can't mount the IRIX CDs. What next?
A: Some users have reported problems mounting the IRIX CDs under Linux, with messages similar to these reported by forum member unixgeek42:

user@linuxbox:/media% sudo mount -t efs -r /dev/scd0 /media/cdrom
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
missing codepage or helper program, or other error

In these cases forum members have reported success using dd(1) to make a block-by-block image of each CD as a file, then mounting the files using the loopback mechanism in Linux. For example:

sample# dd if=/tmp/irix63inst.iso bs=1M
sample# mkdir /mnt/irix
sample# mount -v -o loop -t efs /tmp/irix63inst.iso /mnt/irix
mount: going to use the loop device /dev/loop0
set_loop(/dev/loop0,irix63inst.iso,0): success
mount: setup loop device successfully
/tmp/irix63inst.iso on /mnt/irix type efs (ro,loop=/dev/loop0)
sample# ls /mnt/irix
CDgrelnotes  CDrelnotes  coffcheck  dist  firmware  help  insight  RELEASE.info  relnotes  stand
sample#

Thanks to forum members Arabski and bri3d for the original examples combined above.

You may also want to review this page.


Q: My SGI machine is never able to connect to the DINA server. What am I doing wrong?
A: One common problem is that users forget to clear the host network address set in the PROM environment. Be sure to enter the PROM command line environment and type "unsetenv netaddr" to make sure your system is requesting a network address via BOOTP. You may want to try issuing the "resetenv" command too, which will set all PROM variables to their default values. Also, make sure you are entering the correct IP address for your DINA server when trying to boot the client system.


SGI Models Successfully Installed via DINA

The following SGI models have been successfully installed via netboot using a DINA server.


History of DINA

deBug first announced the availability of DINA in this forum post on August 12th, 2008.


Forum Threads About DINA


Related Pages