Exforsys.com
 
Home Tech Articles UNIX
 

Installing Solaris 8 x86Installing Solaris 8 x86

 

Solaris x86 can picky when it comes to hardware. It may not work on hardware that's not listed in the HCL (Hardware Compatibility List). My older Pentium system's motherboard was OK, and it found the hard-drive I had connected to the primary IDE channel (on the motherboard) but it wouldn't recognize the CD-ROM drive even though it was connected to the secondary IDE channel on the motherboard. (I had better luck on a system where the CD-ROM drive was connected as the slave on the primary IDE channel. I prefer to keep the CD-ROM drive off the hard-drive channel but if all else fails you can try this to see if it works.) You can view the HCL at:

http://solaris-x86.org/hcl or http://soldc.sun.com/support/drivers/hcl/8/1000/BOOK.htm

That said, I think the most important components for compatibility are video cards and NICs. If those are on the HCL you might be OK even if the system itself isn't listed.

Minimum system requirements are as follows:

§ 486 CPU (PII is better - see below)

§ 64 meg of RAM (128 is better and required for Oracle)

§ 1 gig hard-drive (2 gig is better)

§ A mouse (3-button is better)

§ You'll also need a supported CD-ROM drive for the install

§ If you're planning on putting your Solaris box on a network, do yourself a BIG favor and use one of the supported PCI NICs

Note: The "IA" you often see in the HCL stands for "Intel Architecture" (i.e. a PC).

You'd be hard-pressed to find a 486 box (or even a Pentium box) that has a BIOS that supports booting off a CD-ROM. I recently purchased a clone PII box with 64 meg, 4-gig hard-drive, and CD drive on eBay for $103. At those prices you can pick up a couple PII boxes and a KVM switch (Keyboard/Video/Mouse) so you don't need to buy keyboards, monitors, and mice for each of them.

The Solaris x86 media package contains:

§ a "Configuration Assistant" boot floppy

§ an "Installation" CD

§ two "Software" (OS) CDs

Don't even take the first two items out of the package. The installation documentation says to boot off of the floppy. However, there are several well-known problems with using either the floppy or Installation CD. You are better off having a system with a BIOS that will allow you to boot off of a CD-ROM, and using it to boot off of "Software" CD #1.

Note: If you intend to share your hard disk between Solaris and another operating system, it is recommended to create Solaris partition prior installation. For details refer to http://solaris-x86.org/multiboot.

Note: You may have to change your BIOS settings to boot off the CD-ROM drive before booting off the hard-drive.

Here are the steps to install Solaris for x86:

1. The first series of screens in the install are character-based. As indicated, just use the F2 key to proceed through them. One common mistake made during this process is when a screen appears asking you to:

2.                          
3.                           Select one of the identified devices to boot the Solaris kernel

When it asks you to select the boot device many people think it's asking for the device you will boot the operating system from after the installation, i.e. the hard-drive. However, selecting the hard-drive results in a "VTOC" error. What it is really asking you is from what device are you going to boot the kernel from during the installation. Since you're are installing the OS from the CD, you'll want to select your CD-ROM drive (by highlighting it and pressing the space bar) in response to this prompt.

4. You will then be prompted to select the type of installation. Select number 1 - Solaris Interactive.

5. When prompted to select a language for installation, select 0 - English, or another language more comfortable for you.

6. However, when prompted to select a locale, don't select 0 - English. Rather, press Enter to go down the list and select the appropriate locale for the place where you are, eg. 48 for U.S.A.

7. At this point kdmconfig is run to detect hardware to set up the GUI. After a few more F2s the "Current Window System Configuration" screen will list the video, keyboard, and mouse settings, including the model of your monitor next to "Monitor Type:". I've had bad luck with brand-specific monitor settings. You may want to:

§ select "Change Video Device/Monitor" and press F2

§ press F2 again to keep the "video device" (i.e. your video card)

§ in the "Monitor Types" list arrow down to the bottom and select the Super VGA option

§ select your screen size

§ select the appropriate resolution for your screen size

Note: I selected 17" and 1024x768 even though I only had a (decent) 15" monitor and everything was very readable.

