BigAdmin System Administration Portal
Feature Article
Print-friendly VersionPrint-friendly Version

Creating a Multi-Boot Disk for Machines With AMD Opteron Processors


Step-by-Step Installation Procedure: Solaris Operating System (x86 Platform Edition) and Red Hat Enterprise Linux WS

By Craig Winter

Installing Solaris 10 OS on x86 Platforms

The first operating system to install is the Solaris 10 OS on x86 platforms.

Place the first CD (number one of three) in the player and reboot the system. The machine will boot from the CD and display the first screen. Proceed with the installation as follows:

Solaris Device Configuration Assistant:     F2_Continue

Bus Enumeration:                            Enter_Continue

Identified Devices:                         F2_Continue

Boot Solaris:                               [X] CD
                                            F2_Continue

Solaris Interactive:                        3 Solaris Interactive
                                              Text-only Installer
                                            Enter

Select a Language:                          0. English
                                            Enter

The Solaris Installation Program:           F2_Continue

kdmconfig:

  Introduction:                             F2_Continue

  View and Edit Window System
    Configuration:                          Configure the Monitor and
                                            Graphics Device for your
                                            Machine
                                            F2_Continue

  Window System Configuration Test:         F2_Continue

Is this display okay?:                      Test the Display
                                            Click on "Yes"

Identify This System:                       F2_Continue

Network Connectivity:                       Site Dependent
                                            F2_Continue
..
..
..

Time Zone:                                  [X] <Your Continent>
                                            F2_Continue

Time Zone:                                  [X] <Your Country>
                                            F2_Continue

Date and Time:                              Verify the date and time
                                            F2_Continue

Confirm Information:                        F2_Continue

Root Password:                              Your discretion
                                            F2_Continue

Solaris Interactive Installation:           F2_Standard

Eject a CD/DVD Automatically?:              [X] Automatically eject CD/DVD
                                            F2_Continue

Reboot After Installation:                  [X] Auto Reboot
                                            F2_Continue

Information:                                F2_OK

Initializing...

License:                                    F2_Accept_License

Select Geographic Regions:                  [/] North America
                                              [X] U.S.A. (en_US.ISO8859-1)
                                            F2_Continue

Select System Locale:                       [X] U.S.A. (en_US.ISO8859-1)
                                            F2_Continue

Select Products:                             Your Discretion
                                            F2_Continue

Additional Products:                        [X] None
                                            F2_Continue

Select Software:                            [X] Entire Distribution plus
                                                OEM Support
                                            F2_Continue

Select Disks:                               Enter

No Solaris fdisk Partition:                 F2_OK

Create Solaris fdisk Partition:             [X] Manually create fdisk
                                                partitions
                                            F2_OK

Customize fdisk Partitions for Disk: c0d0:  F3_Delete

Delete fdisk Partition?                     F2_OK

Note: You may need to delete all of the existing partitions if the disk has been previously used. Arrow down to the partition number and use F3 and F2 to delete the partition.

Customize fdisk Partitions for Disk: c0d0:  F4_Create

fdisk Partition Size:                Partition type: SOLARIS
                                Partition size (MB):   36864
                               Partition size (Cyl):   18725
                                            F2_OK

The table now shows only one SOLARIS partition and should look something like this:

Partition   Type                        Size    Start Cylinder
================================================================
1           SOLARIS                      36866                 1
2           <unused>                         0                 0
3           <unused>                         0                 0
4           <unused>                         0                 0
        ========================================================
                      Capacity:     78531 MB
                     Allocated:     36866 MB
                Rounding Error:         1 MB
                          Free:     41664 MB

Customize fdisk Partitions for Disk: c0d0:  F2_OK

Select Disks:                               F2_Continue

Automatically Layout File Systems?          F2_Auto_Layout

Automatically Layout File Systems:          F2_Continue

File System and Disk Layout:                F2_Continue or F4_Customize

Note: Space can be allocated in the same manner as during a standard Solaris OS installation on the SPARC platform.

Mount Remote File Systems?                  Your Discretion
                                            F2_Continue

Profile:                                    F2_Begin_Installation

Warning:                                    F2_OK

Solaris Initial Install...

Note: After the installation of the core Solaris software, the machine will automatically reboot. The first CD is still in the player, so it will begin the installation process again. Follow the steps below to make the machine boot from the hard disk; then continue installing the Solaris OS.

Solaris Device Configuration Assistant:     F2_Continue

Bus Enumeration:                            Enter_Continue

Identified Devices:                         F2_Continue

Boot Solaris:                               F4_Boot Tasks

Boot Tasks:                                 [X] View/Edit Autoboot Settings
                                            F2_Continue

View/Edit Autoboot Settings:                [X] Set Default Boot Device
                                            F2_Continue

