[rescue] SunPCI

Bruce Pullig rescue at sunhelp.org
Mon Nov 19 10:46:36 CST 2001


I wrote the following scripts to allow booting Win2K or WinNT on my Ultra 10:

#!/bin/sh
# boot_win2k
SUNPCI_DIR=/home/bpullig/pc
pgrep sunpcbinary
         if [ $? = "0" ]; then
                 echo "You must first exit SunPCi"
                 exit 1
         fi
         if [ -f $SUNPCI_DIR/SunPC.ini.win2k ]; then
                 mv $SUNPCI_DIR/SunPC.ini $SUNPCI_DIR/SunPC.ini.nt
                 mv $SUNPCI_DIR/SunPC.ini.win2k $SUNPCI_DIR/SunPC.ini
                 $HOME/rc.sunpci
         else
                 echo "Already booting Windows 2000"
                 $HOME/rc.sunpci
         fi


#!/bin/sh
#boot_nt
SUNPCI_DIR=/home/bpullig/pc
pgrep sunpcbinary
         if [ $? = "0" ]; then
                 echo "You must first exit SunPCi"
                 exit 1
         fi
         if [ -f $SUNPCI_DIR/SunPC.ini.nt ]; then
                 mv $SUNPCI_DIR/SunPC.ini $SUNPCI_DIR/SunPC.ini.win2k
                 mv $SUNPCI_DIR/SunPC.ini.nt $SUNPCI_DIR/SunPC.ini
                 $HOME/rc.sunpci
         else
                 echo "Already booting Windows NT"
                 $HOME/rc.sunpci
         fi


leo:bpullig> more SunPC.ini.win2k
[UI]
Screen size=640 480
[Drives]
A drive=/dev/rdiskette
CD=/vol/dev/aliases/cdrom0
C drive=/home/bpullig/pc/C.diskimage.win2k
[Disk32]
Enabled=No


leo:bpullig> more SunPC.ini.nt
[UI]
Screen size=640 480
[Drives]
A drive=/dev/rdiskette
CD=/vol/dev/aliases/cdrom0
D drive=/home/bpullig/pc/D.diskimage.nt
C drive=/home/bpullig/pc/C.diskimage.nt
[Disk32]
Enabled=No

#!/bin/tcsh
#rc.sunpci
#The following uses the secondary HME adapter so that the PC & The Ultra 10 
can talk over #Ethernet.  Also must set local-mac-address? to true in NVRAM.
setenv NVL_INTERFACE hme1
# Prevents full population of disks until the space is needed.
setenv DONT_POPULATE_DISKS
/opt/SUNWspci/bin/sunpci &

At 10:39 PM 11/16/2001, you wrote:
>. Also, does the SunPCI software let you
>choose which disk image to boot up? I'd like to have several
>installs of Windows for testing possible virusized stuff and things
>like that. I'm interested in one if the price is right(<$75).

-- 
* * * * * * * * * * * * * * * * * * * * *
   Bruce Pullig
   Senior Systems Administrator
   Schlumberger Oil & Gas Information Solutions
   Data Management Center
   5444 Westheimer, Suite 800, Houston, TX 77056
   Phone: 713.350.4217  Fax: 713.350.4102
   bpullig at slb.com
* * * * * * * * * * * * * * * * * * * * *




More information about the rescue mailing list