BigAdmin System Administration Portal
XPerts

BigAdmin XPerts

XPert Transcript: Solaris Install
James Falkner - Sun Microsystems, Inc.

XPerts Home
Last Updated February 2002
 
 
Page 3 (101-123 of 123 results) Pages:  Previous « | 1 - 2 - 3
 
  1. To which package does 'bzcat' belong?
  2. After typing boot net - install, I get the message "krtld: load_exec: fail to expand cpu/$CPU".
  3. ....Is there a way to update the CD image on the host "hard drive" to include the recommended patches?....
  4. How do I install the Solaris Intel version on an existing Windows 2000 machine?
  5. How can I get the hostname I wanted instead of "unknown" for a Sun machine with Solaris 8 just installed?
  6. In...CDE...how can I launch...application that...automatically logs the user off?
  7. Can I install Solaris on my PDA?
  8. How can I load the en_EU locale on a Solaris 8 Netra1125?
  9. In regards to JumpStart, where are the sysidcfg keywords and their explanations annotated?
  10. Can a Jumpstart install client use DHCP to obtain an initial IP address?....
  11. Can I create a Solaris Flash archive from a system running DiskSuite root mirrors and then restore the system using JumpStart?
  12. ...I selected OpenWindows as my desktop. How do I switch back to CDE?
  13. ...I get the message, "This hardware platform is not supported by this release of Solaris." ....
  14. ...which package from the Solaris Software CDs includes files such as sys/isa_defs.h....
  15. ...why can't I get the CDE desktop?
  16. I have two Netra T1 AC200 systems running Norton Antivirus....Is the fsck compiled into the kernel?
  17. ....What do I need to do to use the router as a DHCP server and at the same time be able to be online on the Solaris machines?
  18. ....How can I "clone" the disks from the old server to the new server?
  19. ....After the installation....I click on reboot and the screen goes blank.
  20. ....Can I move these directories to their own file systems and increase the size of / or do I need to re-install?
  21. I want to install my system so that I can turn-off and turn-on the hardware using the power supply switch.....
  22. I've been testing Live upgrade 2.0...The problem is that the documents...are clear that you must apply the patches first and then perform the upgrade....
  23. While performing a hands-off JumpStart installation, I want to remove the Perl packages that are outdated by version....

Q: To which package does 'bzcat' belong? When I tried to install the package by using "pkgadd", it reported to me that it "cannot find required executable /usr/bin/bzcat." I believe I should install 'bzcat' first. I am using the Solaris 8 Intel version.

A: The SUNWbzip package contains the bzip utilities.

Back to top


Q: After typing boot net - install, I get the message "krtld: load_exec: fail to expand cpu/$CPU".

I'm peforming a JumpStart install in the Solaris 8 environment. I cannot find any reference to this on the Sun Site, can you help?

A: This error message typically means that the kernel does not recognize the hardware that you are attempting to boot.

It appears that you have newer hardware, but are trying to boot an older version of the operating environment. Are you using the latest Solaris 8 2/02 version? If not, you must use a revision of the operating environment that supports your hardware.

Back to top


Q: I have a Sparc system that is running the Solaris 7 11/99 version. I'm using a JumpStart installation to add Solaris Recommended patches, ./install_cluster.

Is there a way to update the CD image on the host "hard drive" to include the recommended patches? Or, is there a way to run ./install_cluster on the client in a finish script? I would like it to be as fast and as automated as possible.

A: You can put the patches in the Solaris_2.7/Patches directory and they will automatically be installed during a JumpStart installation.

Back to top


Q: How do I install the Solaris Intel version on an existing Windows 2000 machine? I plan to add a second hard disk in it for Solaris. Can I use windows dual boot?

A: Yes, you can. Make sure you install Solaris to the other disk when you are installing. Also, you may have to re-partition your disk if your Windows partition takes up the entire disk. To repartition your disks, you can use something like partition magic found at http://www.powerquest.com/partitionmagic/. I know that it is not free, but it's the best out there to re-partition without losing data.

Back to top


Q: How can I get the hostname I wanted instead of "unknown" for a Sun machine with Solaris 8 just installed? I had hostname defined in hostname.hme or hostname.le0 and hosts. I also added loghost after hostname in hosts. Machines are defined as DHCP and an SMC cable modem router dynamically assigns an IP address to them. After installation, the next reboot set all the hostnames to unknown in /etc/hosts, hostname.* and /etc/net/tic*/hosts. How can I have the right hostname and use NAT to connect out?

A: When using DHCP, your machine gets its hostname from the DHCP server using the "/sbin/dhcpinfo Hostname" invocation. You must set up your DHCP server to provide hostnames. However, most cable modem routers, such as like the Linksys models, do not provide Hostnames, so it defaults to "unknown".

