Operating System - HP-UX
1753435 Members
4610 Online
108794 Solutions
New Discussion юеВ

Re: Making a custom INSTALLFS for ignite recovery tapes?

 
SOLVED
Go to solution
Philip Kime
Regular Advisor

Making a custom INSTALLFS for ignite recovery tapes?

I am using non-HP hardware (Stratus DNCP machines) that require some special bits and pieces in the INSTALLFS RAM filesystem for tape recovery boots. Is there any documentation for making the INSTALLFS file? I know about instl_adm for tweaking options etc but I actually want to be able to create the filesystem image, not just play with the 8Kb LIF bit on the front of it ...
3 REPLIES 3
Dietmar Konermann
Honored Contributor
Solution

Re: Making a custom INSTALLFS for ignite recovery tapes?

Actually the INSTALLFS is a raw image of a HFS file system.

You may simply create an lvol of the required size and dd the INSTALLFS contents to it. Then mount the lvol, modify it and dd it back to a new INSTALLFS file.

Example:

# ll /opt/ignite/boot/INSTALLFS
-r--r--r-- 1 bin bin 9175040 May 5 11:42 /opt/ignite/boot/INSTALLFS

So we create a 12 MB volume for this:

# lvcreate -L 12 -n installfs vg00
Logical volume "/dev/vg00/installfs" has been successfully created with
character device "/dev/vg00/rinstallfs".

# dd if=/opt/ignite/boot/INSTALLFS of=/dev/vg00/rinstallfs bs=8k
1120+0 records in
1120+0 records out

# mkdir /installfs && mount /dev/vg00/installfs /installfs

...now do what you want... then:

# umount /installfs

# dd of=/opt/ignite/boot/INSTALLFS.new if=/dev/vg00/rinstallfs bs=8k count=1120
1120+0 records in
1120+0 records out

And you're done.

Best regards...
Dietmar.
"Logic is the beginning of wisdom; not the end." -- Spock (Star Trek VI: The Undiscovered Country)
Philip Kime
Regular Advisor

Re: Making a custom INSTALLFS for ignite recovery tapes?

Perfect answer, thanks. I thought it must be a raw dd image or something ...