Hakimoto wrote:
I´m sure they have a borg that churns them out for ´em.
It turns out to be easy. Follow the advice at sgiaddict, but add the following steps:
resize the volume header with "fx -x" to about 22 MB, while you're there, set the boot info so that boot=swap=0.
6.5.21, CD 1 needs a 600MB filesystem.
Grab sashARCS and sash64 from the eoe_ files. while you're at it, get the fx and stand/ide files as well and rename them apropriately. (hey, how does that work without dd??? There just
must
be a way with inst).
use hexedit to look into the "sa" file that came with the overlay
Code:
Select all
00000000 AC ED 12 34 86 29 7B E4 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ...4.){.................
00000018 00 00 00 00 00 00 00 00 73 61 73 68 36 34 00 00 00 00 00 00 00 00 00 00 ........sash64..........
00000030 00 00 00 01 00 04 0F 10 73 61 73 68 41 52 43 53 00 00 00 00 00 00 00 00 ........sashARCS........
00000048 00 00 02 09 00 05 3A 04 6D 72 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ......:.mr..............
00000060 00 00 04 A7 01 24 F8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .....$..................
There's the miniroot at offset (512*0x04A7) and it's 0x0124F800 bytes long. Extract with dd. Use bc with ibase=16 to convert if you have nothing else at hand. For 6.5.21 dd if=sa bs=1 skip=$[1191*512] count=19200000 of=../mr works, and dd if=sa bs=512 skip=$[1191] count=37500 of=../mr is quite a bit faster.
Install sash* and mr in the volume header (should look like this afterwards):
Code:
Select all
# dvhtool /dev/rdsk/dks0d2vh
Command? (read, vd, write, or quit): vd
(d FILE, a UNIX_FILE FILE, c UNIX_FILE FILE, g FILE UNIX_FILE or l)?
l
Current contents:
File name Length Block #
sgilabel 512 2
sash64 266240 3
sashARCS 324096 523
mr 19200000 1193
(d FILE, a UNIX_FILE FILE, c UNIX_FILE FILE, g FILE UNIX_FILE or l)?
then drop the fx.* and ide.* files in the /stand directory, everything else goes into /dist.
You may have to make .IM and .IM_XXXX files similar to this:
Code:
Select all
id = "XXXX"
# Please do NOT delete this file!
# This file serves to uniquely identify this CD
version = "1"
title = "IRIX 6.5.21 Installation Tools and Overlays (1-of-3) August 2003"
part_num = "812-0818-021"
sub_id = "0"
I chose XXXX=2664, but I have no Idea how SGI makes them up.
dd as in sgiaddict's instructions, then just cdrecord -v myefsimage.img
At least that seems works for me, I just booted to the miniroot install