You can override this by running uname -S <hostname> in a startup script, but this is not really a good solution since your hostname will not be known outside of the machine and will not make sense to any applications that might receive your hostname.

Back to top


Q: In the CDE desktop environment, how can I launch a GUI application that upon login and upon exit or closing of the application automatically logs the user off?

A: One solution is to put a script in /etc/dt/config/Xession.d that executes the application and then exits with a non-zero value. Run these commands only to launch an xterm and immediately exit back to the login screen when the xterm is closed or killed:

# mkdir -p /etc/dt/config/Xsession.d
# cat /etc/dt/config/Xsession.d/0001.buhbye <<EOF
#!/bin/sh
/usr/openwin/bin/xterm
exit 1
EOF
# chmod a+x /etc/dt/config/Xsession.d/0001.buhbye

Back to top


Q: Can I install Solaris on my PDA?

A: No.

Back to top


Q: How can I load the en_EU locale on a Solaris 8 Netra1125?

A: The en_EU locale is not supported on Solaris, therefore there are no packages that contain en_EU locale support.

Back to top


Q: In regards to JumpStart, where are the sysidcfg keywords and their explanations annotated?

A: You will find the keywords for use in the sysidcfg file in the Solaris 9 Installation Guide, Chapter 7. You will find other keywords associated with a JumpStart installation in the Solaris 9 Installation Guide, Chapter 28.

Back to top


Q: Can a Jumpstart install client use DHCP to obtain an initial IP address? How would I configure this on the JumpStart server?

A: You will find DHCP configuration information in the System Administration Guide: IP Services.

Back to top


Q: Can I create a Solaris Flash archive from a system running DiskSuite root mirrors and then restore the system using JumpStart?

A: No, you cannot. When you create a Solaris Flash archive, it includes files from the various file systems, but does not include things like SDS databases or Veritas private regions. You must configure these types of devices after the Solaris Flash archive has been installed, for example from a JumpStart finish script.

Back to top


Q: I finished installing Solaris 8, but I selected OpenWindows as my desktop. How do I switch back to CDE?

A: In the CDE login window, select "CDE" as your login type after you type in your username and password but before you click "login".

Back to top


Q: I currently have a SPARCstation 10 with 192MB RAM, GX+ video, Boot PROM 2.10, and a 36mhz processor. I was running a Solaris 7 server without any problems. When I upgraded the processor to a 370-1388 (Dual ROSS 40mhz cpu board), it now comes up as a SPARCSTATION 10MP and I get the message, "This hardware platform is not supported by this release of Solaris." I tried to install a 2.6 Solaris server and get the same message.

Will a 2.25 PROM for SS10 resolve this issue?

A: Yes, that should solve the problem.

Back to top


Q: I'm trying to compile some things on an Ultra 5 running Solaris 8. I did a core installation. I seem to be missing some C libraries needed to perform the compiles. I'd like to know which package from the Solaris Software CDs includes files such as sys/isa_defs.h, sys/feature_tests.h, sys/machtypes.h, and sys/int_types.h. I've already added SUNWbtool, but that doesn't appear to have the libraries I need.

A: If you know exactly which files you need, to find out which package contains a particular file, go to the .../Solaris_8/Product directory, then type:

grep  */pkgmap
Also, a system installed with the Core metacluster does not contain the required files for doing software development. Use the SUNWCprog metacluster that is also known as the Developer metacluster.

Back to top


Q: I have installed the Solaris 8 Intel version. The installation went well. After booting, the system prompted me for a login and password. After I type the password, the CDE desktop appears for one second then disappears. After 3 minutes, I see a window at the top right that I can use to browse the files. I can start the terminal from there and Admintool also works. But, why can't I get the CDE desktop?

A: It seems that the OpenWindows desktop is appearing. To use the CDE desktop, you must select the "CDE" desktop from the login screen.

Back to top


Q: I have two Netra T1 AC200 systems running Norton Antivirus. I've been going nuts trying to use the watchdog. I can set the timer to do the reboot, but the system comes back with, "enter root password or press control D...."

I'd like to just say, "aw, what the heck and do an fsck -y." I found in /sbin/rc.S where the UFS file systems are checked and tried adding a -y there. No dice, it still reboots to the password prompt and it is driving me nuts.

Is the fsck compiled into the kernel?

A: No, fsck is not built into the kernel.

Configure Norton AntiVirus to do a "clean" reboot, instead of shutting down the machine. Norton AntiVirus needs to synchronize the file systems to prevent them from appearing to be corrupt during the subsequent reboot.

Back to top