8. Note: If your graphics card is not on the list, it is recommended to bypass the kdmconfig at this point, and configure the Xwindows system later, when the system is up and running. You can use drivers provided by XFree86 Video Driver Porting Kit, Xi Graphics or XFree86 (see http://solaris-x86.org/drivers for details).

9. This will return you to the Current Window System Configuration with the "No changes needed" option already selected so you can just continue which will bring up the test screen before the GUI is actually started. You may need to size and center your monitor image at this point.

10. The GUI will start and the "Solaris Install Console" window will appear in the upper-left corner of the screen. You don't need to do anything with this window. It's just there so you can monitor what's going on. You'll be presented with a series of windows asking for information and confirmation clicks.

11. Select No when you are prompted about networking. I've always run into problems trying to set up networking during the install. You'll gain valuable knowledge setting up the networking after the installation anyway.

12. When the "Select Software" window appears, select Entire Distribution plus OEM support if you've got something bigger than a 1-gig drive. If you've only got 1 gig, use the pre-selected Developer System Support option so you can compile any utilities, updates, etc. that you may download in the future.

13. On the next window your hard-drive should be listed in the right "Selected Disks" column so just click on Continue.

Note: If you need to repartition your hard disk, drop some unwanted partitions, or avoid the x86 Boot partition, select the hard disk in the right column and click Fdisk. The table with four rows will be displayed. Each of the rows represents a partition of your hard disk. Known types of partitions are: Solaris, PC DOS (FAT) and x86 Boot. Other partitions will be marked as Unknown. With this simple fdisk tool you may choose partition type and allocate space for it.

14. Next it will ask you if you want to use the Automatic Layout feature to lay out your file system. Click on the Auto Layout button because using it still gives you the ability to modify the layout.

A list of choices will be displayed with only the top "root" selection / and "swap" selected. If you're setting up a system to play around with, do yourself a favor and use these default selections. By putting everything under a single root partition you run into less problems when trying to install software (i.e. you don't have to worry about which partition has enough free space, as when you find Oracle 8i needs almost a gig of free space), you only have to backup/restore one partition, and it simply makes for easier disk administration.

The down-side of placing everything under a single root partition is that it offers fewer options for disk security and any one user or daemon could fill up the entire disk.

If you're setting up a system to use as an Internet server or a file server on a network, selecting all of the items in the list will allow you to secure each partition separately. This will offer you to most options for using groups and permissions to really restrict which partitions network users and Internet-related daemons/visitors can access. An example of how I sized all the different partitions on a 4-gig hard-drive, as well as several considerations associated with them, is given below. However, I wouldn't recommend this level of partitioning if you're new to UNIX.

Note: Just because you don't select a given partition don't think you won't have that directory available to you. For example, if you don't select the /usr partition selection, you will still have a /usr directory. It will just be a directory on the "root" / partition.

In Solaris-eze, partitions are known as "slices". Even though you may slice up your hard-drive, to the DOS FDISK program, it all appears as one large non-DOS partition. If you're not happy with the file system layout you end up with, you can always boot off a DOS floppy and use the FDISK program to delete the non-DOS partition and start the installation from scratch (it's good practice).

Once you've decided on a partitioning scheme and made your selections, click on Continue.

15. A list of the "slices" (partitions) will be displayed along with their sizes. Even if you chose the default layout you'll notice that there's an /export/home slice. According to the book "Solaris Solutions for System Administrators" (Stocker & Marks, Wiley Publishing) the /export/home is the old way workstations used to store user files locally. This is why the majority of the free disk space is allocated here. This will cause problems if you want to play around with the server aspects of Solaris. You'll need to make some changes to the sizes in the default layout. Click on the Customize button.

16. If you're not setting up a network file server you don't need a lot of space for the /export/home slice. Decrease it down to about 250 MB.

If you chose the default scheme with only the top "root" / and "swap" selections selected, increase the "root" / partition by the same amount that you decreased /export/home by.

If you chose to slice up the hard-drive you can use the following to help determine what sizes you should use for all the different partitions:

§ /opt should get the lions share of the space. The contents of the "Companion", and possibly the "Documentation", CDs are copied here. About 50% of the space you freed up by decreasing the /export/home should be reallocated to this slice.

§ The remainder of the space should be split up between / (file system root) and /var (about 25% each). That's because the mailboxes, logs, and other "volatile" files are stored in various locations under the /var slice. (If your system may end up as a mail server you'll want to increase percentage allocated to the /var slice.) The extra space in the root slice will give you the ability to add new directories and files immediately off of it.

§ If you chose one of the Entire Distribution selections in the "Select Software" window, the /usr and /usr/openwin slices together should add up to at least 750 meg or you'll get an error. (If you do not select /usr/openwin the /usr slice by itself must be at least 750 meg.)

As you can see in the Customized column below, with my 4-gig drive I transferred 1.4 GB to /opt and about 650 MB to each / and /var which left 250 MB for the /export/home slice.

The Before column below was displayed with the sizes given in Mbytes:

Before (Default)

Customized

/

c0d0s0

43

/

c0d0s0

700

/usr/openwin

c0d0s1

341

/usr/openwin

c0d0s1

341

overlap

c0d0s2

4102

overlap

c0d0s2

4102

/var

c0d0s3

30

/var

c0d0s3

648

swap

c0d0s4

147

swap

c0d0s4

147

/opt

c0d0s5

25

/opt

c0d0s5

1400

/usr

c0d0s6

535

/usr

c0d0s6

535

/export/home

c0d0s7

2977

/export/home

c0d0s7

250

By pressing an arrow or Tab key to go to the next field the "Allocated" figure will be updated so you can see if you're using all the hard-drive space that's available to you.

17. When you've got your values entered click on OK and then on Continue.





 

 

Comments



Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    

Sponsored Links

 

Subscribe via RSS


Get Daily Updates via Subscribe to Exforsys Free Training via email


Get Latest Free Training Updates delivered directly to your Inbox...

Enter your email address:


 

Subscribe to Exforsys Free Training via RSS
 

 
Partners -  Privacy and Legal Policy -  Site News -  Contact   Sitemap  

Copyright © 2000 - 2009 exforsys.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape