IRIX 6.5.15m and upgrading

IRIX and IRIX software discussion including open source and commerical offerings.
Forum rules
Any posts concerning pirated software or offering to buy/sell/trade commercial software are subject to removal.
robespierre
Posts: 1572
Joined: Mon Sep 12, 2011 2:28 pm
Location: Boston

Re: IRIX 6.5.15m and upgrading

Unread postby robespierre » Mon May 29, 2017 6:57 am

ide doesn't need to be in the volume header, since it can be loaded from the filesystem with sash. It's used rarely enough that the additional steps aren't a problem (need to enter the command prompt and type "boot usr/stand/ide" instead of just clicking "diagnostics")
:PI: :O2: :Indigo2IMP: :Indigo2IMP:

mazzinia
Posts: 103
Joined: Thu Nov 18, 2010 1:14 pm
Location: Italy

Re: IRIX 6.5.15m and upgrading

Unread postby mazzinia » Mon May 29, 2017 7:59 am

sorry to say, but

/usr/stand

doesn't exist on the disk ( I dumped the list of everything )
The only stand present is in the root
/stand

with fx and sash inside ( and now with symmon, too )
:O2: :Fuel: HP c8000 Digital PWS 500au (x2) , IBM 9402-P03

User avatar
foetz
Moderator
Moderator
Posts: 6575
Joined: Mon Apr 14, 2003 4:34 am
Contact:

Re: IRIX 6.5.15m and upgrading

Unread postby foetz » Mon May 29, 2017 2:38 pm

mazzinia wrote:mmm I did initialize the disk using the graphical disk manager (aka there's a label)... but now I'm not sure if I did partition it

for low level stuff your best bet always is the terminal. here's how you prepare a disk as system disk:

Code: Select all

# fx -x
fx version 6.5, Oct  6, 2003
fx: "device-name" = (dksc)
fx: ctlr# = (0)
fx: drive# = (1) 3
fx: lun# = (0)
...opening dksc(0,3,0)

...

----- please choose one (? for help, .. to quit this menu)-----
[exi]t             [d]ebug/           [l]abel/           [a]uto
[b]adblock/        [exe]rcise/        [r]epartition/
fx> r

...

----- please choose one (? for help, .. to quit this menu)-----
[ro]otdrive        [u]srrootdrive     [o]ptiondrive      [re]size
fx/repartition> ro

fx/repartition/rootdrive: type of data partition = (xfs)
Warning: you will need to re-install all software and restore user data
from backups after changing the partition layout.  Changing partitions
will cause all data on the drive to be lost.  Be sure you have the drive
backed up if it contains any user data.  Continue? y

...

----- please choose one (? for help, .. to quit this menu)-----
[ro]otdrive        [u]srrootdrive     [o]ptiondrive      [re]size
fx/repartition> /l

----- please choose one (? for help, .. to quit this menu)-----
[sh]ow/         [sy]nc          [se]t/          [c]reate/
fx/label> sy

----- please choose one (? for help, .. to quit this menu)-----
[sh]ow/         [sy]nc          [se]t/          [c]reate/
fx/label> /exi

then format it:

Code: Select all

mkfs /hw/rdisk/dks0d3s0

up next: the volume header

Code: Select all

cd /stand
dvhtool -v creat sash sash /dev/rdsk/dks0d3vh
dvhtool -v creat ide ide /dev/rdsk/dks0d3vh


replace the s0d3 parts with whatever you need. the s0 is the controller number and the d3 is the disk id.
now mount the disk's s0 partition (dks0d3s0 in the example here) and start dragging the data over. xfsdump/restore is the recommended way but tar, cpio and alike should work as well.
after that unmount the disk and you're good to go :-)

mazzinia
Posts: 103
Joined: Thu Nov 18, 2010 1:14 pm
Location: Italy

Re: IRIX 6.5.15m and upgrading

Unread postby mazzinia » Mon May 29, 2017 3:00 pm

in theory those 3 steps were done

gui to initialize and put a label
script formatted and copied the header ( sash and symmon, in my case )

I checked the headers of the 2, and were identical

the only step I think I forgot to do, was to check the source partitioning, and to repartition the target
:O2: :Fuel: HP c8000 Digital PWS 500au (x2) , IBM 9402-P03

mazzinia
Posts: 103
Joined: Thu Nov 18, 2010 1:14 pm
Location: Italy

Re: IRIX 6.5.15m and upgrading

Unread postby mazzinia » Tue May 30, 2017 6:12 am

mmmm, indeed the 2 partitions are not identical

sgi115 2# prtvtoc
Printing label for root disk

* /dev/root (bootfile "/unix")
* 512 bytes/sector
* Unallocated space:
* Start Size
* 35546876 296794
*
Partition Type Fs Start: sec Size: sec Mount Directory
0 xfs yes 8392704 27154172
1 raw 4096 8388608
8 volhdr 0 4096
10 volume 0 35843670

sgi115 3# prtvtoc /dev/rdsk/dks0d9vh
* /dev/rdsk/dks0d9vh (bootfile "/unix")
* 512 bytes/sector
Partition Type Fs Start: sec Size: sec Mount Directory
7 xfs yes 4096 71128863
8 volhdr 0 4096
10 volume 0 71132959

sgi115 4#
:O2: :Fuel: HP c8000 Digital PWS 500au (x2) , IBM 9402-P03


Return to “IRIX and Software”

Who is online

Users browsing this forum: No registered users and 1 guest