Well, here's what I've done so far:

Get a copy of the install DVD onto a read-write disk:

1.  Put OpenSolaris DVD in drive.
2.  cd to /media
3.  run "tar -cf /root/os.tar SOL_11_X86" (I create a /root directory for 
root's home directory, and I'm creating a tar file because untarring it again 
is much faster than copying it from the DVD if I mess something up.)
4.  cd to /root
5.  run "tar -xf os.tar" to extract the DVD files into the current directory

Now, add the ips driver to the boot image from the install DVD.  First, unzip 
the miniroot:

6.  cd to /root/SOL_11_X86/boot
7.  run 'gunzip -S "" x86.miniroot'

Now, mount the miniroot as a loopback filesystem:

8.  lofiadm -a `pwd`/x86.miniroot
9.  mount /dev/lofi/1 /mnt

Add the ips driver to the miniroot filesystem:

10.  run "cp /kernel/drv/ips /mnt/kernel/drv/. (assuming you're running this on 
a server with SUNWips already loaded)
11.  Add ips entry to /mnt/etc/driver_aliases:  'ips "pci9005,250"' (9005,250 
is the PCI id of a ServeRAID 7K)
12.  Add ips entry to /mnt/etc/driver_classes:  'ips   scsi'
13.  Add ips entry to /mnt/etc/name_to_major:  'ips  219'  (pick any unique 
number)

Unmount the miniroot:

14.  umount /mnt
15.  lofiadm -d /dev/lofi/1

Gzip it back up and rename it to get rid of the ".gz" suffix:

16.  gzip x86.miniroot
17.  mv x86.miniroot.gz x86.miniroot

Go to the root directory of the modified DVD files and make a bootable DVD iso 
image:

18.  cd .. (puts you in /root/SOL_11_X86 in my case)
19. mkisofs -o ../new.iso -b boot/grub/stage2_eltorito -c .catalog 
-no-emul-boot -boot-load-size 4 -boot-info-table -N -l -R -U -allow-multidot 
-no-iso-translate -cache-inodes -joliet-long -d -D -V SOL_11_X86 .

Now, burn to disk:

20.  cdrecord dev=1,0,0 ../new.iso

In theory, it should work, but I haven't had a chance to try it yet.  The last 
time I tried, I missed the ips entry in the name_to_major file.  I got a 
warning when booting the DVD, so it was trying to load the ips driver.

After the boot DVD is finished installing, I'll have to manually add the 
SUNWips package to the new system.  The command will probably be something like 
this, once I mount the NFS file system with the SUNWips package in it, and cd 
to the directory holding the package:

pgkadd -R /a -d . (IIRC, the OpenSolaris installer mounts the system drives 
being installed to under the "/a" directory.)
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to