Q: I have a home network with 2 SPARC machines and a couple of Windows PCs. I am connected to the Internet using a DSL router that acts as the DHCP server. The Solaris 8 machines obtain IP addresses with no problem, but I cannot surf the web. When I promote one of the Windows machines as a domain controller DNS server and make the router just a gateway then I can connect to the Internet. What do I need to do to use the router as a DHCP server and at the same time be able to be online on the Solaris machines?

A: I have a similar setup at home. Solaris 8 and previous versions have problems configuring themselves as DHCP clients from home DSL/Cable routers, such as the Linksys line of routers. The problem is that they do not correctly deal with the fact that the routers do not supply Hostnames, but only supply IP addresses and gateway addresses. The result is that the machine gets no DNS entries in /etc/resolv.conf during boot.

To solve the problem, you can upgrade to Solaris 9, or you can manually put in the DNS addresses into /etc/resolv.conf using an rc2.d script. The Windows machine most likely supplies hostnames, making Solaris work much better.

Back to top


Q: I have a SF280R installed with the Solaris 8 10/01 release. I am renting this box and I am waiting for the final purchased server. It is also a SF280R. I need to transfer all of the information from the rented server to the purchased server. How can I "clone" the disks from the old server to the new server?

A: I would recommend using ufsdump and ufsrestore. They are free with Solaris and provide true backup and restore capabilities.

Back to top


Q: I have had this problem with a few of the Ultra 5's on which I have installed Solaris 8. For some reason, the machine does not reboot. After the installation, the machine prompts me to reboot. I click on reboot and the screen goes blank. I have to manually restart the machine using the power on/off switch. Also, after some idle time, the screen goes blank and becomes unresponsive. I have to reboot to get any display.

A: Install the latest Solaris 8 update, Solaris 8 2/02. There was a bug in previous versions that prevented machines from auto-rebooting after the installation.

Back to top


Q: I have a system that was installed with /usr and /var as part of the / file system. Can I move these directories to their own file systems and increase the size of / or do I need to re-install?

A: Use Live Upgrade to create an alternate boot environment with your desired slice configuration. Then, copy the active boot environment onto the new one, activate it, and reboot. For more information, refer to Solaris Live Upgrade 2.0.

Back to top


Q: I want to install my system so that I can turn-off and turn-on the hardware using the power supply switch. What are my options? I do not want to wait for a long fsck after I turn off the machine.

A: If you want to avoid a long fsck after reboot, and you are using ufs for all of your file systems, set the "logging" option on all of your file systems. For example, I have a metadevice which is set to logging by having this in my vfstab:

/dev/md/dsk/d0  /dev/md/rdsk/d0 /export ufs     2       yes     logging

Back to top


Q: I've been testing Live upgrade 2.0 and so far I love it. However I would really like to use it to do a live upgrade to the Solaris 8 02/02 release from a machine running the Solaris 8 10/01 release. Then, apply the current patch cluster to the upgraded boot environment and then activate the upgraded boot environment. I perform these Solaris 8 to Solaris 8 upgrades every 3 to 6 months. The problem is that the documents and the software are very clear that you must apply the patches first and then perform the upgrade. Will you ever say that it will work if you're at patch x and above?

A: The patches that you must apply to the "old" system are patches required to make Live Upgrade work. If you do not install those patches first, then Live Upgrade will fail to work properly in some cases. Live Upgrade relies on other components of the system that might have flaws that need correction before the software will work properly.

Back to top


Q: While performing a hands-off JumpStart installation, I want to remove the Perl packages that are outdated by version. Even if I configure "delete" lines for the packages SUNWpl5m, SUNWpl5p, SUNWpl5u an SUNWapct in the profile file, Perl is still installed. I learned that this is because Perl is part of the core distribution. Is there any way to never install Perl when doing a JumpStart installation without having to use pkgrm in a finish script?

A: Unfortunately, no. Some core components of Solaris rely on the existance of Perl, so I recommend that you do not remove them from the system. In Solaris 9, we have made it possible to remove the SUNWpl5m and SUNWpl5p packages, however the SUNWpl5u and SUNWpl5v packages remain un-removable when you perform a JumpStart installation. If you really want to delete those packages, you will have to do so in a postinstall script. Be advised that in Solaris 9 there are packages in Solaris which rely on Perl, namely:

IPLTadmin Administration Server
IPLTcons Console Client Base package
IPLTdsr Directory Server
IPLTdsu Directory Server
IPLTpldap PerLDAP
SUNWapchu The Apache HTTP server program (usr components)
SUNWapct Appcert utility for application ABI stability checking
SUNWesu additional UNIX system utilities, including awk, bc, cal, compress, diff, dos2unix, last, rup, sort, spell, sum, uniq, and uuencode
SUNWsndmu sendmail user
SUNWtexi GNU texinfo (texinfo)
As a result, you must remove these packages and any packages that rely on them.

Back to top


BigAdmin