Set Default Boot Device:                    [X] Disk
                                            F2_Continue

View/Edit Autoboot Settings:                [X] Accept Settings
                                            F2_Continue

Boot Tasks:                                 F3_Back

Boot Solaris:                               [X] Disk
                                            F2_Continue

Specify Media:                              (*) CD/DVD
                                            Next >

Insert Disk:                                2 of 3
                                            Close the CD tray
                                            OK >

Ready to Install:                           Install Now >

Installing...

Specify Media:                              (*) CD/DVD
                                            Next >

Insert Disk:                                3 of 3
                                            Close the CD tray
                                            OK >

Ready to Install:                           Install Now >

Installing...

Reboot:                                     Reboot Now

Installing Red Hat 3.1 Enterprise 64-bit

The second operating system to install is Red Hat 3.1 Enterprise 64-bit.

Place disk one in the DVD/CD player and reboot the system.

Enter

Note: A prompt may appear asking to check the CD. Do this at your discretion.

Welcome:                      Next

Language Selection:           English
                              Next

Keyboard:                     US English
                              Next

Mouse Configuration:          Confirm existing mouse
                              Next

Disk Partitioning Setup:      (*) Manually Partition with Disk Druid
                              Next

Warning:                      Ignore

Format as Swap?:              No

Partitioning:                 New
                              Mount Point: /
                              File System Type: ext3
                              Size (MB): 36864
                              (*) Fixed size
                              [X] Force to be a primary partition
                              OK

                              New
                              File System Type: swap
                              Size (MB): 4797 (rest of free space)
                              (*) Fixed size
                              Force to be a primary partition
                              OK

Now the table looks something like the following:


Device     Mount     Type        Format   Size   Start     End
           Point

Free                 Free space              2       1       1
/dev/hda1            Linux swap          36865       1    4700
Free                 Free space              7    4701    4701
/dev/hda2  /         ext3          F     36860    4702    9400
/dev/hda3            swap          F      4801    9400   10011
Free                 Free space              5   10012   10012

Note: The Start and End sizes shown here may differ, depending on the brand of disk drive that is used. Some show the sizes in kilobytes, others in cylinders, and so on. Don't worry about the Free space entries.

Partitioning:                 Next

Format Warnings:              Format

Boot Loader Configuration:    The GRUB boot loader will be
                              installed on /dev/hda
                              Next

Network Configuration:        Site Dependent
                              Next

Firewall:                     Site Dependent
                              Next

Additional Language Support:  English (USA)
                              Next

Time Zone Selection:          Select your time zone
                              Next

Set Root Password:            Your discretion
                              Next

Package Defaults:             (*) Customize the set of packages to be
                                  installed
                              Next

Package Group Selection:      Everything
                              Next

About to Install:             Next

Note: Both of the Red Hat Linux partitions (/ and Swap) will be formatted at this time, but not the partition reserved for the Solaris OS. When the installation has finished, the machine will reboot itself from the hard disk.

Installing Packages

Change CDRom:                 2, 3, 4, 1

Graphical Interface
   (X) Configuration:         Select correct Video card RAM
                              Next

Monitor Configuration:        Select monitor type
                              Next

Customize Graphical
   Configuration:             Color Depth:  <device dependent>

                              Screen Resolution:  <user preference>
                              Next

Congratulations:              Exit

The system will reboot and come up as Red Hat 3.1 Enterprise. There will be some more screens that deal with license terms and Red Hat registration. Respond as you prefer.

Log in to Red Hat as root.

mv /boot/grub/grub.conf /boot/grub/grub.conf-orig
cp /boot/grub/grub.conf-orig /boot/grub/grub.conf
vi /boot/grub/grub.conf

Add a Solaris OS entry to the bottom of the file so that it looks like the following:

title Red Hat Enterprise Linux WS (2.4.21-9.EL)
	root (hd0,1)
	kernel /boot/vmlinux-2.4.21-9.EL ro root=LABEL=/ hdc=ide-scsi
	initrd /boot/initrd-2.4.21-9.EL.img
title 32-bit Solaris 10 x86
	root (hd0,0)
	makeactive
	chainloader +1

Reboot.

As the machine reboots, it will display the Red Hat version of the GRUB Boot Loader. Use the arrow keys to select an operating system to boot. If you do not change the selection, the first entry (in this case Red Hat) will be loaded.


About the Author

Craig Winter is a Staff Engineer for the HPTC Group in Market Development Engineering at Sun Microsystems, Inc.


Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License.


BigAdmin
  
 
 
 
Would you recommend this Sun site to a friend or colleague?
Contact About Sun News & Events Employment Site Map Privacy Terms of Use Trademarks Copyright Sun Microsystems, Inc.